/*
 * CRELALA Modern 0.2.0 – gently modernised version of the original look (loaded after the parent theme).
 * Rules: same structure, same colours (anthracite + logo red + link gold), same navigation/icons/functions.
 * Every rule is scoped to body.crelala-modern, so the parent theme alone is exactly the baseline.
 * Artwork pictures are never cropped: whole work ("contain") on the surface it sits on – section „Bildstrategie“ (0.6.14).
 */

.crelala-modern {
	--cm-radius: 8px;
	--cm-radius-sm: 6px;
	--cm-shadow: 0 2px 10px rgba(0, 0, 0, 0.26);
	--cm-shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.42);
	--cm-red: #e30613;           /* original button / logo red */
	--cm-red-dark: #c30511;
	--cm-gold: #ffd700;          /* original link gold */
	--cm-card: #323232;          /* card surface (artwork tiles, post cards) – also the free area beside uncropped works */
	--cm-ease: 0.22s ease;
	--cm-ease-out: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
	/* FORMULARE (0.6.28): one look for every form – Fluent Forms (parent forms.css reads these), WooCommerce account, cart, checkout */
	--cm-form-card: #323232;
	--cm-form-line: rgba(255, 255, 255, 0.1);
	--cm-form-pad: 32px 34px;
	--cm-field-bg: #262626;
	--cm-field-bg-hover: #2b2b2b;
	--cm-field-line: rgba(255, 255, 255, 0.22);
	--cm-field-line-hover: rgba(255, 255, 255, 0.4);
	--cm-field-text: #f2f2f2;
	--cm-field-hint: #a6a6a6;
	--cm-field-label: #e6e6e6;
	--cm-field-h: 48px;
	--cm-field-ring: 0 0 0 3px rgba(227, 6, 19, 0.3);
	--cm-field-focus-outline: none;   /* focus = red border + red ring instead of the gold outline */
	--cm-field-label-size: 14px;
	--cm-form-btn-size: 15px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.crelala-modern ::selection { background: var(--cm-red); color: #ffffff; }

/* ---------------------------------------------------------------- typography: same font and sizes, calmer rhythm */
.crelala-modern p,
.crelala-modern li { line-height: 1.65; }
.crelala-modern .ngcontent p,
.crelala-modern .crelala-content p { margin-bottom: 0.9em; }
.crelala-modern h1 { letter-spacing: 0.01em; line-height: 1.3; margin-bottom: 10px; }
.crelala-modern h1::after {                      /* short logo-red accent under page titles */
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-top: 12px;
	border-radius: 2px;
	background: var(--cm-red);
}
.crelala-modern h2 { letter-spacing: 0.01em; line-height: 1.35; color: #f2f2f2; margin-top: 1.4em; }
.crelala-modern h2:first-child { margin-top: 0; }
/* breadcrumbs (0.6.13, design repair D): one quiet style for both forms – the original paragraph (p.sqrbreadcrumbs) and
   core/breadcrumbs. Links light grey (no browser blue/purple, no gold), gold + underline on hover, current page brighter. */
.crelala-modern :is(p.sqrbreadcrumbs, .wp-block-breadcrumbs) { font-size: 14px; line-height: 1.6; color: #b8b8b8; letter-spacing: 0.01em; margin-bottom: 22px; }
.crelala-modern :is(p.sqrbreadcrumbs, .wp-block-breadcrumbs) a,
.crelala-modern :is(p.sqrbreadcrumbs, .wp-block-breadcrumbs) a:visited {
	color: #dadada;
	font-weight: normal;
	text-decoration: none;
	text-underline-offset: 3px;
	transition: color var(--cm-ease);
}
.crelala-modern :is(p.sqrbreadcrumbs, .wp-block-breadcrumbs) a:hover { color: var(--cm-gold); text-decoration: underline; }
.crelala-modern .wp-block-breadcrumbs li:not(:last-child)::after { color: #8f8f8f; opacity: 1; }
.crelala-modern .wp-block-breadcrumbs [aria-current="page"] { color: #f2f2f2; }
.crelala-modern p.sqrbreadcrumbs > a:last-child { color: #f2f2f2; }

/* links: no bold jump on hover (original makes text wider) – underline instead */
.crelala-modern p a,
.crelala-modern .ngcontent a,
.crelala-modern a.nglink { transition: color var(--cm-ease), text-decoration-color var(--cm-ease); text-underline-offset: 3px; }
.crelala-modern p a:hover,
.crelala-modern .ngcontent a:hover,
.crelala-modern a.nglink:hover { font-weight: inherit; text-decoration: underline; color: #ffe033; }
.crelala-modern #contact a:hover,
.crelala-modern #common > div a:hover,
.crelala-modern #common > :where(.wp-block-template-part) > div a:hover,
.crelala-modern #common ul.sqrcommonnav a:hover { font-weight: normal; text-decoration: underline; text-underline-offset: 3px; }

/* visible keyboard focus (helpful for everyone, required for accessibility) */
.crelala-modern a:focus-visible,
.crelala-modern button:focus-visible,
.crelala-modern select:focus-visible,
.crelala-modern input:focus-visible,
.crelala-modern textarea:focus-visible { outline: 3px solid var(--cm-gold); outline-offset: 2px; border-radius: 2px; }

/* ---------------------------------------------------------------- header (0.4.1): no contact bar, flatter logo band
   The contact bar (phone, address, icons) is only not shown – its content stays editable in the CRELALA backend and
   the parent theme alone still prints it. The band with the anniversary logo is about 2/3 of the original 170 px. */
.crelala-modern #contactcontainer { display: none; }
.crelala-modern #logo { padding: 10px 20px 8px; }
.crelala-modern #logo img { max-width: 96px; }

/* ---------------------------------------------------------------- navigation: same bar and entries, red accent, softer menus */
.crelala-modern #navcontainer {
	background: #8c8c8c;
	border-bottom: 3px solid var(--cm-red);       /* brand line, as the red of the logo */
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}
.crelala-modern #nav ul a { transition: background-color var(--cm-ease), color var(--cm-ease), box-shadow var(--cm-ease); }

@keyframes cm-drop {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1024px) {
	/* top level: hover / current page = red underline instead of a colour flash */
	.crelala-modern #nav > ul > li > a { position: relative; }
	.crelala-modern #nav > ul > li > a::after {
		content: "";
		position: absolute;
		left: 14px;
		right: 14px;
		bottom: 8px;
		height: 2px;
		border-radius: 1px;
		background: var(--cm-red);
		transform: scaleX(0);
		transition: transform var(--cm-ease-out);
	}
	.crelala-modern #nav > ul > li.sqrnavmore > a::after { right: 39px; }
	.crelala-modern #nav > ul > li.active > a::after,
	.crelala-modern #nav > ul > li > a:hover::after { transform: scaleX(1); }
	.crelala-modern #nav > ul > li.sqrnavopen > a::after { transform: scaleX(0); }
	.crelala-modern #nav > ul > li.sqrnavopen > a { color: #323232; }   /* open entry on the light menu colour: dark text */

	/* dropdowns: rounded card with depth, gentle slide-in, larger rows.
	   No overflow:hidden here – the third level (e.g. Malerei → Abstrakt/Impressionen …) opens beside the menu
	   and must not be clipped; the rounding sits on the first/last rows instead. */
	.crelala-modern #nav > ul li > ul {
		border-radius: 0 0 var(--cm-radius) var(--cm-radius);
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
		min-width: 240px;
	}
	.crelala-modern #nav > ul li > ul > li:last-child,
	.crelala-modern #nav > ul li > ul > li:last-child > a { border-radius: 0 0 var(--cm-radius) var(--cm-radius); }
	.crelala-modern #nav > ul > li ul li > ul,
	.crelala-modern #nav > ul > li ul li > ul > li:first-child,
	.crelala-modern #nav > ul > li ul li > ul > li:first-child > a { border-radius: var(--cm-radius) var(--cm-radius) 0 0; }
	.crelala-modern #nav > ul > li ul li > ul { border-radius: var(--cm-radius); }
	.crelala-modern #nav > ul > li.sqrnavopen > ul,
	.crelala-modern #nav > ul > li ul li.sqrnavopen > ul { animation: cm-drop 0.22s ease-out; }
	.crelala-modern #nav ul ul li,
	.crelala-modern #nav > ul > li.sqrnavopen { background: #e2e2e2; }
	.crelala-modern #nav ul ul a { padding: 12px 18px; }
	.crelala-modern #nav ul ul li.sqrnavopen > a { background-color: #f2f2f2; box-shadow: inset 4px 0 0 var(--cm-red); }
	.crelala-modern #nav ul ul a:hover,
	.crelala-modern #nav ul ul a:focus-visible { background-color: #f2f2f2; box-shadow: inset 4px 0 0 var(--cm-red); }

	/* third level: compact rows, never taller than the screen, long lists (Orte: 45) in two columns */
	.crelala-modern #nav ul ul ul a { padding: 9px 18px; }
	.crelala-modern #nav > ul > li ul li > ul { max-height: calc(100vh - 160px); overflow-y: auto; overscroll-behavior: contain; }
	.crelala-modern #nav > ul > li ul li > ul.cm-long { columns: 2; column-gap: 0; width: 520px; max-width: 520px; }
	.crelala-modern #nav > ul > li ul li > ul.cm-long > li { break-inside: avoid; }
	.crelala-modern #nav > ul > li ul li.sqrnavopen > ul.cm-flip { left: auto; right: 100%; }   /* no cut-off at the right edge */

	/* keyboard: Tab into a menu entry opens its submenu (hover and click behave as before) */
	.crelala-modern #nav > ul li.sqrnavmore:focus-within > ul { display: block; }
	.crelala-modern #nav > ul > li ul li.sqrnavmore:focus-within > ul { left: 100%; top: 0; transform: none; }
}

@media (max-width: 1023px) {
	/* mobile menu: large, calm touch rows; open entry marked red */
	.crelala-modern #nav ul a { min-height: 48px; box-sizing: border-box; display: flex; align-items: center; }
	.crelala-modern #nav > ul > li.sqrnavopen > a,
	.crelala-modern #nav > ul > li.active > a,
	.crelala-modern #nav ul ul li.sqrnavopen > a { box-shadow: inset 4px 0 0 var(--cm-red); }
	.crelala-modern #nav.sqrnavopen > ul,
	.crelala-modern #nav li.sqrnavopen > ul { animation: cm-drop 0.22s ease-out; }
	.crelala-modern #nav ul ul ul { background: rgba(0, 0, 0, 0.12); }   /* third level visibly nested */
}

/* ---------------------------------------------------------------- buttons: same red, same style, softer and easier to hit */
.crelala-modern .woocommerce a.button,
.crelala-modern .woocommerce button.button,
.crelala-modern .wc-block-components-button:not(.is-link),
.crelala-modern .wp-element-button {
	border-radius: var(--cm-radius-sm);
	padding: 13px 26px;
	min-height: 44px;
	box-sizing: border-box;
	color: #ffffff;                              /* parent's ".woocommerce a" (gold) would recolour buttons on product pages */
	font-weight: bold;
	font-size: 15px;
	line-height: 18px;
	letter-spacing: 0.04em;
	transition: background-color var(--cm-ease), box-shadow var(--cm-ease), transform var(--cm-ease);
}
.crelala-modern .woocommerce a.button:hover,
.crelala-modern .woocommerce button.button:hover,
.crelala-modern .wc-block-components-button:not(.is-link):hover,
.crelala-modern .wp-element-button:hover {
	background: var(--cm-red-dark);
	border-color: var(--cm-red-dark);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
	transform: translateY(-1px);
	color: #ffffff;
	text-decoration: none;
}
.crelala-modern .woocommerce a.button:active,
.crelala-modern .woocommerce button.button:active,
.crelala-modern .wp-element-button:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }

/* ---------------------------------------------------------------- form fields ("dropdowns") */
.crelala-modern .woocommerce select,
.crelala-modern .woocommerce input.input-text,
.crelala-modern .woocommerce textarea {
	border-radius: var(--cm-radius-sm);
	border: 1px solid var(--cm-field-line);
	background: var(--cm-field-bg);
	color: var(--cm-field-text);
	transition: border-color var(--cm-ease), box-shadow var(--cm-ease), background-color var(--cm-ease);
}

/* ---------------------------------------------------------------- cards: product tiles */
.crelala-modern .ngpluginshopteasertiles > div > ul > li {
	border-radius: var(--cm-radius) !important;
	box-shadow: var(--cm-shadow) !important;
	outline: 1px solid rgba(255, 255, 255, 0.05);
	outline-offset: -1px;
	transition: transform var(--cm-ease-out), box-shadow var(--cm-ease-out), opacity 0.5s ease;
}
.crelala-modern .ngpluginshopteasertilespicture {
	border-radius: var(--cm-radius) var(--cm-radius) 0 0;
	background: transparent;                     /* 0.6.14: no own matte – see Bildstrategie */
}
.crelala-modern .ngpluginshopteasertilestext a { text-decoration: none; }
.crelala-modern .ngpluginshopteasertilestext a p span { transition: color var(--cm-ease); }
.crelala-modern .ngpluginshopteasertilestext p:last-child span:first-child { letter-spacing: 0.01em; }

/* 0.6.4 (Phase F): native artwork lists (WooCommerce Product Collection, block styles of the parent theme) as cards like the tiles */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product { transition: transform var(--cm-ease-out); }   /* look: Bildstrategie „work cards“ (0.6.15) */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-list .wc-block-components-product-image { border-radius: var(--cm-radius-sm); overflow: hidden; }
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wp-block-post-title a { transition: color var(--cm-ease); }
/* 0.6.13 (design repair B/C): one card rhythm – title, artist (muted), price; everything left-aligned, price on one line
   at the foot of the card so prices of a row line up (spacing: Bildstrategie „work cards“, 0.6.15) */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product .wp-block-post-title { font-size: 1.12em; line-height: 1.35; }
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wp-block-post-terms { color: #bdbdbd; font-size: 0.95em; }
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-components-product-price { font-size: 1.08em; letter-spacing: 0.01em; }
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-list .wc-block-product { padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-list .wc-block-product:last-child { border-bottom: 0; }
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-list .wc-block-components-product-image img { height: auto; }   /* square stage: Bildstrategie */
/* 0.6.26: Top-3/Top-5 „Liste“ – the whole work in its own format, at the left edge and on the title line (in a centred square
   stage portrait works floated in the middle, landscape works sat below the title and left a gap under them → rows looked
   offset). Every row: picture left, top = title, the same space to the next row; tall works limited in height. */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-list .wc-block-components-product-image img {
	width: 100% !important; height: auto !important; max-height: 220px; object-position: 0 0; transform-origin: 0 0;   /* ratio: inline from crelala-core */
}
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-list .wc-block-components-product-image,
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-list .wc-block-components-product-image > a { display: block; line-height: 0; text-align: left; }
/* 0.6.19 (visual repair 5/n): text colours of EVERY artwork list (Top-3/Top-5 „Liste“ on artist pages, tiles, related works) –
   the list titles inherited the original link gold (#ffd700), picture links the browser blue. Title light like all type,
   artist muted grey, price white; hover/focus = CRELALA red accent (underline + focus ring), never gold/blue/purple. */
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wc-block-product a { color: inherit; }
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wp-block-post-title,
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wp-block-post-title a { color: #ebebeb; text-decoration: none; }
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wp-block-post-terms,
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wp-block-post-terms a { color: #bdbdbd; }
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-list .wc-block-components-product-price { color: #ffffff; }
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wp-block-post-title a:is(:hover, :focus-visible),
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wp-block-post-terms a:is(:hover, :focus-visible) {
	color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wc-block-product a:focus-visible { outline-color: var(--cm-red); }

/* ---------------------------------------------------------------- Bildstrategie (0.6.14, carousels + card repair)
   ARTWORK (all WooCommerce product pictures, galleries, picture boxes): the WHOLE work ("contain", centred), never cropped,
     never distorted, inside a fixed stage per card type. The stage has NO colour of its own – the free contain area shows
     the surface it sits on (card #323232, or the page), so it never reads as an extra frame / passe-partout. (0.6.13 painted
     a lighter radial "matte" on stage AND picture – that difference to the card was the visible frame.)
     Product cards: square stage – best fit for this collection (median work 1 : 1, 1 157 works: 79 % of the stage used on
     average against 71 % for 4 : 3).
   PORTRAIT (artist pictures): controlled crop, focal point from the block („Zuschneiden (füllend)“ / focal point picker).
     0.6.26: round pictures (block style „Abgerundet“, e.g. „Mehr über den Künstler“) are portraits – they keep the block's
     cover crop (contain left an oval with empty bands inside the circle).
   EDITORIAL (post / event cards, Kunst vor Ort): moderate 4 : 3 crop, weighted to the upper third (heads, works on walls).
   HERO (cover blocks, Kopfzonen, media & text "fill" with crop style): own containers – cover stays.
   A deliberate crop anywhere else = editor's block style „Zuschneiden (füllend)“ (core/image, core/post-featured-image). */
.crelala-modern .wc-block-components-product-image img,
.crelala-modern .wc-block-grid__product-image img,
.crelala-modern :is(.wp-block-image, .wp-block-post-featured-image):not(.is-style-crelala-crop, .is-style-rounded) img[style*="object-fit:cover"],
.crelala-modern :is(.wp-block-image, .wp-block-post-featured-image):not(.is-style-crelala-crop, .is-style-rounded) img[style*="object-fit: cover"],
.crelala-modern .wp-block-gallery.is-cropped .wp-block-image:not(.is-style-crelala-crop) img,
.crelala-modern .ngpluginshopteasertiles img,
.crelala-modern .ngteasercascade figure > img,
.crelala-modern .ngpluginshopteaserpicturetextpicturecontainer img,
.crelala-modern ul.teaserpicturecaption li img,
.crelala-modern .wp-block-media-text.is-image-fill-element:not(.is-style-crelala-crop) > .wp-block-media-text__media img {
	object-fit: contain !important;           /* overrides the block's inline "cover" and the parent's cover rules */
	object-position: 50% 50%;
	background: transparent;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}
.crelala-modern .wc-block-components-product-image,
.crelala-modern .wc-block-grid__product-image { background: transparent; margin: 0; padding: 0; }
/* one stage size per card type: every artwork card of a product list (Product Collection – categories, artists' works, new works,
   related, Top lists, search, synced start page patterns) gets the same square picture box. !important: the block writes its
   own aspect ratio inline (attribute, 4:3 in older content); the templates carry "1" themselves since 0.2.56. */
.crelala-modern .wp-block-woocommerce-product-collection:not(.is-style-crelala-tiles, .is-style-crelala-list) .wc-block-components-product-image img { width: 100%; height: auto; aspect-ratio: 1 !important; }   /* „Kacheln“: WORK CARDS (0.6.17) */

/* 0.6.18 (visual repair 4/n, docs/phase6/85-visuelle-reparatur-4.md) – WORK CARD: one card for every artwork list, like crelala.de.
   crelala.de: every list picture is cut to 4:3 on the server (…?w=768&r=2) over a dark text field (title, „von …“, price right),
   4 columns, 30 px apart, a red diagonal band „VERKAUFT“ over the top right corner. Here the same visible result, natively:
   - LIST PREVIEW = controlled centre crop 4:3: the Product Image block's own settings (aspect ratio 4:3, scale „cover“ –
     set in the templates) + this rule for lists in contents; the browser picks a generated WordPress size from srcset
     (768 / 1024 px – never the original). The ARTWORK PAGE shows the whole work (Product Gallery, work.css – no crop).
   - one card surface (#323232 like crelala.de), all cards of a row equally high, title (2 lines) – „von …“ – price at the foot
     (prices of a row on one line); 0.6.19 (visual repair 5/n): everything left-aligned, price too (decision of the owner);
   - „Verkauft“ / „Nicht lieferbar“ = diagonal band over the top right picture corner (crelala-core WorkLists::stock, data =
     WooCommerce / SaleState – nothing to maintain), clipped by the card, no layout shift;
   - 4 / 3 / 2 / 1 columns (≥ 1200 / ≥ 900 / ≥ 560 / phones).
   Applies to every Product Collection „Kacheln“ (categories, artists' works, search, related „Weitere Werke“, Top lists, pages)
   and the hand-made work grids (start page „Neue Kunstwerke …“). New works: automatic. Replaces the 0.6.17 „works on one line“. */
.crelala-modern {
	--cm-card: #323232;
	--cm-card-pad: 24px;
	--cm-cols: 4;
	--cm-card-gap: 30px;
}
@media (max-width: 1199px) { .crelala-modern { --cm-cols: 3; --cm-card-gap: 26px; } }
@media (max-width: 899px) { .crelala-modern { --cm-cols: 2; --cm-card-gap: 20px; --cm-card-pad: 18px; } }
@media (max-width: 559px) { .crelala-modern { --cm-cols: 1; --cm-card-gap: 22px; --cm-card-pad: 20px; } }

/* the grid: the same rhythm everywhere (WooCommerce' own column widths differ per list and screen) */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product-template,
.crelala-modern .wp-block-group.is-layout-grid:has(> .wp-block-group > .wp-block-image:first-child img) {
	display: grid !important; grid-template-columns: repeat(var(--cm-cols), minmax(0, 1fr)) !important; gap: var(--cm-card-gap) !important;
	margin: 0; padding: 0; list-style: none;
}
/* 0.6.19: a hand-made grid in a section „mobile full width“ (start page „Neue Kunstwerke“, category grids) keeps the 30 px gutter
   of the archives below 1 024 px too (before: edge to edge on tablets/phones – wider cards than every archive) */
@media (max-width: 1023px) {
	.crelala-modern #content .sqrmobilefullwidth .wp-block-group.is-layout-grid:has(> .wp-block-group > .wp-block-image:first-child img) { padding-left: 30px !important; padding-right: 30px !important; box-sizing: border-box; }
}
/* the card */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product,
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img) {
	display: flex; flex-direction: column; position: relative; overflow: hidden; box-sizing: border-box;
	width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 0 22px !important;
	background: var(--cm-card); border-radius: 3px; outline: 0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.18);
	transition: box-shadow var(--cm-ease-out);
}
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product > *,
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img) > * {
	margin: 0 !important; padding-left: var(--cm-card-pad) !important; padding-right: var(--cm-card-pad) !important; background: none; text-align: left; max-width: none;
}
/* the picture: 4:3, edge to edge, centre crop (list preview only) */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-components-product-image,
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img) > .wp-block-image:first-child {
	order: 1; position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
	padding: 0 !important; background: #2b2b2b; border-radius: 0;
}
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-components-product-image > a,
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img) > .wp-block-image:first-child > a {
	position: absolute; inset: 0; display: block;
}
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-components-product-image img,
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img) > .wp-block-image:first-child img {
	position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; max-height: none; margin: 0;
	aspect-ratio: auto !important; object-fit: cover !important; object-position: var(--cm-crop, 50% 50%) !important; border-radius: 0; filter: none;
	scale: var(--cm-crop-z, 1); transform-origin: var(--cm-crop, 50% 50%);
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* 0.6.20 (visual repair 6/n): the visible part = the crop of crelala.de. --cm-crop / --cm-crop-z come per picture from the theme
   (functions.php crelala_modern_tile_crop, data measured on crelala.de); zoom around the same point = the original enlargement
   (frame cut away). No data: centre, portrait works 50 % 12 %. Full bleed, no matte, no edge. */
/* text: title (2 lines) – „von …“ – price at the foot, all left (0.6.19) */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product .wp-block-post-title,
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img) > :is(h2, h3, h4) {
	order: 2; padding-top: 20px !important; font-size: 1.2em; font-weight: bold; line-height: 1.35; letter-spacing: 0.005em;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
	overflow-wrap: break-word; hyphens: auto; text-wrap: pretty;   /* 0.6.20: long titles wrap cleanly (3 lines, hyphenated) */
}
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img) > :is(h2, h3, h4) a,
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product .wp-block-post-title a { color: #ebebeb; text-decoration: none; transition: color var(--cm-ease); }
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product .wp-block-post-terms,
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img) > p {
	order: 3; padding-top: 8px !important; color: #d2d2d2; font-size: 1em; line-height: 1.45;
}
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product .wp-block-post-terms a { color: inherit; text-decoration: none; }
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product .wp-block-woocommerce-product-price {
	order: 4; margin-top: auto !important; padding-top: 14px !important; text-align: left;
	/* 0.6.20: TEXT ZONE = title (≤ 3 lines) – „von …“ – PRICE ROW. The price block is stretched by WooCommerce (flex-grow) and
	   its price sat at the top of it → prices of a row on different heights as soon as one title wrapped. Now the block fills
	   the rest of the card and puts the price at its foot: every price of a row on one line, whatever the title length. */
	flex: 1 0 auto; display: flex !important; flex-direction: column; justify-content: flex-end !important; align-items: flex-start;
}
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-components-product-price {
	display: block; color: #ffffff; font-size: 1.2em; font-weight: bold; letter-spacing: 0.01em;
	text-align: left !important; justify-content: flex-start !important;   /* 0.6.19: left again (0.6.18 right like crelala.de) – one rule for every list */
}
/* CATEGORY CARD (hand-made grids of picture + name only, e.g. /kunst/malerei/): square picture + name bar like crelala.de */
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img):not(:has(> p)) > .wp-block-image:first-child { aspect-ratio: 1; }
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img):not(:has(> p)) > .wp-block-image:first-child img { object-position: var(--cm-crop-sq, 50% 50%) !important; scale: 1; transform-origin: 50% 50%; }
.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img):not(:has(> p)) > :is(h2, h3, h4) { padding-top: 22px !important; }
/* 0.6.30: the same band on hand-placed pictures of a work (crelala-core WorkLinks: figure.crelala-work-flag) */
.crelala-modern figure.crelala-work-flag { position: relative; overflow: hidden; }
.crelala-modern figure.crelala-work-flag > .crelala-ribbon {
	position: absolute; z-index: 3; top: 22px; right: -30px; width: 126px; height: 22px; transform: rotate(45deg); pointer-events: none;
	background: #a42323; color: #ffffff; box-shadow: 0 3px 10px -5px #000000;
	font-size: 11px; font-weight: bold; line-height: 22px; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; white-space: nowrap;
}
.crelala-modern figure.crelala-work-flag > .crelala-ribbon.is-unavailable { background: #5f5f5f; }
/* „Verkauft“ / „Nicht lieferbar“: diagonal band over the top right corner of the picture (like crelala.de), clipped by the card */
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .crelala-ribbon {
	position: absolute; z-index: 3; top: 22px; right: -30px; left: auto; bottom: auto; order: 0;
	box-sizing: border-box; width: 126px; height: 22px; margin: 0 !important; padding: 0 !important;
	transform: rotate(45deg); transform-origin: 50% 50%; pointer-events: none;
	background: #a42323; color: #ffffff; border-radius: 0; box-shadow: 0 3px 10px -5px #000000;
	font-size: 11px; font-weight: bold; line-height: 22px; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; white-space: nowrap;   /* 0.6.20: spacing like crelala.de */
}
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .crelala-ribbon.is-unavailable { background: #5f5f5f; }
.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .crelala-ribbon::before { display: none; }
@media (max-width: 559px) {
	.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .crelala-ribbon { top: 26px; right: -32px; width: 140px; height: 24px; font-size: 12px; line-height: 24px; }
}
@media (hover: hover) {
	.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product:hover,
	.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img):hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38); }
	.crelala-modern .wp-block-woocommerce-product-collection.is-style-crelala-tiles .wc-block-product:hover .wc-block-components-product-image img,
	.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img):hover > .wp-block-image:first-child img { transform: scale(1.04); }
	.crelala-modern .wp-block-group.is-layout-grid > .wp-block-group:has(> .wp-block-image:first-child img):hover :is(h2, h3, h4) a { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
}

/* ---------------------------------------------------------------- ARTIST CARD (0.6.18, visual repair 4/n): „Unsere Künstler“ like crelala.de
   Query Loop „Künstler-Übersicht“ (is-style-crelala-overview, crelala-core ArtistOverview): 4 columns close together, a large
   picture (controlled crop, nearly square) and directly under it a narrow dark name bar – no box, no card chrome. The picture
   stays the artist's tile picture (box „Bild in „Unsere Künstler““ / featured image); new artists look the same automatically. */
.crelala-modern .wp-block-query.is-style-crelala-overview .wp-block-post-template {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 14px !important; margin: 0; padding: 0;
}
@media (max-width: 1023px) { .crelala-modern .wp-block-query.is-style-crelala-overview .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; } }
.crelala-modern .wp-block-query.is-style-crelala-overview .wp-block-post-template > li { width: auto !important; margin: 0 !important; }
.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile {
	position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; overflow: hidden;
	background: none; border-radius: 0; box-shadow: none; outline: 0; transform: none;
}
.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile > .wp-block-image {
	position: relative; margin: 0 !important; aspect-ratio: 10 / 9; overflow: hidden; background: #2b2b2b;
}
.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile > .wp-block-image img {
	position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; aspect-ratio: auto !important;
	object-fit: cover !important; object-position: var(--cm-focus, 50% 0%) !important;   /* 0.6.30: Hochformat oben (Kopf bleibt sichtbar, Krohs), eigener Bildausschnitt gewinnt */ border-radius: 0; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile > .crelala-tile-caption {
	margin: 0 !important; padding: 5px 8px 6px !important; background: #363636; color: #f2f2f2;
	font-size: 18px; font-weight: normal; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile > .crelala-tile-caption a { color: inherit; font-weight: normal; text-decoration: none; }
.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile > .crelala-tile-caption a::after { content: ""; position: absolute; inset: 0; }   /* the whole tile is the link */
@media (max-width: 559px) { .crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile > .crelala-tile-caption { font-size: 15px; padding: 5px 7px !important; } }
@media (hover: hover) {
	.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile:hover { transform: none; box-shadow: none; }
	.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile:hover > .wp-block-image img { transform: scale(1.04); }
	.crelala-modern .wp-block-query.is-style-crelala-overview .crelala-tile:hover > .crelala-tile-caption { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
}

/* ---------------------------------------------------------------- SEARCH RESULTS (0.6.18, visual repair 4/n)
   Like the search page of crelala.de: one row per hit – picture left (4:3 preview, the post's / product's featured image),
   title and a short text right. Search template = core Query Loop (post-featured-image, post-title, post-excerpt). */
.crelala-modern .wp-block-query.crelala-search .wp-block-post-template { display: flex; flex-direction: column; gap: 26px; margin: 0; padding: 0; list-style: none; }
.crelala-modern .wp-block-query.crelala-search .wp-block-post {
	display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 24px; align-items: start;
	padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.crelala-modern .wp-block-query.crelala-search .wp-block-post:not(:has(.wp-block-post-featured-image)) { grid-template-columns: minmax(0, 1fr); }
.crelala-modern .wp-block-query.crelala-search .wp-block-post-featured-image { grid-row: 1 / span 2; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #2b2b2b; }
.crelala-modern .wp-block-query.crelala-search .wp-block-post-featured-image :is(a, img) { display: block; width: 100%; height: 100%; }
.crelala-modern .wp-block-query.crelala-search .wp-block-post-featured-image img { object-fit: cover !important; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.crelala-modern .wp-block-query.crelala-search .wp-block-post-title { margin: 0 0 8px; font-size: 1.2em; line-height: 1.35; }
.crelala-modern .wp-block-query.crelala-search .wp-block-post-title a { text-decoration: none; }
.crelala-modern .wp-block-query.crelala-search .wp-block-post-excerpt { margin: 0; color: #d6d6d6; font-size: 0.95em; line-height: 1.6; }
.crelala-modern .wp-block-query.crelala-search .wp-block-post-excerpt__excerpt { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
@media (hover: hover) {
	.crelala-modern .wp-block-query.crelala-search .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.04); }
	.crelala-modern .wp-block-query.crelala-search .wp-block-post-title a:hover { text-decoration: underline; }
}
@media (max-width: 559px) {
	.crelala-modern .wp-block-query.crelala-search .wp-block-post { grid-template-columns: 110px minmax(0, 1fr); column-gap: 14px; }
	.crelala-modern .wp-block-query.crelala-search .wp-block-post-title { font-size: 1.05em; }
	.crelala-modern .wp-block-query.crelala-search .wp-block-post-excerpt__excerpt { -webkit-line-clamp: 3; }
}

/* ---------------------------------------------------------------- galleries (0.6.13, design repair G)
   Captions below the picture, never over the work; linked gallery pictures (e.g. „Unsere Produktkategorien“) as cards with
   the caption as label; „Bildwechsel“ stage without own colour (0.6.14). */
.crelala-modern .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: static; max-height: none; overflow: visible; margin: 0; padding: 10px 2px 2px; background: none;
	color: #e6e6e6; font-size: 15px; line-height: 1.4; text-align: left; text-shadow: none;
}
.crelala-modern .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before { display: none; }
.crelala-modern .wp-block-gallery.has-nested-images figure.wp-block-image:has(> a) { border-radius: var(--cm-radius); overflow: hidden; background: #2f2f2f; box-shadow: var(--cm-shadow); transition: transform var(--cm-ease-out), box-shadow var(--cm-ease-out); }
.crelala-modern .wp-block-gallery.has-nested-images figure.wp-block-image:has(> a) figcaption { padding: 12px 16px 14px; font-weight: bold; font-size: 16px; color: #f2f2f2; }
.crelala-modern .wp-block-gallery.has-nested-images figure.wp-block-image:has(> a):focus-within { outline: 3px solid var(--cm-gold); outline-offset: 2px; }
.crelala-modern .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img { aspect-ratio: 4 / 3; }
.crelala-modern .wp-block-gallery.is-style-crelala-slides { border-radius: var(--cm-radius); }
.crelala-modern .wp-block-gallery.is-style-crelala-slides.has-nested-images figure.wp-block-image:has(> a) { background: transparent; box-shadow: none; border-radius: 0; transform: none; }   /* 0.6.15: no card surface behind a picture changer (was a dark frame beside portraits) */
.crelala-modern .wp-block-gallery.is-style-crelala-slides > figure.wp-block-image img { background: transparent; border-radius: 0; }
.crelala-modern .wp-block-gallery.is-style-crelala-slides.is-cropped > figure.wp-block-image:not(.is-style-crelala-crop) img,
.crelala-modern .wp-block-group.is-style-crelala-columns .wp-block-image.is-style-crelala-picture:not(.is-style-crelala-crop) img[style*="aspect-ratio"] { object-position: 0 0; }   /* beats the Bildstrategie centre */
/* 0.6.15 (visual repair): Trends – the whole work hangs at the top left of its 4:3 stage, right under the left-aligned title
   (centred, a panorama floated in the middle of the stage and a portrait stood apart – the rows looked offset); the bands of
   the trend tiles are tighter (the „Spaltenband“ padding of 30 px top + bottom + margins made ~130 px between two rows) */
.crelala-modern .wp-block-group.is-style-crelala-columns:has(.wp-block-gallery.is-style-crelala-slides, .is-style-crelala-picture img[style*="aspect-ratio"]) { padding-top: 10px; padding-bottom: 10px; margin-bottom: 0; }
.crelala-modern .wp-block-group.is-style-crelala-columns:has(.wp-block-gallery.is-style-crelala-slides, .is-style-crelala-picture img[style*="aspect-ratio"]) :is(.wp-block-group.paragraph, .wp-block-gallery.is-style-crelala-slides, .wp-block-image.is-style-crelala-picture) { margin-bottom: 0; }
/* 0.6.16 (visual repair 2/n): start page „Beliebte Themen & aktuelle Trends“ – six equal 4:3 TEASER tiles like the original:
   the picture fills its tile (theme teasers, not the artwork itself – moderate crop, centred; portraits weighted to the upper
   third), rounded, a gentle zoom on hover; the picture changer keeps its soft cross-fade. Contained pictures of different
   formats made the 3 × 2 rows look offset (0.6.15). Only on the start page – everywhere else the Bildstrategie stays. */
.crelala-modern.home .wp-block-group.is-style-crelala-columns .wp-block-image.is-style-crelala-picture:not(.is-style-crelala-crop) img[style*="aspect-ratio"],
.crelala-modern.home .wp-block-group.is-style-crelala-columns .wp-block-gallery.is-style-crelala-slides > figure.wp-block-image:not(.is-style-crelala-crop) img {
	object-fit: cover !important; object-position: 50% 35%; aspect-ratio: 4 / 3 !important; width: 100% !important; height: auto !important;
	filter: none; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.crelala-modern.home .wp-block-group.is-style-crelala-columns .wp-block-gallery.is-style-crelala-slides > figure.wp-block-image img { height: 100% !important; }
.crelala-modern.home .wp-block-group.is-style-crelala-columns :is(.wp-block-image.is-style-crelala-picture, .wp-block-gallery.is-style-crelala-slides) {
	overflow: hidden; border-radius: var(--cm-radius); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); background: #3a3a3a;
}
.crelala-modern.home .wp-block-group.is-style-crelala-columns .wp-block-image.is-style-crelala-picture img { border-radius: 0; }
.crelala-modern.home .wp-block-group.is-style-crelala-columns:has(.wp-block-gallery.is-style-crelala-slides, .is-style-crelala-picture img[style*="aspect-ratio"]) { padding-top: 14px; padding-bottom: 22px; }
.crelala-modern.home .wp-block-group.is-style-crelala-columns:has(.wp-block-gallery.is-style-crelala-slides, .is-style-crelala-picture img[style*="aspect-ratio"]) h3 { margin-bottom: 12px; font-size: 19px; letter-spacing: 0.01em; transition: color var(--cm-ease); }
@media (hover: hover) {
	.crelala-modern.home .wp-block-group.is-style-crelala-columns .wp-block-image.is-style-crelala-picture:hover img,
	.crelala-modern.home .wp-block-group.is-style-crelala-columns .wp-block-gallery.is-style-crelala-slides:hover img { transform: scale(1.04); }
	.crelala-modern.home .wp-block-group.is-style-crelala-columns .sqrmobilefullwidth:has(.wp-block-image.is-style-crelala-picture:hover, .is-style-crelala-slides:hover) h3,
	.crelala-modern.home .wp-block-group.is-style-crelala-columns .sqrallwaysboxed:has(.is-style-crelala-slides:hover) h3 { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
}
@media (hover: hover) {
	.crelala-modern .wp-block-gallery.has-nested-images figure.wp-block-image:has(> a):hover { transform: translateY(-3px); box-shadow: var(--cm-shadow-hover); }
	.crelala-modern .wp-block-gallery.has-nested-images figure.wp-block-image:has(> a):hover figcaption { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
}

/* ---------------------------------------------------------------- post cards (0.6.13, design repair H): Query Loop
   „Kunst vor Ort – Beiträge“ (pattern crelala/kunst-vor-ort-beitraege) – picture whole on the matte, title, short text */
.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post-template { gap: 28px 24px; }
.crelala-modern .wp-block-query.crelala-post-cards,
.crelala-modern .wp-block-group.is-style-crelala-slides { padding-left: 30px; padding-right: 30px; box-sizing: border-box; }   /* their section is full width */
@media (max-width: 767px) {
	.crelala-modern .wp-block-query.crelala-post-cards,
	.crelala-modern .wp-block-group.is-style-crelala-slides { padding-left: 16px; padding-right: 16px; }
}
.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post {
	display: flex; flex-direction: column; overflow: hidden; border-radius: var(--cm-radius);
	background: #323232; box-shadow: var(--cm-shadow); transition: transform var(--cm-ease-out), box-shadow var(--cm-ease-out);
}
.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post-featured-image { margin: 0; background: transparent; }
.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post-featured-image img { width: 100%; }
.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post-title { margin: 16px 20px 8px; font-size: 1.12em; line-height: 1.35; }
.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post-title a { color: #f2f2f2; text-decoration: none; }
.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post-excerpt { margin: 0 20px 20px; font-size: 15px; color: #cfcfcf; }
.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post-excerpt__excerpt { margin: 0; }
@media (hover: hover) {
	.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post:hover { transform: translateY(-3px); box-shadow: var(--cm-shadow-hover); }
	.crelala-modern .wp-block-query.crelala-post-cards .wp-block-post:hover .wp-block-post-title a { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
}

/* 0.6.30 (Rückmeldung 2): „Grundlagen der Kunst“ (category template) – intro + the posts of the category as cards;
   a post without a featured image gets a calm colour field in the same 4:3 place (no empty card head) */
.crelala-modern .crelala-basics-intro { max-width: 760px; font-size: 18px; line-height: 1.75; margin: 0 30px 32px; }
@media (max-width: 767px) { .crelala-modern .crelala-basics-intro { margin: 0 16px 24px; } }
.crelala-modern .wp-block-query.crelala-basics .wp-block-post-featured-image { aspect-ratio: 4 / 3; overflow: hidden; }
.crelala-modern .wp-block-query.crelala-basics .wp-block-post-featured-image img { object-fit: cover !important; object-position: var(--cm-focus, 50% 30%); width: 100% !important; height: 100% !important; max-width: none; aspect-ratio: auto !important; }
.crelala-modern .wp-block-query.crelala-basics .wp-block-post:not(:has(.wp-block-post-featured-image))::before {
	content: ""; display: block; aspect-ratio: 4 / 3;
	background: radial-gradient(circle at 30% 35%, #c8102e 0 18%, transparent 19%), radial-gradient(circle at 62% 55%, #e0b04a 0 22%, transparent 23%), radial-gradient(circle at 45% 75%, #2f6db5 0 16%, transparent 17%), #3a3a3a;
}
.crelala-modern .wp-block-query.crelala-basics .wp-block-post-excerpt__more-link { color: #f2f2f2; font-weight: bold; }

/* ---------------------------------------------------------------- CRELALA Carousel (0.6.15, crelala-core block crelala/slider)
   The block brings its own look (crelala-core blocks/slider/style.css); here only the site frame: the start page section of
   „Kunst vor Ort“ is full width – the carousel gets the page's side padding. */
.crelala-modern .wp-block-crelala-slider.is-style-beitraege:not(.alignwide):not(.alignfull) { padding-left: 30px; padding-right: 30px; box-sizing: border-box; }
@media (max-width: 767px) { .crelala-modern .wp-block-crelala-slider.is-style-beitraege:not(.alignwide):not(.alignfull) { padding-left: 16px; padding-right: 16px; } }

/* ---------------------------------------------------------------- Carousels (0.6.14, docs/phase6/81-carousels.md)
   TRANSITION until crelala-editor step 28 has run on the site (afterwards no cb/carousel-v2 content is left and this part goes):
   Plugin block „Carousel Slider“ (cb/carousel-v2, Swiper) with the theme block styles „CRELALA Kategorien“ / „CRELALA Beiträge“
   / „CRELALA Galerie“ – behaviour (slides per view, loop, arrows, dots, swipe) stays in the block settings, this is only the look.
   Shared: round dark arrows with a large hit area inside the block (never cut off), pill dots below the slides, gold focus ring.
   Kategorien + Beiträge let the next slides peek in: the Swiper box is narrower than the block, starts at its left edge and shows
   its overflow – the block itself clips (overflow: clip), so the page never scrolls sideways. Left-anchored on purpose: the plugin
   has no "centered slides" setting, and Swiper's loop only places slides AFTER the first one on load – a centred box would open
   with an empty strip on the left. */
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] { --cs-w: 100%; --wp--custom--carousel-block--pagination-bullet-horizontal-gap: 2px; position: relative; overflow: clip; margin: 0 0 30px; padding: 4px 0 0; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .swiper { width: var(--cs-w); margin: 0 auto; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"][data-cb-pagination=true] .swiper-horizontal { margin-bottom: 0; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-slide > :first-child { margin-top: 0; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] :is(.cb-button-prev, .cb-button-next) {
	top: var(--cs-arrow-top, 50%); width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; z-index: 20;
	background: rgba(24, 24, 24, 0.72); border: 1px solid rgba(255, 255, 255, 0.18); color: #ffffff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); cursor: pointer; transition: background-color var(--cm-ease), opacity var(--cm-ease), transform var(--cm-ease);
}
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-button-prev { left: max(8px, calc((100% - var(--cs-w)) / 2 - 24px)); right: auto; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-button-next { right: max(8px, calc((100% - var(--cs-w)) / 2 - 24px)); left: auto; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] :is(.cb-button-prev, .cb-button-next)::after {   /* thin chevron instead of the icon font */
	content: ""; width: 11px; height: 11px; font-size: 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateX(-2px) rotate(-45deg);
}
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-button-prev::after { transform: translateX(2px) rotate(135deg); }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] :is(.cb-button-prev, .cb-button-next):hover { background: var(--cm-red); border-color: var(--cm-red); }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] :is(.cb-button-prev, .cb-button-next):focus-visible { outline: 3px solid var(--cm-gold); outline-offset: 2px; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] :is(.cb-button-prev, .cb-button-next).swiper-button-disabled { opacity: 0.3; cursor: default; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-pagination.swiper-pagination-horizontal { position: relative; inset: auto; display: flex; justify-content: center; margin-top: 16px; }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-pagination .cb-pagination-bullet {   /* 28 px hit area, small dot */
	position: relative; width: 28px; height: 28px; border-radius: 14px; background: none; opacity: 1;
}
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-pagination .cb-pagination-bullet::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 4px;
	background: rgba(255, 255, 255, 0.38); transition: background-color var(--cm-ease), width var(--cm-ease), margin var(--cm-ease);
}
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-pagination .cb-pagination-bullet:hover::after { background: rgba(255, 255, 255, 0.75); }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-pagination .cb-pagination-bullet.swiper-pagination-bullet-active::after { width: 22px; margin-left: -11px; background: var(--cm-red); }
.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-pagination .cb-pagination-bullet:focus-visible { outline: 3px solid var(--cm-gold); outline-offset: -3px; }
.crelala-modern .wp-block-cb-carousel-v2:is(.is-style-crelala-kategorien, .is-style-crelala-beitraege) .swiper { overflow: visible; margin-left: 0; }
.crelala-modern .wp-block-cb-carousel-v2:is(.is-style-crelala-kategorien, .is-style-crelala-beitraege) .cb-button-prev { left: 10px; }
.crelala-modern .wp-block-cb-carousel-v2:is(.is-style-crelala-kategorien, .is-style-crelala-beitraege) .cb-button-next { right: 10px; }
.crelala-modern .wp-block-cb-carousel-v2:is(.is-style-crelala-kategorien, .is-style-crelala-beitraege) .swiper-slide { transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease; }

/* Kategorien: one large picture, the next ones smaller and dimmed beside it (gallery look of the original) */
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien { --cs-w: min(68%, 900px); --cs-arrow-top: calc(50% - 30px); }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .swiper-slide { transform-origin: 0 50%; }   /* the smaller neighbours stay close */
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .swiper-slide:not(.swiper-slide-active) { opacity: 0.42; transform: scale(0.86); filter: saturate(0.7); }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .wp-block-image { margin: 0; border-radius: var(--cm-radius); overflow: hidden; background: var(--cm-card, #323232); box-shadow: var(--cm-shadow); }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .wp-block-image img { display: block; width: 100%; height: auto; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .wp-block-image figcaption {
	margin: 0; padding: 14px 20px 16px; color: #f2f2f2; font-size: 19px; font-weight: bold; line-height: 1.3; text-align: left; letter-spacing: 0.01em;
}
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .wp-block-image a:focus-visible { outline-offset: -3px; }
@media (hover: hover) {
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .swiper-slide-active .wp-block-image img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .swiper-slide-active .wp-block-image:hover img { transform: scale(1.025); }
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .swiper-slide-active .wp-block-image:hover figcaption { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
}

/* Beiträge (Kunst vor Ort): editorial cards – picture 4:3 (moderate crop, weighted to the upper third), title, short text, „Mehr“ */
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege { --cs-w: 88%; --cs-arrow-top: 34%; padding-left: 30px; }   /* its start page section is full width */
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .swiper-wrapper { align-items: stretch; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .swiper-slide { height: auto; display: flex; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) { opacity: 0.4; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .crelala-post-slide,
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-template { display: flex; flex: 1; margin: 0; padding: 0; list-style: none; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post {
	display: flex; flex-direction: column; flex: 1; margin: 0; overflow: hidden; border-radius: var(--cm-radius);
	background: var(--cm-card, #323232); box-shadow: var(--cm-shadow); transition: box-shadow var(--cm-ease-out);
}
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-featured-image { margin: 0; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-featured-image img { display: block; width: 100%; object-position: 50% 30%; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post:not(:has(.wp-block-post-featured-image))::before {   /* post without picture: calm logo field, same height */
	content: ""; display: block; aspect-ratio: 4 / 3; background: #2a2a2a url("../../../crelala/assets/img/logo-150.png") center / 120px auto no-repeat;
}
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-title {
	margin: 18px 22px 8px; font-size: 1.15em; line-height: 1.35;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-title a { color: #f2f2f2; text-decoration: none; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-excerpt { display: flex; flex-direction: column; flex: 1; margin: 0 22px 22px; font-size: 15px; color: #cfcfcf; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-excerpt__excerpt { margin: 0 0 16px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-excerpt__more-text { margin: auto 0 0; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-excerpt__more-link {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--cm-radius-sm);
	background: var(--cm-red); color: #ffffff; font-size: 13px; font-weight: bold; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
	transition: background-color var(--cm-ease);
}
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post-excerpt__more-link:hover { background: var(--cm-red-dark); color: #ffffff; text-decoration: none; }
@media (hover: hover) {
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post:hover { box-shadow: var(--cm-shadow-hover); }
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .wp-block-post:hover .wp-block-post-title a { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
}

/* Galerie: calm and minimal – one 4:3 stage per picture, the whole picture (contain) on the page colour, caption below */
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-galerie { --cs-arrow-top: calc(50% - 22px); }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-galerie .wp-block-image { margin: 0; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-galerie .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: transparent; }
.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-galerie .wp-block-image figcaption { margin: 8px 2px 0; color: #cfcfcf; font-size: 14px; line-height: 1.45; text-align: left; }

@media (max-width: 1023px) {
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien { --cs-w: 78%; }
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege { --cs-w: 90%; }
}
@media (max-width: 767px) {   /* phone: one dominant card, the next one peeks in; arrows smaller, dots stay large targets */
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien { --cs-w: 86%; }
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege { --cs-w: 86%; padding-left: 16px; }
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .swiper-slide:not(.swiper-slide-active) { transform: scale(0.92); }
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-beitraege .swiper-slide:not(.swiper-slide-active) { opacity: 0.4; }
	/* arrows in the row of the dots below the slides: nothing covers the picture, and the fixed side tab „100 % versandkostenfrei“
	   (32 px at the right edge) never lies over the next arrow */
	.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] :is(.cb-button-prev, .cb-button-next) { top: auto; bottom: 0; width: 44px; height: 44px; margin-top: 0; }
	.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-button-prev { left: 0; }
	.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-button-next { right: 44px; }
	.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-pagination.swiper-pagination-horizontal { min-height: 44px; align-items: center; margin-top: 12px; padding: 0 92px 0 48px; box-sizing: border-box; flex-wrap: wrap; }
	.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] { --wp--custom--carousel-block--pagination-bullet-horizontal-gap: 0px; }
	.crelala-modern .wp-block-cb-carousel-v2[class*="is-style-crelala-"] .cb-pagination .cb-pagination-bullet { width: 24px; height: 32px; }
	.crelala-modern .wp-block-cb-carousel-v2.is-style-crelala-kategorien .wp-block-image figcaption { font-size: 17px; padding: 12px 16px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.crelala-modern .wp-block-cb-carousel-v2 .swiper-wrapper { transition-duration: 0ms !important; }   /* Swiper writes its speed inline */
	.crelala-modern .wp-block-cb-carousel-v2 .swiper-slide { transition: none !important; }
}

/* ---------------------------------------------------------------- cards: teasers, artist grid, content boxes */
.crelala-modern .ngpluginshopteaserpicturetextpicturecontainer { border-radius: var(--cm-radius-sm); background: transparent; }
.crelala-modern ul.teaserpicturecaption li { border-radius: var(--cm-radius); overflow: hidden; box-shadow: var(--cm-shadow); transition: box-shadow var(--cm-ease-out), transform var(--cm-ease-out); }
.crelala-modern .ngteasercascade > ul > li > ul > li > ul > li { border-radius: var(--cm-radius); overflow: hidden; }
.crelala-modern .wp-block-media-text.is-style-crelala-split { border-radius: var(--cm-radius); overflow: hidden; box-shadow: var(--cm-shadow); }   /* 0.6.3: native split (Phase E) like the original one */
.crelala-modern img.picture { border-radius: var(--cm-radius-sm); }
.crelala-modern .wp-block-image.is-style-crelala-picture img { border-radius: var(--cm-radius-sm); }   /* 0.6.10 (E8): single picture of the original as core/image */

/* 0.6.5 (Phase F): native overview tiles (Query Loop „Künstler-Übersicht“, tile grid of /kunst/) as cards like the originals */
.crelala-modern .crelala-tile {
	border-radius: var(--cm-radius);
	box-shadow: var(--cm-shadow);
	outline: 1px solid rgba(255, 255, 255, 0.05);
	outline-offset: -1px;
	background: #111;
	transition: transform var(--cm-ease-out), box-shadow var(--cm-ease-out);
}
.crelala-modern .crelala-tile > .wp-block-image { background: transparent; overflow: hidden; }
.crelala-modern .crelala-tile > .wp-block-image img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.crelala-modern .crelala-tile > .crelala-tile-caption { padding: 18px 20px; font-weight: bold; }
.crelala-modern .crelala-tile > .crelala-tile-caption a { transition: color var(--cm-ease); }

/* hover only where a real pointer exists (no sticky hover on touch screens) */
@media (hover: hover) {
	.crelala-modern .crelala-tile:hover { transform: translateY(-3px); box-shadow: var(--cm-shadow-hover); }
	.crelala-modern .crelala-tile:hover > .wp-block-image img { transform: scale(1.03); }
	.crelala-modern .crelala-tile:hover > .crelala-tile-caption a { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
	.crelala-modern .ngpluginshopteasertiles > div > ul > li:hover { transform: translateY(-4px); box-shadow: var(--cm-shadow-hover) !important; }
	.crelala-modern .ngpluginshopteasertiles > div > ul > li:hover img,
	.crelala-modern .ngpluginshopteasertileszoom .ngpluginshopteasertilespicture:hover img { transform: scale(1.03); }
	.crelala-modern .ngpluginshopteasertiles > div > ul > li:hover .ngpluginshopteasertilestext a p span { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
	.crelala-modern ul.teaserpicturecaption li:hover { transform: translateY(-3px); box-shadow: var(--cm-shadow-hover); }
	.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"]:not(.is-style-crelala-tiles) .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.03); }
	.crelala-modern .wp-block-woocommerce-product-collection[class*="is-style-crelala-"] .wc-block-product:hover .wp-block-post-title a { color: #ffffff; text-decoration: underline; text-decoration-color: var(--cm-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }   /* 0.6.19: red accent, not gold */
	.crelala-modern ul.teaserpicturecaption li:hover img { transform: scale(1.03); }
	/* cascade teasers (home "Neue Kunstwerke", category overviews): gentle lift, 3 % zoom instead of the original 10 % */
	.crelala-modern .ngteasercascade > ul > li > ul > li > ul > li { transition: transform var(--cm-ease-out), box-shadow var(--cm-ease-out); }
	.crelala-modern .ngteasercascade > ul > li > ul > li > ul > li:hover { transform: translateY(-3px); box-shadow: var(--cm-shadow-hover) !important; }
	.crelala-modern .ngteasercascade > ul.ngteasercascadehover > li > ul > li > ul > li > a:hover > figure > img { transform: scale(1.03); }
}

/* gentle reveal of tiles further down the page (modern.js marks only tiles that start outside the screen) */
.crelala-modern .cm-pending { opacity: 0; transform: translateY(14px); }

/* ---------------------------------------------------------------- product filters = FILTER BAR (0.6.17, visual repair 3/n)
   Like the filter row of crelala.de directly above the works: one compact bar „Kunstwerke filtern | Format ▾ Größe ▾ Motiv ▾
   Preis ▾ Technik ▾ Künstler ▾ | Zurücksetzen“ – the groups of the WooCommerce block „Produktfilter“ are drop-downs (the list
   of a group opens as a panel below its button; modern.js: button semantics, open/close, Escape, outside click). Active
   filters as chips in a second row of the bar, „Zurücksetzen“ at the end of the first. Filtering, counts, URL parameters,
   back/forward = WooCommerce (Interactivity API). Phones (≤ 600 px): WooCommerce' own filter drawer, styled.
   Replaces the panel (0.6.13) and the sidebar (0.6.16). */
.crelala-modern .wp-block-woocommerce-product-filters {
	--wc-product-filter-checkbox-list-option-element: #2b2b2b;
	--wc-product-filter-checkbox-list-option-element-border: #8a8a8a;
	--wc-product-filter-checkbox-list-option-element-selected: #ffffff;
	--wc-product-filter-price-slider: var(--cm-red);
	--wc-product-filters-overlay-background-color: #3a3a3a;
	--wc-product-filters-overlay-text-color: #ebebeb;
	--cm-bar: #3a3a3a;
	--cm-bar-line: rgba(255, 255, 255, 0.09);
	--cm-pop: #2f2f2f;
	display: block; box-sizing: border-box; width: 100%; margin: 0 0 18px;
}
.crelala-modern .wp-block-woocommerce-product-filters h3.wp-block-heading { margin: 0; font-size: 15px; line-height: 1.3; letter-spacing: 0.01em; text-transform: none; color: #ebebeb; font-weight: normal; }
/* checkbox lists (in the drop-down panels and the drawer) */
.crelala-modern .wc-block-product-filter-checkbox-list__items { display: flex; flex-direction: column; gap: 0; }
.crelala-modern .wc-block-product-filter-checkbox-list__label { align-items: center; gap: 10px; min-height: 40px; padding: 4px 0; cursor: pointer; line-height: 1.35; }
.crelala-modern .wc-block-product-filter-checkbox-list__input-wrapper { flex: 0 0 auto; font-size: 18px; }
.crelala-modern .wc-block-product-filter-checkbox-list__input-wrapper::before { display: none; }
.crelala-modern input[type=checkbox].wc-block-product-filter-checkbox-list__input { border-radius: 4px; transition: background-color var(--cm-ease), border-color var(--cm-ease); }
.crelala-modern input[type=checkbox].wc-block-product-filter-checkbox-list__input:checked { background: var(--cm-red); border-color: var(--cm-red); }
.crelala-modern input[type=checkbox].wc-block-product-filter-checkbox-list__input:focus-visible { outline: 3px solid var(--cm-gold); outline-offset: 2px; }
.crelala-modern .wc-block-product-filter-checkbox-list__label:hover .wc-block-product-filter-checkbox-list__input { border-color: #d0d0d0; }
.crelala-modern .wc-block-product-filter-checkbox-list__label:hover .wc-block-product-filter-checkbox-list__text { color: #ffffff; }
.crelala-modern .wc-block-product-filter-checkbox-list__text-wrapper { display: block; font-size: 15px; color: #e6e6e6; }
.crelala-modern .wc-block-product-filter-checkbox-list__text-wrapper > * { display: inline; }
.crelala-modern .wc-block-product-filter-checkbox-list__count { margin-left: 4px; color: #9a9a9a; white-space: nowrap; }
.crelala-modern .wc-block-product-filter-checkbox-list__show-more-button {
	margin-top: 4px; padding: 6px 0; background: none; border: 0; color: var(--cm-gold); font-size: 14px; cursor: pointer;
	text-decoration: underline; text-underline-offset: 3px;
}
/* price: slider in brand red, the two amounts as dark fields */
.crelala-modern .wc-block-product-filter-price-slider__content { row-gap: 10px; }
.crelala-modern .wc-block-product-filter-price-slider input[type=text],
.crelala-modern .wc-block-product-filter-price-slider__left input,
.crelala-modern .wc-block-product-filter-price-slider__right input {
	box-sizing: border-box; width: 100%; max-width: 110px; min-height: 40px; padding: 8px 10px;
	background: #262626; color: #ebebeb; border: 1px solid #6e6e6e; border-radius: var(--cm-radius-sm); font-size: 15px;
}
.crelala-modern .wc-block-product-filter-price-slider__right input { margin-left: auto; text-align: right; }
.crelala-modern .wc-block-product-filter-price-slider input:focus { border-color: var(--cm-gold); outline: none; }
.crelala-modern .wc-block-product-filter-price-slider__range input[type=range]::-webkit-slider-thumb { background: #ffffff; border: 2px solid var(--cm-red); }
.crelala-modern .wc-block-product-filter-price-slider__range input[type=range]::-moz-range-thumb { background: #ffffff; border: 2px solid var(--cm-red); }
/* active filters + reset */
.crelala-modern .wc-block-product-filter-removable-chips__items { gap: 8px; }
.crelala-modern .wc-block-product-filter-removable-chips__item {
	min-height: 32px; padding: 0 6px 0 12px; background: #2b2b2b; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; color: #ebebeb; font-size: 14px;
}
.crelala-modern .wc-block-product-filter-removable-chips__remove { min-width: 28px; min-height: 28px; color: #cfcfcf; }
.crelala-modern .wc-block-product-filter-removable-chips__remove:hover { color: #ffffff; }
.crelala-modern .wc-block-product-filters__clear-button .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; border: 0;
	box-shadow: none; color: #ebebeb; font-size: 14px; font-weight: bold; letter-spacing: 0.02em; text-transform: none; text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 4px; transform: none;
}
.crelala-modern .wc-block-product-filters__clear-button .wp-block-button__link::before {   /* ↺ */
	content: ""; width: 14px; height: 14px; flex: 0 0 auto; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.crelala-modern .wc-block-product-filters__clear-button .wp-block-button__link:hover { background: transparent; box-shadow: none; color: #ffffff; text-decoration-color: var(--cm-red); transform: none; }
/* result count of the list („Zeige alle 29 Ergebnisse“): quiet line between the bar and the works */
.crelala-modern .wp-block-woocommerce-product-collection .woocommerce-result-count,
.crelala-modern .wp-block-woocommerce-product-results-count { margin: 0 0 22px; padding: 0; float: none; color: #a8a8a8; font-size: 14px; letter-spacing: 0.01em; }
/* the bar and EVERY list keep the page gutter (their section is full width) – 0.6.18: also a list without the bar above it
   (Fotografie, Gesichter: the first of two lists ran edge to edge); the same 30 px as all page content on every screen
   (0.6.17 used 16 px on phones – lists were wider than the text above them).
   0.6.19: every archive template puts its list in the boxed frame like Florales (tools/postmig/archives.py) – the boxed frame
   is the gutter, so the extra 30 px only for a list in a full-width section of page content (else lists started 30 px right of the h1) */
.crelala-modern .sqrallwaysfullwidth .is-style-crelala-section:has(> :is(.wp-block-woocommerce-product-filters, .wp-block-woocommerce-product-collection)) { padding-left: 30px; padding-right: 30px; box-sizing: border-box; }

@media (min-width: 601px) {
	/* the bar */
	.crelala-modern .wp-block-woocommerce-product-filters .wc-block-product-filters__overlay-content {
		display: flex; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; justify-content: flex-start !important;   /* the block's own layout is vertical */
		gap: 8px; min-height: 60px; padding: 8px 10px 8px 16px; box-sizing: border-box;
		background: var(--cm-bar); border: 1px solid var(--cm-bar-line); border-radius: var(--cm-radius); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
	}
	.crelala-modern .wp-block-woocommerce-product-filters .wc-block-product-filters__overlay-content > :is(:empty, [hidden]) { display: none; }
	/* label „Kunstwerke filtern“ with a filter icon, divided from the groups */
	.crelala-modern .wp-block-woocommerce-product-filters .crelala-filterbar-label {
		display: flex; align-items: center; gap: 10px; min-height: 36px; margin: 0 8px 0 0; padding: 0 18px 0 0;
		border-right: 1px solid rgba(255, 255, 255, 0.16); color: #dcdcdc; font-size: 13px; font-weight: bold; line-height: 1.2;
		letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
	}
	.crelala-modern .wp-block-woocommerce-product-filters .crelala-filterbar-label::before {
		content: ""; width: 18px; height: 18px; flex: 0 0 auto; background: var(--cm-red);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	/* a group = button + drop-down panel */
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"]:not([data-block-name="woocommerce/product-filter-active"]) { position: relative; margin: 0; padding: 0; }
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"] > h3.wp-block-heading {
		display: flex; align-items: center; gap: 10px; box-sizing: border-box; min-height: 44px; padding: 0 14px 0 16px;
		border: 1px solid rgba(255, 255, 255, 0.17); border-radius: var(--cm-radius-sm); background: transparent;
		color: #ebebeb; cursor: pointer; user-select: none; white-space: nowrap;
		transition: border-color var(--cm-ease), background-color var(--cm-ease), color var(--cm-ease);
	}
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"] > h3.wp-block-heading::after {   /* chevron */
		content: ""; order: 3; width: 7px; height: 7px; margin: -4px 0 0 2px; border: solid currentColor; border-width: 0 1.6px 1.6px 0;
		transform: rotate(45deg); opacity: 0.75; transition: transform var(--cm-ease), margin var(--cm-ease);
	}
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name] > h3.wp-block-heading[data-cm-count]::before {   /* number of chosen values */
		content: attr(data-cm-count); order: 2; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px;
		padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--cm-red); color: #ffffff; font-size: 12px; font-weight: bold;
	}
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name] > h3.wp-block-heading[data-cm-count] { border-color: rgba(227, 6, 19, 0.85); }
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"] > h3.wp-block-heading:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); }
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"] > h3.wp-block-heading:focus-visible { outline: 3px solid var(--cm-gold); outline-offset: 2px; }
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > .cm-open > h3.wp-block-heading { background: #474747; border-color: rgba(255, 255, 255, 0.55); }
	.crelala-modern .crelala-filterbar .wc-block-product-filters__overlay-content > .cm-open > h3.wp-block-heading::after { transform: rotate(-135deg); margin-top: 4px; }
	/* the panel: hidden until the group is open (without modern.js: groups stay open below each other – everything usable) */
	.crelala-modern.cm-filter-js .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"]:not([data-block-name="woocommerce/product-filter-active"]) > :not(h3) {
		display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; box-sizing: border-box;
		min-width: 260px; max-width: min(380px, calc(100vw - 32px)); max-height: min(400px, 62vh); overflow: auto; overscroll-behavior: contain;
		padding: 10px 18px 12px; background: var(--cm-pop); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: var(--cm-radius);
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); scrollbar-width: thin; scrollbar-color: #666 transparent;
	}
	.crelala-modern.cm-filter-js .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"].cm-open > :not(h3) { display: block; animation: cm-drop 0.18s ease-out; }
	.crelala-modern.cm-filter-js .crelala-filterbar .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"].cm-flip > :not(h3) { left: auto; right: 0; }
	.crelala-modern.cm-filter-js .crelala-filterbar .wp-block-woocommerce-product-filter-price > :not(h3) { width: 320px; padding: 18px 20px 16px; }
	/* active filters: „Zurücksetzen“ at the end of the first row, the chips as a second row of the bar */
	.crelala-modern .crelala-filterbar .wp-block-woocommerce-product-filter-active:not([hidden]) { display: contents; }
	.crelala-modern .crelala-filterbar .wp-block-woocommerce-product-filter-active .wp-block-woocommerce-product-filter-clear-button { order: 5; margin: 0 0 0 4px; }
	.crelala-modern .crelala-filterbar .wp-block-woocommerce-product-filter-active .wc-block-product-filter-removable-chips {
		order: 10; flex: 1 0 100%; margin: 2px 0 0; padding: 10px 0 2px; border-top: 1px solid var(--cm-bar-line);
	}
}
@media (min-width: 601px) and (max-width: 1023px) {   /* tablet: the bar wraps in two calm rows, the label stays a short title */
	.crelala-modern .wp-block-woocommerce-product-filters .crelala-filterbar-label { flex: 1 0 100%; border-right: 0; padding: 4px 0 2px; margin: 0; }
}
@media (max-width: 600px) {   /* phones: WooCommerce' filter drawer */
	.crelala-modern .wp-block-woocommerce-product-filters { margin-bottom: 14px; }
	.crelala-modern .wc-block-product-filters__open-overlay {
		gap: 10px; width: 100%; justify-content: center; min-height: 48px; padding: 10px 18px; font-size: 0; font-weight: bold;
		background: #3a3a3a; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--cm-radius-sm); color: #ebebeb;
	}
	.crelala-modern .wc-block-product-filters__open-overlay svg { width: 20px; height: 20px; fill: var(--cm-red); }
	.crelala-modern .wc-block-product-filters__open-overlay::after { content: "Kunstwerke filtern"; font-size: 15px; letter-spacing: 0.04em; }
	.crelala-modern .wc-block-product-filters__open-overlay span { display: none; }
	.crelala-modern .crelala-filterbar-label { display: none; }
	.crelala-modern .wc-block-product-filters__overlay-content { padding: 4px 20px 24px; gap: 0; }
	.crelala-modern .wc-block-product-filters__overlay-content > [data-block-name^="woocommerce/product-filter-"]:not([hidden]) { padding: 16px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
	.crelala-modern .wc-block-product-filters__overlay-content h3.wp-block-heading { margin-bottom: 6px; font-size: 13px; font-weight: bold; letter-spacing: 0.09em; text-transform: uppercase; color: #cfcfcf; }
	.crelala-modern .wc-block-product-filters__overlay-footer { padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
	.crelala-modern .wc-block-product-filters__close-overlay { min-height: 44px; min-width: 44px; color: #ebebeb; font-size: 15px; }
	.crelala-modern .wc-block-product-filters__apply { width: 100%; }
	.crelala-modern .wc-block-product-filter-checkbox-list__label { min-height: 44px; }
}

/* ---------------------------------------------------------------- footer */
.crelala-modern #common { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 32px; margin-top: 12px; }
.crelala-modern #common ul.sqrcommonnav { row-gap: 8px; }
.crelala-modern #common ul.sqrcommonnav a { padding: 4px 2px; }

/* ---------------------------------------------------------------- mobile: no horizontal scrolling, readable headings */
.crelala-modern #outercontainer { overflow-x: clip; }
.crelala-modern #content { overflow-wrap: break-word; }
@media (max-width: 767px) {
	.crelala-modern h1 { font-size: 28px; line-height: 1.3; }
	.crelala-modern h1::after { margin-top: 10px; width: 40px; }
	.crelala-modern h2 { font-size: 21px; line-height: 1.35; }
	.crelala-modern .crelala-content img { width: 100%; height: auto; }
	.crelala-modern #common ul.sqrcommonnav a { display: inline-block; padding: 8px 4px; }
}

/* ---------------------------------------------------------------- EDITORIAL (0.6.20, visual repair 6/n, docs/phase6/87-visuelle-reparatur-6.md)
   Kunst-Stories, Blog, Künstler im Fokus, Kunstmessen, Kunst unterwegs: the same contents and blocks, presented like a calm
   art magazine – one reading column, larger type, larger pictures, more air. Only CSS on the existing core blocks
   (group „Abschnitt“, image „Drittel“, columns, media & text „Bild | Text“); nothing to maintain, new posts look the same. */

/* 1. ARTICLE (every single post): the right column of the post templates is always empty (#sidebarright has no blocks) –
      it took 25 % and pushed the text to the left. Now one centred column (max. 1 180 px), head in the same column. */
.crelala-modern #main.sqrmain2colr:has(#sidebarright:empty) > div { width: 100%; }
.crelala-modern #main.sqrmain2colr:has(#sidebarright:empty) > :is(#sidebarright, div:has(> #sidebarright:empty)) { display: none; }
.crelala-modern.single-post { --cm-read: 1180px; }
.crelala-modern.single-post #content > .wp-block-group > :is(.crelala-page-head, .sqrallwaysboxed),
.crelala-modern.single-post #content > :is(.crelala-page-head, .sqrallwaysboxed) { max-width: calc(var(--cm-read) + 60px); }
.crelala-modern.single-post #content .crelala-page-head { padding-top: 18px; padding-bottom: 8px; }
.crelala-modern.single-post #content .crelala-page-head h1 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 300; line-height: 1.15; letter-spacing: 0.005em; }
/* type: 18 px / 1.75, light grey on the dark page; headings as calm section titles; no justified text (rivers) */
.crelala-modern.single-post #content .is-style-crelala-section { margin-bottom: clamp(36px, 4.5vw, 64px); }
.crelala-modern.single-post #content .is-style-crelala-section :is(p, li) { font-size: 18px; line-height: 1.75; color: #e4e4e4; }
.crelala-modern.single-post #content .is-style-crelala-section p.has-text-align-justify { text-align: left; hyphens: auto; }
.crelala-modern.single-post #content .is-style-crelala-section :is(h2, h3) { margin: 0 0 0.7em; font-weight: 400; line-height: 1.3; color: #ffffff; text-wrap: balance; }
.crelala-modern.single-post #content .is-style-crelala-section h2 { font-size: clamp(24px, 2.2vw, 32px); }
.crelala-modern.single-post #content .is-style-crelala-section h3 { font-size: clamp(20px, 1.7vw, 25px); }
/* pictures: larger (40 % instead of 30 % beside the text), clear distance, a soft shadow – the work, no frame */
.crelala-modern.single-post #content .is-style-crelala-section img { border-radius: 2px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.6); }
@media (min-width: 768px) {
	.crelala-modern.single-post #content .wp-block-image.is-style-crelala-third.alignleft { width: 40%; margin: 6px 48px 24px 0; }
	.crelala-modern.single-post #content .wp-block-image.is-style-crelala-third.alignright { width: 40%; margin: 6px 0 24px 48px; }
	.crelala-modern.single-post #content .is-style-crelala-section .wp-block-columns { gap: clamp(28px, 4vw, 56px); align-items: center; }
}
.crelala-modern.single-post #content .is-style-crelala-section figure.wp-block-image:not(.alignleft):not(.alignright) { margin-bottom: 28px; }
.crelala-modern.single-post #content .is-style-crelala-section .wp-block-gallery { gap: 16px; }
.crelala-modern.single-post #content .is-style-crelala-section figcaption { margin-top: 10px; color: #a8a8a8; font-size: 14px; line-height: 1.5; text-align: left; }
/* end of the article: the two „Mehr Infos …“ links as a quiet closing line */
.crelala-modern.single-post #content .is-style-crelala-section:last-child { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.crelala-modern.single-post #content .is-style-crelala-section:last-child p { font-size: 17px; }

/* 2. TEASER LISTS of the story categories (one „Bild | Text“ per post): in the page frame like every other list (before:
      edge to edge, headline at the very left), one card surface like the work cards, picture half, text half, heading
      above the card, more distance between the stories. */
.crelala-modern.category #content .sqrallwaysfullwidth:has(> .is-style-crelala-section > .wp-block-media-text.is-style-crelala-split),
.crelala-modern.category #content .sqrallwaysfullwidth:has(> .wp-block-group > .is-style-crelala-section > .wp-block-media-text.is-style-crelala-split) {
	max-width: 1500px; margin-left: auto; margin-right: auto; padding-left: 30px; padding-right: 30px; box-sizing: border-box;
}
.crelala-modern.category #content .is-style-crelala-section:has(> .wp-block-media-text.is-style-crelala-split) { margin-bottom: clamp(40px, 4.5vw, 64px); }
.crelala-modern.category #content .is-style-crelala-section:has(> .wp-block-media-text.is-style-crelala-split) > :is(h2, h3) {
	margin: 0 0 12px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; line-height: 1.35; color: #ffffff; text-wrap: pretty;
}
.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split {
	grid-template-columns: 52% minmax(0, 1fr); background: var(--cm-card) !important; color: #e6e6e6 !important;
	border-radius: 3px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.18); overflow: hidden;
}
.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split.has-media-on-the-right { grid-template-columns: minmax(0, 1fr) 52%; }
.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split > .wp-block-media-text__content { align-self: center; padding: clamp(26px, 3.6vw, 56px) !important; }
.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split > .wp-block-media-text__content p { font-size: 17px; line-height: 1.75; hyphens: auto; }   /* 0.6.24: alignment of the content (justified like crelala.de) */
/* 0.6.24: the teaser picture whole, as on crelala.de – no crop (the block setting „fill“ of the imported teasers is overridden
   here only): landscape pictures fill the width of their half, the card takes their height; portrait pictures stand in the
   middle of their half (at most 560 px high), the text is centred beside them */
.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split { align-items: center; }
.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split.is-image-fill-element > .wp-block-media-text__media {
	position: static; display: flex; align-items: center; justify-content: center; align-self: stretch; height: auto; min-height: 0; overflow: hidden;
}
.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split.is-image-fill-element > .wp-block-media-text__media > a { display: contents; }
.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split.is-image-fill-element > .wp-block-media-text__media img {
	position: static; display: block; width: auto; max-width: 100%; height: auto; max-height: 560px; object-fit: contain !important;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
	.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split:hover > .wp-block-media-text__media img { transform: scale(1.03); }
}
@media (max-width: 781px) {   /* tablet + phone: picture on top (whole), text below – placed explicitly (WordPress itself stacks only ≤ 600 px) */
	.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split,
	.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split.has-media-on-the-right { grid-template-columns: 100%; }
	.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split > .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
	.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split > .wp-block-media-text__content { grid-column: 1; grid-row: 2; padding: 22px 22px 26px !important; }
	.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split.is-image-fill-element > .wp-block-media-text__media img { max-height: 70vh; }   /* 0.6.24: whole picture on top */
	/* 0.6.24: narrow text column – left aligned (justified text tears gaps), the teaser's own 30 px padding not on top of ours */
	.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split > .wp-block-media-text__content p { text-align: left !important; }
	.crelala-modern.category #content .wp-block-media-text.is-style-crelala-split > .wp-block-media-text__content > .wp-block-group { padding: 0 !important; }
}

/* ---------------------------------------------------------------- MEIN KONTO (0.6.25, docs/phase6/91-mein-konto.md)
   WooCommerce „Mein Konto“ (page with the shortcode block [woocommerce_my_account], WooCommerce' own markup, no template or PHP of
   ours): side menu with icons + content card on the desktop, menu as a swipeable chip row on phones; orders as a table (cards on
   phones) with a status dot; addresses as two cards; forms in a two-column grid; login / lost password as one centred card.
   WooCommerce' own frontend CSS is not loaded on this site – everything the pages need is here. */
.crelala-modern.woocommerce-account {
	--cm-acc-line: rgba(255, 255, 255, 0.09);
	--cm-acc-muted: #b8b8b8;
	--cm-acc-ico-dashboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z'/%3E%3C/svg%3E");
	--cm-acc-ico-orders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z'/%3E%3C/svg%3E");
	--cm-acc-ico-downloads: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E");
	--cm-acc-ico-address: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
	--cm-acc-ico-account: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
	--cm-acc-ico-logout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 0 0-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E");
	--cm-acc-ico-more: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
	--cm-acc-ico-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E");
}
/* the paragraph „Sie sind hier:“ has no path on these pages – no empty line under the title */
.crelala-modern.woocommerce-account .crelala-page-head p.sqrbreadcrumbs:not(:has(a:not(:empty))) { display: none; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce { color: #e6e6e6; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce :is(h2, h3) { color: #f2f2f2; }

/* layout: menu left, content right (desktop); one column below 900 px */
.crelala-modern.woocommerce-account .crelala-content > .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	margin-top: 8px;
}
.crelala-modern .woocommerce-MyAccount-navigation {
	position: sticky;
	top: 24px;
	background: var(--cm-card);
	border: 1px solid var(--cm-acc-line);
	border-radius: var(--cm-radius);
	box-shadow: var(--cm-shadow);
	padding: 10px;
}
.crelala-modern .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.crelala-modern .woocommerce-MyAccount-navigation li { display: flex; flex-direction: column; margin: 0; padding: 0; --cm-acc-ico: var(--cm-acc-ico-more); }   /* flex: the template's white space around the link adds no line */
.crelala-modern .woocommerce-MyAccount-navigation li::before,
.crelala-modern .woocommerce-MyAccount-navigation li::marker { content: none; }
.crelala-modern .woocommerce-MyAccount-navigation-link--dashboard { --cm-acc-ico: var(--cm-acc-ico-dashboard) !important; }
.crelala-modern .woocommerce-MyAccount-navigation-link--orders { --cm-acc-ico: var(--cm-acc-ico-orders) !important; }
.crelala-modern .woocommerce-MyAccount-navigation-link--downloads { --cm-acc-ico: var(--cm-acc-ico-downloads) !important; }
.crelala-modern .woocommerce-MyAccount-navigation-link--edit-address { --cm-acc-ico: var(--cm-acc-ico-address) !important; }
.crelala-modern .woocommerce-MyAccount-navigation-link--edit-account { --cm-acc-ico: var(--cm-acc-ico-account) !important; }
.crelala-modern .woocommerce-MyAccount-navigation-link--customer-logout { --cm-acc-ico: var(--cm-acc-ico-logout) !important; }
.crelala-modern .woocommerce-MyAccount-navigation a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	box-sizing: border-box;
	padding: 10px 14px;
	border-radius: var(--cm-radius-sm);
	color: #dcdcdc;
	font-size: 16px;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color var(--cm-ease), color var(--cm-ease);
}
.crelala-modern .woocommerce-MyAccount-navigation a::before {
	content: "";
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--cm-acc-ico) center / contain no-repeat;
	mask: var(--cm-acc-ico) center / contain no-repeat;
	opacity: 0.75;
	transition: opacity var(--cm-ease);
}
.crelala-modern .woocommerce-MyAccount-navigation a:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; text-decoration: none; }
.crelala-modern .woocommerce-MyAccount-navigation a:hover::before { opacity: 1; }
.crelala-modern .woocommerce-MyAccount-navigation li.is-active > a {
	background: rgba(227, 6, 19, 0.16);
	color: #ffffff;
	font-weight: bold;
}
.crelala-modern .woocommerce-MyAccount-navigation li.is-active > a::before { opacity: 1; background: var(--cm-red); }
.crelala-modern .woocommerce-MyAccount-navigation li.is-active > a::after {   /* red marker at the left edge */
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 2px;
	background: var(--cm-red);
}
.crelala-modern .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 8px !important;
	padding-top: 8px !important;
	border-top: 1px solid var(--cm-acc-line);
}
.crelala-modern .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--cm-acc-muted); }

/* content card */
.crelala-modern .woocommerce-MyAccount-content {
	min-width: 0;
	background: var(--cm-card);
	border: 1px solid var(--cm-acc-line);
	border-radius: var(--cm-radius);
	box-shadow: var(--cm-shadow);
	padding: 30px 34px 34px;
}
.crelala-modern .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
.crelala-modern .woocommerce-MyAccount-content .woocommerce-notices-wrapper:empty { display: none; }
.crelala-modern .woocommerce-MyAccount-content h2 { font-size: 22px; margin: 0 0 16px; }
.crelala-modern .woocommerce-MyAccount-content a:not(.button) { color: var(--cm-gold); }

/* dashboard: greeting large, the hint below quieter */
.crelala-modern.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-of-type { font-size: 21px; line-height: 1.5; color: #f2f2f2; margin: 0 0 14px; }
.crelala-modern.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-of-type strong { color: #ffffff; }
.crelala-modern.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-of-type a { font-size: 16px; }
.crelala-modern.woocommerce-dashboard .woocommerce-MyAccount-content > p:nth-of-type(2) { color: var(--cm-acc-muted); max-width: 62ch; margin: 0; }

/* notices inside the account (no orders yet, confirm e-mail …): text left, button right */
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 22px;
	border-radius: var(--cm-radius-sm);
	background: rgba(255, 255, 255, 0.05);
}
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message) .button { float: none; margin: 0; order: 2; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-error li { list-style: none; }

/* small outline buttons in tables, address cards and order actions („Ansehen“, „Bezahlen“, „Bearbeiten“) */
.crelala-modern.woocommerce-account .woocommerce :is(td, .woocommerce-Address-title, .order-again) .button,
.crelala-modern.woocommerce-account .woocommerce .woocommerce-Address-title a.edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 16px;
	margin: 2px 6px 2px 0;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: var(--cm-radius-sm);
	color: #ffffff !important;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	transition: background-color var(--cm-ease), border-color var(--cm-ease);
}
.crelala-modern.woocommerce-account .woocommerce :is(td, .woocommerce-Address-title, .order-again) .button:hover,
.crelala-modern.woocommerce-account .woocommerce .woocommerce-Address-title a.edit:hover { background: var(--cm-red); border-color: var(--cm-red); transform: none; }
.crelala-modern.woocommerce-account .woocommerce td .button.pay { background: var(--cm-red); border-color: var(--cm-red); }

/* tables: orders, downloads, order details */
.crelala-modern.woocommerce-account .woocommerce table.shop_table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.crelala-modern.woocommerce-account .woocommerce table.shop_table :is(th, td) { padding: 14px 12px; border-bottom: 1px solid var(--cm-acc-line); text-align: left; vertical-align: middle; }
.crelala-modern.woocommerce-account .woocommerce table.shop_table thead th {
	padding-top: 0;
	border-bottom-color: rgba(255, 255, 255, 0.18);
	color: var(--cm-acc-muted);
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.crelala-modern.woocommerce-account .woocommerce table.shop_table tbody tr:last-child > * { border-bottom: 0; }
.crelala-modern.woocommerce-account .woocommerce table.shop_table tfoot :is(th, td) { border-bottom: 0; border-top: 1px solid var(--cm-acc-line); }
.crelala-modern.woocommerce-account .woocommerce table.shop_table tfoot th { color: #d4d4d4; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-orders-table tbody tr { transition: background-color var(--cm-ease); }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-orders-table tbody tr:hover { background: rgba(255, 255, 255, 0.035); }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-number a { font-weight: bold; text-decoration: none; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-orders-table :is(th, td):last-child { text-align: right; white-space: nowrap; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-total { color: var(--cm-acc-muted); }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-total .amount { color: #ffffff; font-weight: bold; }

/* order status: coloured dot + label */
.crelala-modern .woocommerce-orders-table__cell-order-status { --cm-status: #9a9a9a; white-space: nowrap; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-status::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 9px;
	border-radius: 50%;
	vertical-align: 1px;
	background: var(--cm-status);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--cm-status) 22%, transparent);
}
.crelala-modern .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { --cm-status: #3fd93a; }   /* original green #1ef80b, a little calmer */
.crelala-modern .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { --cm-status: var(--cm-gold); }
.crelala-modern .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status { --cm-status: #f79646; }   /* original orange */
.crelala-modern :is(.woocommerce-orders-table__row--status-pending, .woocommerce-orders-table__row--status-checkout-draft) .woocommerce-orders-table__cell-order-status { --cm-status: #d7d7d7; }
.crelala-modern :is(.woocommerce-orders-table__row--status-cancelled, .woocommerce-orders-table__row--status-failed) .woocommerce-orders-table__cell-order-status { --cm-status: var(--cm-red); }

.crelala-modern.woocommerce-account .woocommerce .woocommerce-pagination { display: flex; justify-content: space-between; gap: 12px; }

/* single order: „Bestellung #… wurde am … aufgegeben und ist derzeit …“ – the marks as quiet highlights */
.crelala-modern.woocommerce-account .woocommerce-MyAccount-content > p:has(> mark.order-number) {
	padding: 14px 18px;
	margin: 0 0 26px;
	border-left: 3px solid var(--cm-red);
	border-radius: 0 var(--cm-radius-sm) var(--cm-radius-sm) 0;
	background: rgba(255, 255, 255, 0.05);
}
.crelala-modern.woocommerce-account .woocommerce mark { background: none; color: #ffffff; font-weight: bold; }
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-order-downloads) { margin: 0 0 28px; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-table--order-details .product-quantity { color: var(--cm-acc-muted); font-weight: normal; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-table--order-details .wc-item-meta { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14px; color: var(--cm-acc-muted); }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-table--order-details .wc-item-meta :is(p, strong) { display: inline; margin: 0; }
.crelala-modern.woocommerce-account .woocommerce ol.woocommerce-OrderUpdates { list-style: none; margin: 0 0 28px; padding: 0; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-OrderUpdate { padding: 12px 0; border-bottom: 1px solid var(--cm-acc-line); }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-OrderUpdate-meta { font-size: 13px; color: var(--cm-acc-muted); margin: 0 0 4px; }

/* addresses: one card each (overview + customer details of an order) */
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 18px;
}
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses)::before,
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses)::after { content: none; }
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-Address, .woocommerce-column) {
	float: none;
	width: auto;
	padding: 20px 22px;
	border: 1px solid var(--cm-acc-line);
	border-radius: var(--cm-radius);
	background: rgba(255, 255, 255, 0.035);
}
.crelala-modern.woocommerce-account .woocommerce .woocommerce-customer-details > address {   /* order without a shipping address */
	padding: 20px 22px;
	border: 1px solid var(--cm-acc-line);
	border-radius: var(--cm-radius);
	background: rgba(255, 255, 255, 0.035);
}
.crelala-modern.woocommerce-account .woocommerce .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--cm-acc-line);
}
.crelala-modern.woocommerce-account .woocommerce .woocommerce-Address-title :is(h2, h3) { font-size: 18px; margin: 0; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-Address-title a.edit { margin: 0; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-column__title { font-size: 18px; margin: 0 0 12px; }
.crelala-modern.woocommerce-account .woocommerce address { font-style: normal; line-height: 1.7; color: #e6e6e6; }
.crelala-modern.woocommerce-account .woocommerce address :is(em, i) { color: var(--cm-acc-muted); }   /* „Du hast bisher keine Adresse …“ */
.crelala-modern.woocommerce-account .woocommerce address p { margin: 4px 0 0; line-height: 1.6; }
.crelala-modern.woocommerce-account .woocommerce-MyAccount-content > p:has(+ .woocommerce-Addresses) { color: var(--cm-acc-muted); margin: 0; }

/* forms: address, account details, login, lost password */
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-address-fields__field-wrapper, form.edit-account) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
}
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-address-fields__field-wrapper, form.edit-account) > :not(.form-row-first, .form-row-last) { grid-column: 1 / -1; }
.crelala-modern.woocommerce-account .woocommerce form.edit-account > .clear { display: none; }
.crelala-modern.woocommerce-account .woocommerce .form-row { float: none; width: auto; margin: 0 0 18px; padding: 0; }
.crelala-modern.woocommerce-account .woocommerce .form-row label:not(.woocommerce-form__label-for-checkbox) {
	display: block;
	margin: 0 0 8px;
	color: var(--cm-field-label);
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.01em;
}
.crelala-modern.woocommerce-account .woocommerce .form-row .required { color: var(--cm-red); text-decoration: none; border: 0; }
.crelala-modern.woocommerce-account .woocommerce .form-row .optional { color: var(--cm-acc-muted); font-weight: normal; }
.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-input-wrapper, .password-input) { display: block; position: relative; }
.crelala-modern.woocommerce-account .woocommerce :is(input.input-text, select, textarea) {
	display: block;
	width: 100%;
	min-height: var(--cm-field-h);
	box-sizing: border-box;
	padding: 11px 14px;
	font-size: 16px;
}
.crelala-modern.woocommerce-account .woocommerce :is(input.input-text, select, textarea):focus {
	outline: none;
	border-color: var(--cm-red);
	box-shadow: var(--cm-field-ring);
}
.crelala-modern.woocommerce-account .woocommerce .form-row :is(em, .description) { display: block; margin-top: 6px; font-size: 13px; color: var(--cm-acc-muted); }
.crelala-modern.woocommerce-account .woocommerce fieldset {
	margin: 10px 0 22px;
	padding: 18px 22px 2px;
	border: 1px solid var(--cm-acc-line);
	border-radius: var(--cm-radius);
}
.crelala-modern.woocommerce-account .woocommerce fieldset legend { padding: 0 8px; color: #f2f2f2; font-size: 16px; font-weight: bold; }
.crelala-modern.woocommerce-account .woocommerce :is(form, .woocommerce-address-fields) > p:has(> button.button) { margin: 6px 0 0; }

/* WooCommerce' „show password“ eye (woocommerce.js adds the button) */
.crelala-modern.woocommerce-account .woocommerce .password-input input.input-text { padding-right: 48px; }
.crelala-modern.woocommerce-account .woocommerce .show-password-input {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: var(--cm-radius-sm);
	background: transparent;
	color: #6b6b6b;
	cursor: pointer;
	font-size: 0;
}
.crelala-modern.woocommerce-account .woocommerce .show-password-input::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	margin: auto;
	background: currentColor;
	-webkit-mask: var(--cm-acc-ico-eye) center / contain no-repeat;
	mask: var(--cm-acc-ico-eye) center / contain no-repeat;
}
.crelala-modern.woocommerce-account .woocommerce .show-password-input:hover,
.crelala-modern.woocommerce-account .woocommerce .show-password-input.display-password { color: var(--cm-red); }

/* country / state select (select2 of WooCommerce) in the field look */
.crelala-modern.woocommerce-account .select2-container--default .select2-selection--single {
	height: var(--cm-field-h);
	border: 1px solid var(--cm-field-line);
	border-radius: var(--cm-radius-sm);
	background: var(--cm-field-bg);
}
.crelala-modern.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; color: var(--cm-field-text); font-size: 16px; }
.crelala-modern.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.crelala-modern.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow b { border-top-color: var(--cm-field-hint); }
.crelala-modern.woocommerce-account .select2-container--default.select2-container--focus .select2-selection--single,
.crelala-modern.woocommerce-account .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--cm-red); }
.crelala-modern.woocommerce-account .select2-dropdown { border-color: var(--cm-field-line); border-radius: var(--cm-radius-sm); overflow: hidden; background: var(--cm-field-bg); color: var(--cm-field-text); }
.crelala-modern.woocommerce-account .select2-search--dropdown .select2-search__field { border: 1px solid var(--cm-field-line); border-radius: 4px; background: var(--cm-form-card); color: var(--cm-field-text); }
.crelala-modern.woocommerce-account .select2-container--default .select2-results__option--highlighted[aria-selected],
.crelala-modern.woocommerce-account .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--cm-red); }

/* logged out (login, lost password, new password): the whole WooCommerce box is one centred card; with registration
   (#customer_login) two cards side by side */
.crelala-modern.woocommerce-account .crelala-content > .woocommerce:not(:has(> .woocommerce-MyAccount-navigation, > #customer_login)),
.crelala-modern.woocommerce-account .crelala-content > .woocommerce > #customer_login > div {
	background: var(--cm-card);
	border: 1px solid var(--cm-acc-line);
	border-radius: var(--cm-radius);
	box-shadow: var(--cm-shadow);
	padding: 30px 34px;
}
.crelala-modern.woocommerce-account .crelala-content > .woocommerce:not(:has(> .woocommerce-MyAccount-navigation)) {
	max-width: 470px;
	margin: 12px auto 10px;
	box-sizing: border-box;
}
.crelala-modern.woocommerce-account .crelala-content > .woocommerce:has(> #customer_login) { max-width: 980px; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce > #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.crelala-modern.woocommerce-account .crelala-content > .woocommerce > #customer_login::before,
.crelala-modern.woocommerce-account .crelala-content > .woocommerce > #customer_login::after { content: none; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce > #customer_login > div { float: none; width: auto; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce:not(:has(> .woocommerce-MyAccount-navigation)) :is(h2, form) { margin: 0; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce:not(:has(> .woocommerce-MyAccount-navigation)) h2 { font-size: 24px; margin-bottom: 20px; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce:not(:has(> .woocommerce-MyAccount-navigation)) .woocommerce-notices-wrapper:empty { display: none; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce > #customer_login > div > h2 { font-size: 24px; margin: 0 0 18px; }
.crelala-modern.woocommerce-account .woocommerce form :is(.form-row-first, .form-row-last) { width: auto; }
.crelala-modern.woocommerce-account .woocommerce form.lost_reset_password > p:first-child { color: var(--cm-acc-muted); }
/* „Angemeldet bleiben“ + button: checkbox line above a full-width button */
.crelala-modern.woocommerce-account .woocommerce form.login > p.form-row:has(> button) { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin: 4px 0 0; }
.crelala-modern.woocommerce-account .woocommerce :is(form.login, form.register, form.lost_reset_password) button.button { width: 100%; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: #d4d4d4; font-size: 15px; }
.crelala-modern.woocommerce-account .woocommerce .woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; margin: 0; accent-color: var(--cm-red); }
.crelala-modern.woocommerce-account .woocommerce .lost_password { margin: 18px 0 0; text-align: center; font-size: 15px; }
.crelala-modern.woocommerce-account .woocommerce .lost_password a { color: var(--cm-gold); }

/* tablet + phone */
@media (max-width: 899px) {
	.crelala-modern.woocommerce-account .crelala-content > .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.crelala-modern .woocommerce-MyAccount-navigation {   /* menu = one swipeable row of chips */
		position: static;
		padding: 0;
		background: none;
		border: 0;
		box-shadow: none;
		min-width: 0;
	}
	.crelala-modern .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		padding: 2px 0 8px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.crelala-modern .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.crelala-modern .woocommerce-MyAccount-navigation li { flex: 0 0 auto; scroll-snap-align: start; }
	.crelala-modern .woocommerce-MyAccount-navigation a {
		min-height: 42px;
		padding: 8px 16px 8px 13px;
		gap: 8px;
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 999px;
		background: var(--cm-card);
		font-size: 15px;
		white-space: nowrap;
	}
	.crelala-modern .woocommerce-MyAccount-navigation a::before { flex-basis: 18px; width: 18px; height: 18px; }
	.crelala-modern .woocommerce-MyAccount-navigation li.is-active > a { background: var(--cm-red); border-color: var(--cm-red); }
	.crelala-modern .woocommerce-MyAccount-navigation li.is-active > a::before { background: #ffffff; }
	.crelala-modern .woocommerce-MyAccount-navigation li.is-active > a::after { content: none; }
	.crelala-modern .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0 !important; padding: 0 !important; border: 0; }
	.crelala-modern .woocommerce-MyAccount-content { padding: 22px 20px 24px; }
}
@media (max-width: 699px) {
	/* tables (orders, downloads) as stacked cards: label from data-title on the left, value right */
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive :is(thead) { display: none; }
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive :is(tbody, tr, th, td) { display: block; }
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive tbody tr {
		margin: 0 0 14px;
		padding: 6px 16px;
		border: 1px solid var(--cm-acc-line);
		border-radius: var(--cm-radius);
		background: rgba(255, 255, 255, 0.035);
	}
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive tbody :is(th, td) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 0;
		text-align: right;
		border-bottom: 1px solid var(--cm-acc-line);
	}
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive tbody :is(th, td):last-child { border-bottom: 0; }
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive tbody tr:last-child > * { border-bottom: 1px solid var(--cm-acc-line); }
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive tbody tr:last-child > :last-child { border-bottom: 0; }
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive tbody [data-title]::before {
		content: attr(data-title);
		margin-right: auto;
		color: var(--cm-acc-muted);
		font-size: 12px;
		font-weight: bold;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		text-align: left;
	}
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-actions { justify-content: flex-end; }
	/* status row: label (::before) left, the dot moves to ::after and stands before the status text on the right */
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-status[data-title]::before {
		order: -2;
		width: auto;
		height: auto;
		margin: 0 auto 0 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		vertical-align: baseline;
	}
	.crelala-modern.woocommerce-account .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-status[data-title]::after {
		content: "";
		order: -1;
		flex: 0 0 9px;
		height: 9px;
		margin-right: -3px;
		border-radius: 50%;
		background: var(--cm-status);
		box-shadow: 0 0 0 3px color-mix(in srgb, var(--cm-status) 22%, transparent);
	}
	.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses),
	.crelala-modern.woocommerce-account .woocommerce :is(.woocommerce-address-fields__field-wrapper, form.edit-account),
	.crelala-modern.woocommerce-account .crelala-content > .woocommerce > #customer_login { grid-template-columns: minmax(0, 1fr); }
	.crelala-modern.woocommerce-account .crelala-content > .woocommerce:not(:has(> .woocommerce-MyAccount-navigation, > #customer_login)),
	.crelala-modern.woocommerce-account .crelala-content > .woocommerce > #customer_login > div { padding: 24px 22px; }
	.crelala-modern.woocommerce-account .woocommerce-MyAccount-content h2 { font-size: 20px; }
	/* phone: no card around the content – the order / address cards inside carry the structure, full width for forms */
	.crelala-modern .woocommerce-MyAccount-content { padding: 4px 0 0; background: none; border: 0; box-shadow: none; }
}

/* ---------------------------------------------------------------- FAKTEN-KARTEN (0.6.27)
   „Mehr über den Künstler & CRELALA Kunst“ on normal pages (commissioned art, posts, work sections): the converted facts
   paragraph (core/columns, per column picture 80 px + text + button or link) in the card look of the artwork pages
   (work.css 0.6.21) – three cards of one height, round portrait / grey original symbol in a ring, outline pill button.
   Recognised by the original symbol files (ngpluginparagraphfacts), no content change. */
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; margin: 0 0 30px;
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column {
	display: flex; flex-direction: column; align-items: center; min-width: 0; margin: 0; padding: 30px 24px 28px;
	border: 1px solid rgba(255, 255, 255, 0.11); border-radius: var(--cm-radius); background: rgba(255, 255, 255, 0.02); text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column:is(:hover, :focus-within) {
	border-color: rgba(227, 6, 19, 0.55); background: rgba(255, 255, 255, 0.035);
}
/* media zone 96 px: portrait round, symbol 40 px grey (#808080 of the original file) in a thin ring */
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > figure.wp-block-image {
	display: grid; place-items: center; flex: 0 0 auto; width: 96px; height: 96px; margin: 0 auto 18px; box-sizing: border-box;
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > figure.wp-block-image > a { display: grid; place-items: center; width: 100%; height: 100%; }
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > figure.wp-block-image:has(img[src*="/ngpluginparagraphfacts/"]) {
	border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%;
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > figure.wp-block-image img[src*="/ngpluginparagraphfacts/"] {
	width: 40px !important; height: 40px !important; margin: 0; box-shadow: none;   /* inline width 80px of the block */
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > figure.wp-block-image img:not([src*="/ngpluginparagraphfacts/"]) {
	display: block; width: 96px !important; height: 96px !important; margin: 0; border-radius: 50%; aspect-ratio: 1;
	object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > p {
	margin: 0 0 6px; font-size: 19px; line-height: 1.35; color: #ffffff; overflow-wrap: anywhere;
}
/* button at the foot of the card (button block, or the link paragraph of older work sections) */
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > :is(.wp-block-buttons, p:last-child:has(> a:only-child)) {
	justify-content: center; width: 100%; margin: auto 0 0; padding-top: 22px;
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > .wp-block-buttons .wp-block-button__link,
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > p:last-child > a:only-child {
	display: inline-block; min-height: 0; padding: 10px 22px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
	background: transparent; box-shadow: none; color: #e2e2e2 !important; /* crelala.css: .wp-element-button white !important */
	font-size: 15px; font-weight: bold; line-height: 1.4; letter-spacing: 0; text-transform: none; text-decoration: none; transform: none;
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > .wp-block-buttons .wp-block-button__link:hover,
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > p:last-child > a:only-child:hover {
	border-color: var(--cm-red); background: transparent; box-shadow: none; color: #ffffff !important; transform: none;
}
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column a:focus-visible { outline: 2px solid var(--cm-red); outline-offset: 3px; }
/* heading above the cards: short red line like the artwork pages */
.crelala-modern h2.wp-block-heading:has(+ .wp-block-columns > .wp-block-column img[src*="/ngpluginparagraphfacts/"])::before {
	content: ""; display: block; width: 32px; height: 2px; margin-bottom: 14px; background: var(--cm-red);
}
@media (max-width: 1023px) {
	.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column:nth-child(3):last-child { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
	.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column { padding: 24px 20px; }
	.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > figure.wp-block-image,
	.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > figure.wp-block-image img:not([src*="/ngpluginparagraphfacts/"]) { width: 80px !important; height: 80px !important; margin-bottom: 14px; }
	.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) > .wp-block-column > figure.wp-block-image img:not([src*="/ngpluginparagraphfacts/"]) { margin: 0; }
}

/* ---------------------------------------------------------------- REGISTRIEREN (0.6.27): „Mein Konto“ abgemeldet =
   Anmelden | Neu als Kunde (WooCommerce-Registrierung) + darunter Karte für Künstler (functions.php) */
.crelala-modern.woocommerce-account .woocommerce form.register > .crelala-signup-intro { margin: 0 0 18px; color: var(--cm-acc-muted); font-size: 15px; line-height: 1.5; }
.crelala-modern.woocommerce-account .woocommerce form.register > p:not(.form-row):not(.crelala-signup-intro),
.crelala-modern.woocommerce-account .woocommerce form.register .woocommerce-privacy-policy-text p { margin: 0 0 14px; color: var(--cm-acc-muted); font-size: 14px; line-height: 1.5; }
.crelala-modern.woocommerce-account .crelala-content > .woocommerce > .crelala-artist-signup {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin: 24px 0 0; padding: 26px 34px;
	background: var(--cm-card); border: 1px solid var(--cm-acc-line); border-left: 3px solid var(--cm-red); border-radius: var(--cm-radius); box-shadow: var(--cm-shadow);
}
.crelala-modern.woocommerce-account .crelala-artist-signup h2 { margin: 0 0 6px !important; font-size: 22px !important; }
.crelala-modern.woocommerce-account .crelala-artist-signup p { margin: 0; color: var(--cm-acc-muted); font-size: 15px; line-height: 1.5; }
.crelala-modern.woocommerce-account .crelala-artist-signup .crelala-artist-signup-text { flex: 1 1 320px; min-width: 0; }
.crelala-modern.woocommerce-account .crelala-artist-signup a.button { flex: 0 0 auto; }
@media (max-width: 599px) {
	.crelala-modern.woocommerce-account .crelala-content > .woocommerce > .crelala-artist-signup { padding: 22px; }
	.crelala-modern.woocommerce-account .crelala-artist-signup a.button { width: 100%; text-align: center; }
}

/* ---------------------------------------------------------------- FORMULARE: KASSE + WARENKORB (0.6.28)
   WooCommerce checkout / cart blocks in the form look of all other forms (tokens --cm-field-*, --cm-form-* at the top):
   dark fields with a fine border, red focus ring, readable floating labels, the form side as one card like the order
   summary. #content prefix: WooCommerce's block styles use long selectors (input[type=…] inside .wc-block-components-form). */
.crelala-modern #content .wc-block-checkout__main {
	padding: var(--cm-form-pad); box-sizing: border-box;
	background: var(--cm-form-card); border: 1px solid var(--cm-form-line); border-radius: var(--cm-radius); box-shadow: var(--cm-shadow);
}
.crelala-modern #content :is(.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block, .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block) {
	background: var(--cm-form-card); border: 1px solid var(--cm-form-line); border-radius: var(--cm-radius); box-shadow: var(--cm-shadow);
}
.crelala-modern #content .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block { padding: 6px 22px 2px; }
.crelala-modern #content .wc-block-cart__sidebar .wc-block-cart__submit { margin-top: 18px; }
/* native controls (checkboxes, select lists, scrollbars) dark in every form */
.crelala-modern :is(.fluentform, .woocommerce, .wc-block-checkout, .wc-block-cart, .select2-dropdown) { color-scheme: dark; }
/* the checkout's contact block is <div id="contact"> – the original header bar #contact (base.css: grey bar, right aligned,
   15 px white links) must not apply there */
.crelala-modern #content #contact.wc-block-components-address-form { padding: 0; background: none; text-align: start; }
.crelala-modern #content #contact.wc-block-components-address-form :is(a, span) { margin-right: 0; font: inherit; color: inherit; }
.crelala-modern #content #contact.wc-block-components-address-form a { color: var(--cm-gold); }
.crelala-modern #content .wc-block-checkout__guest-checkout-notice { margin: 8px 0 0; color: var(--cm-field-hint); font-size: 14px; }
/* steps: no browser fieldset indent */
.crelala-modern #content .wc-block-checkout fieldset.wc-block-components-checkout-step { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.crelala-modern #content .wc-block-checkout .wc-block-components-checkout-step__title { margin: 0 0 16px; color: #ffffff; font-size: 22px; }
.crelala-modern #content .wc-block-checkout .wc-block-components-checkout-step__description { color: var(--cm-field-hint); }
.crelala-modern #content .wc-block-checkout .wc-block-components-checkout-step__container::after { display: none; }   /* no step line */

/* text fields with floating label */
.crelala-modern #content .wc-block-components-text-input :is(input, textarea),
.crelala-modern #content .wc-block-components-combobox .components-combobox-control input,
.crelala-modern #content .wc-block-components-textarea {
	box-sizing: border-box; height: auto; min-height: 52px; margin: 0; padding: 22px 14px 7px;
	background: var(--cm-field-bg); color: var(--cm-field-text); border: 1px solid var(--cm-field-line); border-radius: var(--cm-radius-sm);
	box-shadow: none; outline: none; font: 16px/1.4 Lato, Verdana, Helvetica, sans-serif;
	transition: border-color var(--cm-ease), box-shadow var(--cm-ease), background-color var(--cm-ease);
}
.crelala-modern #content .wc-block-components-textarea { min-height: 110px; padding-top: 12px; }
.crelala-modern #content .wc-block-components-text-input label {
	left: 15px; right: 14px; max-width: calc(100% - 29px); color: var(--cm-field-hint); font-size: 16px; line-height: 1.2;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.crelala-modern #content .wc-block-components-text-input.is-active label,
.crelala-modern #content .wc-block-components-text-input :is(input:focus, input:not(:placeholder-shown)) + label { color: var(--cm-field-hint); }
.crelala-modern #content .wc-block-components-text-input :is(input, textarea)::placeholder { color: transparent; }
.crelala-modern #content :is(.wc-block-components-text-input :is(input, textarea), .wc-block-components-textarea, .wc-blocks-components-select__select):hover:not(:focus) {
	border-color: var(--cm-field-line-hover); background-color: var(--cm-field-bg-hover);
}
.crelala-modern #content :is(.wc-block-components-text-input :is(input, textarea), .wc-block-components-textarea, .wc-blocks-components-select__select, .wc-block-components-combobox .components-combobox-control input):focus {
	border-color: var(--cm-red); box-shadow: var(--cm-field-ring); outline: none;
}
/* selects (country, state) */
.crelala-modern #content .wc-blocks-components-select .wc-blocks-components-select__container { height: 52px; background: transparent; border-radius: var(--cm-radius-sm); }
.crelala-modern #content .wc-blocks-components-select .wc-blocks-components-select__select {
	height: 52px; padding: 20px 40px 4px 14px; background: var(--cm-field-bg); color: var(--cm-field-text);
	border: 1px solid var(--cm-field-line); border-radius: var(--cm-radius-sm); box-shadow: none; outline: none; font-size: 16px;
	transition: border-color var(--cm-ease), box-shadow var(--cm-ease), background-color var(--cm-ease);
}
.crelala-modern #content .wc-blocks-components-select .wc-blocks-components-select__select option { background: var(--cm-field-bg); color: var(--cm-field-text); }
.crelala-modern #content .wc-blocks-components-select .wc-blocks-components-select__label { left: 15px; color: var(--cm-field-hint); font-size: 13px; }
.crelala-modern #content .wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--cm-field-hint); right: 12px; }
/* "+ Adresszusatz", links in the form */
.crelala-modern #content .wc-block-checkout .wc-block-components-address-form__address_2-toggle { color: var(--cm-gold); font-size: 14px; }
/* checkboxes + radio buttons (note, „use same address“, payment / shipping choice) */
.crelala-modern #content .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] {
	width: 20px; height: 20px; min-height: 0; margin: 0 12px 0 0; background: var(--cm-field-bg); border: 1px solid var(--cm-field-line-hover); border-radius: 4px; box-shadow: none;
}
.crelala-modern #content .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--cm-red); border-color: var(--cm-red); }
.crelala-modern #content .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:focus-visible { outline: none; box-shadow: var(--cm-field-ring); }
.crelala-modern #content .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #ffffff; left: 2px; }
.crelala-modern #content .wc-block-components-checkbox label { align-items: center; color: var(--cm-field-label); font-size: 15px; }
.crelala-modern #content .wc-block-components-radio-control__input { background: var(--cm-field-bg); border-color: var(--cm-field-line-hover); }
.crelala-modern #content .wc-block-components-radio-control__input:checked::before { background: var(--cm-red); }
.crelala-modern #content .wc-block-components-radio-control-accordion-option,
.crelala-modern #content .wc-block-components-radio-control__option { border-color: var(--cm-form-line); }
/* validation + notices readable on the dark card */
.crelala-modern #content .wc-block-components-validation-error { color: #f79646; font-size: 14px; }
.crelala-modern #content .has-error :is(input, select, textarea) { border-color: var(--cm-red); }
.crelala-modern #content .has-error label { color: #f79646; }   /* original orange: readable on the dark field */
.crelala-modern #content .wc-block-components-notice-banner {
	background: rgba(255, 255, 255, 0.04); color: var(--cm-field-text); border: 1px solid var(--cm-form-line); border-left: 3px solid var(--cm-gold); border-radius: var(--cm-radius-sm);
}
.crelala-modern #content .wc-block-components-notice-banner.is-error { border-left-color: var(--cm-red); }
.crelala-modern #content .wc-block-components-notice-banner.is-success { border-left-color: #3fd93a; }
.crelala-modern #content .wc-block-components-notice-banner > svg { background: transparent; fill: currentColor; }
.crelala-modern #content .wc-block-checkout .wc-block-checkout__terms { color: var(--cm-field-hint); font-size: 14px; }
.crelala-modern #content .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { min-height: 52px; border-radius: var(--cm-radius-sm); }
.crelala-modern #content .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button { color: var(--cm-gold); }
/* cart: quantity field in the field look */
.crelala-modern #content .wc-block-components-quantity-selector { background: var(--cm-field-bg); border-color: var(--cm-field-line); border-radius: var(--cm-radius-sm); }
.crelala-modern #content .wc-block-components-quantity-selector::after { display: none; }
.crelala-modern #content .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { background: transparent; color: var(--cm-field-text); }
@media (max-width: 599px) {
	.crelala-modern #content .wc-block-checkout__main { padding: 22px 18px; }
}

/* ---------------------------------------------------------------- RÜCKMELDUNG 05.11.2026 (0.6.29, docs/phase6/93-feedback-runde-1.md) */

/* 1. STORIES EINHEITLICH – every post (Blog, Kunstmessen, Künstler im Fokus, Kunst unterwegs) and every page below „CRELALA Kunst
      Stories“ / „CRELALA Kunst vor Ort“ (body class cm-story, functions.php) has ONE text: Lato 18 px / 1.75, left aligned (no
      justified text anywhere, parent core-blocks.css). Imported paragraphs carry own sizes, fonts and line heights (inline
      spans of crelala.de, presets „klein“ / „mittel“) – they are shown in the one text, the content stays unchanged. */
.crelala-modern.cm-story #content :is(p, li):not(.sqrbreadcrumbs, .crelala-timeline *, .wp-block-crelala-slider *, .wp-block-post-excerpt *, [class*="wc-block"] *, .crelala-page-head *) {
	font-family: var(--wp--preset--font-family--lato, Lato, sans-serif) !important; font-size: 18px !important; line-height: 1.75 !important;
	text-align: left; color: #e4e4e4; letter-spacing: normal;
}
.crelala-modern.cm-story #content :is(p, li):not(.sqrbreadcrumbs, .crelala-timeline *, .wp-block-crelala-slider *) :is(span, font, strong, b, em, i, a, u) {
	font-family: inherit !important; font-size: inherit !important; line-height: inherit !important;
}
.crelala-modern.cm-story #content :is(p, li).has-text-align-center { text-align: center !important; }   /* a centred intro stays centred (Kunststile) */
.crelala-modern.cm-story #content figcaption { font-size: 14px !important; line-height: 1.5 !important; color: #a8a8a8; }
.crelala-modern.cm-story #content :is(h2, h3):not(.crelala-page-head *, .wp-block-crelala-slider *) { font-family: var(--wp--preset--font-family--lato, Lato, sans-serif); font-weight: 400; line-height: 1.3; color: #ffffff; text-wrap: balance; }
.crelala-modern.cm-story #content h2:not(.crelala-page-head *, .wp-block-crelala-slider *) { font-size: clamp(24px, 2.2vw, 32px) !important; }
.crelala-modern.cm-story #content h3:not(.crelala-page-head *, .wp-block-crelala-slider *) { font-size: clamp(20px, 1.7vw, 25px) !important; }
.crelala-modern.cm-story #content :is(h2, h3) :is(span, font) { font-size: inherit !important; font-family: inherit !important; }

/* 2. STORY-BILDER IM RICHTIGEN FORMAT – beside the text and in columns two fixed formats instead of every size of the original:
      landscape 4 : 3, upright 4 : 5 (marker cm-portrait from functions.php). The visible part = the blue frame of the owner
      („Bildausschnitt“, crelala-core 0.45.0 → --cm-focus), otherwise the upper third. A big upright picture across the column
      is no longer as high as three screens: at most 82 % of the screen, centred, whole. Galleries keep their own grid. */
.crelala-modern.cm-story #content figure.wp-block-image:is(.alignleft, .alignright, .wp-block-column > *):not(.wp-block-gallery *) img:not([src*="/ngpluginparagraphfacts/"]) {
	width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--cm-focus, 50% 35%);
}
.crelala-modern.cm-story #content figure.wp-block-image.cm-portrait:is(.alignleft, .alignright, .wp-block-column > *):not(.wp-block-gallery *) img:not([src*="/ngpluginparagraphfacts/"]) { aspect-ratio: 4 / 5; }
.crelala-modern.cm-story #content figure.wp-block-image.cm-portrait:not(.alignleft, .alignright, .wp-block-column > *, .wp-block-gallery *) { text-align: center; }
.crelala-modern.cm-story #content figure.wp-block-image.cm-portrait:not(.alignleft, .alignright, .wp-block-column > *, .wp-block-gallery *) img {
	display: inline-block; width: auto !important; max-width: 100%; max-height: min(82vh, 900px); height: auto !important;
}
@media (min-width: 768px) {   /* one width for every picture beside the text */
	.crelala-modern.cm-story #content .wp-block-image:is(.is-style-crelala-third, .is-style-crelala-third-frame, .is-style-crelala-half):is(.alignleft, .alignright) { width: 38%; }
}

/* 3. BILDAUSSCHNITT everywhere a preview is cropped – the choice of the owner (--cm-focus / --cm-crop-sq, only set when chosen) */
.crelala-modern .wp-block-post-featured-image img[style*="--cm-focus"],
.crelala-modern .is-style-crelala-crop img[style*="--cm-focus"],
.crelala-modern .wp-block-crelala-slider img[style*="--cm-focus"],
.crelala-modern .wp-block-query .crelala-tile img[style*="--cm-focus"],
.crelala-modern .ngpluginshopteasertiles img[style*="--cm-focus"],
.crelala-modern .ngteasercascade figure > img[style*="--cm-focus"],
.crelala-modern.home .wp-block-group.is-style-crelala-columns img[style*="--cm-focus"],
.crelala-modern img[style*="--cm-focus"]:is([style*="object-fit:cover"], [style*="object-fit: cover"]) { object-position: var(--cm-focus) !important; }
.crelala-modern :is(.is-style-rounded, .crelala-fact-portrait, .crelala-artist-line) img[style*="--cm-crop-sq"],
.crelala-modern .wp-block-columns:has(> .wp-block-column img[src*="/ngpluginparagraphfacts/"]) img[style*="--cm-crop-sq"] { object-position: var(--cm-crop-sq) !important; }

/* 4. START PAGE „CRELALA Kunst vor Ort“: smaller and clearly a row to scroll – four stories and a cut fifth at the edge (like
      crelala.de: cut pictures show there is more). How many per view = setting of the block (step 32: 4, „Vorschau des
      nächsten“ on); here only the smaller card: 4:3 picture, short text. */
.crelala-modern.home .wp-block-crelala-slider.is-style-beitraege .wp-block-post-featured-image { margin-bottom: 12px; aspect-ratio: 4 / 3; }
.crelala-modern.home .wp-block-crelala-slider.is-style-beitraege .wp-block-post-title { margin-bottom: 6px; font-size: 17px; }
.crelala-modern.home .wp-block-crelala-slider.is-style-beitraege .wp-block-post-excerpt { font-size: 14px; }
.crelala-modern.home .wp-block-crelala-slider.is-style-beitraege .wp-block-post-excerpt__excerpt { -webkit-line-clamp: 2; margin-bottom: 8px; }
.crelala-modern.home .wp-block-crelala-slider.is-style-beitraege .crelala-slider__nav { margin-top: 14px; }

/* 5. WARENKORB („Einkaufen“): empty cart as a calm card with the way back into the shop, then the work cards of the site */
.crelala-modern.woocommerce-cart #content .wp-block-woocommerce-empty-cart-block { max-width: 1180px; margin: 0 auto; text-align: center; }
.crelala-modern.woocommerce-cart #content .wc-block-cart__empty-cart__title { margin: 10px 0 8px; font-size: 26px; font-weight: 400; color: #fff; }
.crelala-modern.woocommerce-cart #content .wp-block-woocommerce-empty-cart-block > p { color: #c4c4c4; }
.crelala-modern.woocommerce-cart #content .wp-block-woocommerce-empty-cart-block .wp-block-buttons { justify-content: center; margin: 18px 0 46px; }
.crelala-modern.woocommerce-cart #content .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { margin: 0 0 18px; text-align: left; font-size: 24px; font-weight: 400; }
.crelala-modern.woocommerce-cart #content .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-collection { text-align: left; }
.crelala-modern .crelala-price-from { font-weight: normal; }

/* 6. KUNSTGALERIE BENSHEIM (step 32 builds the page from core blocks; classes cm-bensheim-*): hero picture with the invitation,
      info card, three steps, a calm 3-column picture grid (all 4 : 3, lightbox), the video not wider than needed */
.crelala-modern #content .wp-block-cover.cm-bensheim-hero { min-height: clamp(320px, 42vw, 520px) !important; margin-bottom: clamp(36px, 4vw, 56px); border-radius: var(--cm-radius, 8px); overflow: hidden; }
.crelala-modern #content .cm-bensheim-hero .wp-block-cover__inner-container { max-width: 760px; margin: 0 auto; text-align: center; }
.crelala-modern #content .cm-bensheim-hero h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 44px) !important; font-weight: 300; text-align: center; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.crelala-modern #content .cm-bensheim-hero p { margin: 0 0 22px; font-size: clamp(16px, 1.4vw, 19px) !important; text-align: center !important; color: #f2f2f2; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.crelala-modern #content .cm-bensheim-intro { gap: clamp(28px, 4vw, 56px); align-items: flex-start; }
.crelala-modern #content .cm-info-card { padding: 26px 28px; background: #383838; border-left: 4px solid var(--cm-red, #e2001a); border-radius: var(--cm-radius-sm, 4px); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.6); }
.crelala-modern #content .cm-info-card h3 { margin-top: 0; }
.crelala-modern #content .cm-info-card p { margin: 0 0 14px; font-size: 17px !important; line-height: 1.6 !important; }
.crelala-modern #content .cm-bensheim-steps { gap: 22px; }
.crelala-modern #content .cm-bensheim-steps > .wp-block-column { padding: 22px 24px; background: #3a3a3a; border-radius: var(--cm-radius-sm, 4px); }
.crelala-modern #content .cm-bensheim-steps h3 { margin-top: 0; padding-bottom: 8px; border-bottom: 2px solid var(--cm-red, #e2001a); }
.crelala-modern #content .cm-bensheim-steps p { margin: 0; font-size: 17px !important; }
.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px !important; }
.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery > figure.wp-block-image { grid-column: span 2; }
.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery > figure.wp-block-image:nth-child(3n+4):nth-last-child(2),
.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery > figure.wp-block-image:nth-child(3n+5):last-child { grid-column: span 3; }   /* 5 pictures: 3 + 2, no hole */
.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery > figure.wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--cm-radius-sm, 4px); }
.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery > figure.wp-block-image img { width: 100% !important; height: 100% !important; max-height: none !important; aspect-ratio: auto; object-fit: cover !important; object-position: var(--cm-focus, 50% 50%); }
@media (max-width: 781px) {
	.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery > figure.wp-block-image { grid-column: auto !important; }
	.crelala-modern #content .wp-block-gallery.cm-bensheim-gallery > figure.wp-block-image:last-child:nth-child(odd) { grid-column: 1 / -1 !important; aspect-ratio: 16 / 9; }
}
.crelala-modern #content .wp-block-video.cm-bensheim-video { max-width: 760px; margin: 0 auto; }
.crelala-modern #content .wp-block-video.cm-bensheim-video video { display: block; width: 100%; max-height: 70vh; background: #000; border-radius: var(--cm-radius-sm, 4px); }
.crelala-modern #content .cm-bensheim-cta { padding: clamp(28px, 4vw, 44px); border-radius: var(--cm-radius, 8px); }

/* ---------------------------------------------------------------- respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
	.crelala-modern *,
	.crelala-modern *::after { transition: none !important; animation: none !important; }
	.crelala-modern .ngpluginshopteasertiles > div > ul > li:hover,
	.crelala-modern .ngteasercascade > ul > li > ul > li > ul > li:hover,
	.crelala-modern ul.teaserpicturecaption li:hover { transform: none !important; }
	.crelala-modern .wp-block-woocommerce-product-collection .wc-block-product:hover,
	.crelala-modern .wp-block-woocommerce-product-collection .wc-block-product:hover img { transform: none !important; }
	.crelala-modern .crelala-tile:hover,
	.crelala-modern .crelala-tile:hover img { transform: none !important; }
	.crelala-modern .ngpluginshopteasertiles img,
	.crelala-modern .ngteasercascade figure > img,
	.crelala-modern ul.teaserpicturecaption li img { transform: none !important; }   /* no hover zoom */
	.crelala-modern .cm-pending { opacity: 1; transform: none; }
}

/* 0.6.30 (Rückmeldung 2): Kunstmessen / CRELALA Kunst Blog as native post cards – month + year above the title */
.crelala-modern .wp-block-query.crelala-stories .wp-block-post-date { margin: 14px 20px 0; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #bdbdbd; }
.crelala-modern .wp-block-query.crelala-stories .wp-block-post-date + .wp-block-post-title { margin-top: 6px; }
.crelala-modern .wp-block-query.crelala-stories .wp-block-query-pagination { margin: 36px 0 8px; gap: 10px; font-size: 16px; }
.crelala-modern .wp-block-query.crelala-stories .wp-block-query-pagination a { color: #f2f2f2; }
.crelala-modern .wp-block-query.crelala-stories .wp-block-query-pagination .current { color: var(--cm-red, #c8102e); font-weight: bold; }

/* =====================================================================================================================
   0.6.32 SHOP (docs/phase6/105-shop-test-anpassungen.md): shop notices on product / cart pages, „Bestellung eingegangen“
   (order received) in the CRELALA look, EU legal guarantee label at the checkout small
   ===================================================================================================================== */
.crelala-modern:not(.woocommerce-account) .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 22px;
	padding: 14px 18px;
	background: var(--cm-card);
	color: #f2f2f2;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-left: 4px solid var(--cm-red);
	border-radius: var(--cm-radius-sm);
	box-shadow: var(--cm-shadow);
	list-style: none;
}
.crelala-modern:not(.woocommerce-account) .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before,
.crelala-modern:not(.woocommerce-account) .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::after { display: none; }
.crelala-modern:not(.woocommerce-account) .woocommerce-notices-wrapper .woocommerce-message .button {
	float: none;
	order: 2;
	margin: 0;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 14px;
	white-space: nowrap;
}

/* order received */
.crelala-modern.woocommerce-order-received .woocommerce-order { max-width: 920px; }
.crelala-modern.woocommerce-order-received .woocommerce-thankyou-order-received {
	position: relative;
	margin: 0 0 22px;
	padding: 20px 24px 20px 64px;
	font-size: 20px;
	line-height: 1.45;
	color: #ffffff;
	background: var(--cm-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cm-radius);
	box-shadow: var(--cm-shadow);
}
.crelala-modern.woocommerce-order-received .woocommerce-thankyou-order-received::before {
	content: "✓";
	position: absolute;
	left: 22px;
	top: 50%;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: #3fd93a;
	color: #1f1f1f;
	font-size: 16px;
	font-weight: bold;
	line-height: 28px;
	text-align: center;
}
.crelala-modern.woocommerce-order-received ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}
.crelala-modern.woocommerce-order-received ul.woocommerce-order-overview::before,
.crelala-modern.woocommerce-order-received ul.woocommerce-order-overview::after { display: none; }
.crelala-modern.woocommerce-order-received ul.woocommerce-order-overview li {
	float: none;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cm-radius-sm);
	background: var(--cm-card);
	font-size: 13px;
	line-height: 1.4;
	text-transform: none;
	color: #a6a6a6;
}
.crelala-modern.woocommerce-order-received ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	color: #ffffff;
	word-break: break-word;
}
.crelala-modern.woocommerce-order-received .woocommerce-order :is(h2, h3) { font-size: 22px; margin: 0 0 14px; }
.crelala-modern.woocommerce-order-received .woocommerce-order section { margin: 0 0 30px; }
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--cm-card);
	color: #f2f2f2;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cm-radius);
	font-size: 15px;
}
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table :is(tr, th, td) { background: transparent !important; color: inherit; }
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table :is(th, td) {
	padding: 14px 18px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	vertical-align: top;
}
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table :is(th, td):last-child { text-align: right; }
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table thead th {
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #a6a6a6;
}
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table tfoot th { font-weight: normal; color: #cfcfcf; }
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table tfoot tr:last-child > * { border-bottom: 0; }
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table tfoot tr:nth-last-child(2) > * { font-size: 17px; font-weight: bold; color: #ffffff; }
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table a { color: var(--cm-gold); text-decoration: none; }
.crelala-modern.woocommerce-order-received .woocommerce-order table.shop_table .product-quantity { color: #a6a6a6; font-weight: normal; }
.crelala-modern.woocommerce-order-received .woocommerce-order :is(.wc-item-meta, .wc-gzd-cart-info) { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; color: #a6a6a6; }
.crelala-modern.woocommerce-order-received .woocommerce-order .wc-item-meta p { display: inline; margin: 0; }
.crelala-modern.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.crelala-modern.woocommerce-order-received .woocommerce-customer-details :is(.woocommerce-column, > address) {
	float: none;
	width: auto;
	margin: 0;
	padding: 20px 22px;
	background: var(--cm-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cm-radius);
}
.crelala-modern.woocommerce-order-received .woocommerce-customer-details .woocommerce-column h2 { font-size: 18px; margin: 0 0 10px; }
.crelala-modern.woocommerce-order-received .woocommerce-customer-details address {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	line-height: 1.65;
	color: #e6e6e6;
}
.crelala-modern.woocommerce-order-received .woocommerce-customer-details address p { margin: 8px 0 0; color: #a6a6a6; }
@media (max-width: 700px) {
	.crelala-modern.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses { grid-template-columns: 1fr; }
	.crelala-modern.woocommerce-order-received .woocommerce-thankyou-order-received { font-size: 17px; }
}

/* EU legal guarantee notice (Germanized, checkout only): a card „Ihre Rechte beim Kauf“, the official sheet FULL and readable
   (up to 400 px) before the order button – a click preview / a link is not enough for the legal guarantee (Händlerbund 2026, doc 105) */
.crelala-modern .wc-gzd-block-checkout__legal-guarantee {
	display: grid;
	grid-template-columns: 1fr minmax(0, 400px);
	gap: 24px;
	align-items: start;
	margin: 28px 0;
	padding: 24px 26px;
	background: var(--cm-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cm-radius);
	box-shadow: var(--cm-shadow);
}
.crelala-modern .wc-gzd-block-checkout__legal-guarantee::before { content: "Ihre Rechte beim Kauf"; grid-column: 1; grid-row: 1; font-size: 20px; font-weight: bold; line-height: 1.3; color: #ffffff; }
.crelala-modern .wc-gzd-block-checkout__legal-guarantee::after {
	content: "Für alle Kunstwerke gilt die gesetzliche Gewährleistung von mindestens zwei Jahren. Hier finden Sie den offiziellen Hinweis der Europäischen Union dazu.";
	grid-column: 1;
	grid-row: 1;
	margin-top: 38px;
	font-size: 14px;
	line-height: 1.6;
	color: #a6a6a6;
}
.crelala-modern .wc-gzd-block-checkout__legal-guarantee > * { grid-column: 2; grid-row: 1; }
.crelala-modern :is(.wc-gzd-block-checkout__legal-guarantee, .wc-gzd-legal-guarantee-global) img { display: block; width: 100%; max-width: 400px; height: auto; border-radius: 4px; }
@media (max-width: 900px) {
	.crelala-modern .wc-gzd-block-checkout__legal-guarantee { grid-template-columns: 1fr; }
	.crelala-modern .wc-gzd-block-checkout__legal-guarantee > * { grid-column: 1; grid-row: auto; }
}
/* Germanized adds its own „Vertrag widerrufen“ button after the footer – the link is already in the footer navigation (step 41) */
.crelala-modern > .eu-owb-order-withdraw-from-contract-button { display: none; }

/* 0.6.33 checkout / cart blocks: order summary items dark like the rest of the card (WooCommerce paints them light grey) */
.crelala-modern :is(.wc-block-components-order-summary, .wc-block-components-order-summary .wc-block-components-panel__content, .wc-block-components-order-summary-item, .wc-block-cart-items, .wc-block-cart-items__row) {
	background: transparent !important;
	color: #e6e6e6;
}
.crelala-modern .wc-block-components-order-summary-item { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.crelala-modern .wc-block-components-order-summary-item:last-child { border-bottom: 0; }
.crelala-modern .wc-block-components-order-summary-item__image img { border-radius: 4px; }
.crelala-modern .wc-block-components-order-summary-item__quantity {
	background: var(--cm-red) !important;
	color: #ffffff !important;
	border: 0 !important;
	box-shadow: none !important;
	font-weight: bold;
}
.crelala-modern :is(.wc-block-components-order-summary-item, .wc-block-cart-items) .wc-block-components-product-name { color: #ffffff; font-weight: bold; text-decoration: none; }
.crelala-modern .wc-block-components-order-summary-item__total-price { color: #ffffff; font-weight: bold; }
.crelala-modern :is(.wc-block-components-order-summary-item__individual-prices, .wc-block-components-product-metadata, .wc-block-components-product-metadata__description) {
	color: #a6a6a6 !important;
	font-size: 13px;
	line-height: 1.5;
}
.crelala-modern .wc-block-components-product-metadata .wc-gzd-cart-info { color: #cfcfcf; margin-top: 6px; }

/* ---------------------------------------------------------------- KUNST VOR ORT (0.6.36, step 43, docs/phase6/106)
   Overview pages „Showroom“ / „KamÜ“ (theme templates, group .crelala-kvo) and the KamÜ exhibition posts – core blocks with
   three classes: .crelala-lead (opening sentence), .crelala-facts (list „Vernissage / Geöffnet …“), .crelala-info-card
   (group „Auf einen Blick“ / „Anfahrt“). Same card look as the post cards below them. */
.crelala-modern .crelala-kvo { padding: 0 30px; box-sizing: border-box; }
.crelala-modern .crelala-kvo > .wp-block-query.crelala-post-cards { padding-left: 0; padding-right: 0; }
.crelala-modern .crelala-kvo > .wp-block-image.is-style-crelala-panorama { margin: 0 0 32px; }
.crelala-modern .crelala-kvo > .wp-block-columns { gap: 40px; margin-bottom: 48px; }
.crelala-modern .crelala-kvo > h2.wp-block-heading { margin: 8px 0 22px; }
.crelala-modern .crelala-kvo .wp-block-column > .wp-block-image { margin: 0 0 20px; }
.crelala-modern .crelala-kvo .wp-block-column > .wp-block-image img { width: 100%; border-radius: var(--cm-radius); box-shadow: var(--cm-shadow); }
.crelala-modern .crelala-kvo p { text-align: left; }
.crelala-modern p.crelala-lead { font-size: 1.15em; line-height: 1.6; color: #f2f2f2; }
.crelala-modern .wp-block-group.crelala-info-card {
	padding: 24px 26px; border: 1px solid rgba(255, 255, 255, 0.11); border-top: 3px solid #e30613;
	border-radius: var(--cm-radius); background: #323232; box-shadow: var(--cm-shadow);
}
.crelala-modern .wp-block-group.crelala-info-card > h3.wp-block-heading { margin: 0 0 14px; font-size: 1.1em; }
.crelala-modern .wp-block-group.crelala-info-card > *:last-child { margin-bottom: 0; }
.crelala-modern ul.wp-block-list.crelala-facts { list-style: none; margin: 0 0 22px; padding: 0; }
.crelala-modern ul.wp-block-list.crelala-facts > li { position: relative; margin: 0; padding: 8px 0 8px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); line-height: 1.5; }
.crelala-modern ul.wp-block-list.crelala-facts > li:last-child { border-bottom: 0; }
.crelala-modern ul.wp-block-list.crelala-facts > li::before {
	content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: #e30613;
}
.crelala-modern ul.wp-block-list.crelala-facts strong { color: #f2f2f2; }
.crelala-modern .crelala-page-content ul.wp-block-list.crelala-facts {   /* in a post: a card of its own below the lead */
	padding: 14px 24px; border: 1px solid rgba(255, 255, 255, 0.11); border-radius: var(--cm-radius); background: rgba(255, 255, 255, 0.03);
}
.crelala-modern .crelala-page-content .wp-block-gallery.has-nested-images { gap: 12px; margin-bottom: 36px; }
.crelala-modern .crelala-page-content .wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 6px; }
.crelala-modern .crelala-page-content > .wp-block-columns { gap: 32px; align-items: flex-start; }
.crelala-modern .crelala-page-content .wp-block-column > .wp-block-image img { width: 100%; border-radius: var(--cm-radius); }
@media (max-width: 767px) {
	.crelala-modern .crelala-kvo { padding: 0 16px; }
	.crelala-modern .crelala-kvo > .wp-block-columns { gap: 24px; margin-bottom: 32px; }
	.crelala-modern .wp-block-group.crelala-info-card { padding: 20px; }
}

/* 0.6.37: pictures in section groups on landing pages („Seite ohne Kopf“, functions.php) as wide as the artwork tiles below them */
.crelala-modern figure.wp-block-image.cm-banner-full { width: 100%; max-width: none; }
.crelala-modern figure.wp-block-image.cm-banner-full img { display: block; width: 100%; height: auto; }
