/*
 * CRELALA Modern – artwork pages (body.crelala-work-page), loaded only on product pages: the WooCommerce template
 * „Einzelnes Produkt“ of the parent theme (.crelala-product …, Phase G) in the calm gallery look – centred stage, narrow
 * information column, generous spacing; colours stay CRELALA: anthracite, logo red, ribbon red, link gold.
 * 0.6.7 (G 9/n): the rules of the old artwork block hero (.crelala-work…, own carousel, „Weitere Werke“ tiles) are gone –
 * every artwork page is the template.
 */

.crelala-work-page {
	--cw-width: 1680px;
	--cw-line: rgba(255, 255, 255, 0.11);
	--cw-line-strong: rgba(255, 255, 255, 0.28);
	--cw-muted: #b4b4b4;
	--cw-soft: #e2e2e2;
	--cw-panel: #3c3c3c;
	--cw-ribbon: #a42323;
	--cw-ribbon-fold: #711818;
	--cw-red: var(--cm-red, #e30613);
	--cw-gold: var(--cm-gold, #ffd700);
	--cw-sticky: 96px;
	--cw-section: clamp(56px, 7vw, 96px);
	--cw-gap: clamp(40px, 8vw, 150px);
}

/* ---------------------------------------------------------------- one centred stage for the whole page */
.crelala-work-page #content .sqrallwaysboxed {
	max-width: var(--cw-width);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* page head: breadcrumbs + SEO title as a quiet context line (the work title follows in the hero) */

.crelala-work-page #content h1 { font-size: clamp(32px, 3vw, 46px); font-weight: 300; }
.crelala-work-page p.sqrbreadcrumbs { font-size: 15px; margin-bottom: 6px; color: #9c9c9c; }

/* ---------------------------------------------------------------- hero: thumbnails | work | information */

/* ribbon at the picture – colours and fold of the shop tile ribbons */

/* thumbnails: narrow column left of the work */

/* information column */

/* key facts at a glance: 2 × 2 grid with hairlines */

/* service notes (text changer of the page): line icon per topic in CRELALA red */

/* the text changer below is shown here instead (same Gutenberg block, no second copy) */

/* price column (WooCommerce output of crelala_shop_*; „Preis auf Anfrage“ / „Nicht lieferbar“ from crelala-core) */

/* secondary action (outline) */

/* artist card */

/* link colours: buttons and chips stay white (the site's link gold is kept for text links) */

/* ---------------------------------------------------------------- section headings: one style for the whole page */
.crelala-work-page #content h2.sqrallwaysboxed {
	font-size: 29px;
	font-weight: 300;
	line-height: 1.3;
	letter-spacing: 0.005em;
	text-transform: none;
	color: #ffffff;
	margin-top: 0;
	margin-bottom: 26px;
}
.crelala-work-page #content h2.sqrallwaysboxed::before {
	content: "";
	display: block;
	width: 32px;
	height: 2px;
	margin-bottom: 14px;
	background: var(--cw-red);
}

/* text bands (short info, "Ist das passende Kunstwerk …"): plain text on the page, left aligned like an article */
.crelala-work-page .sqrallwaysfullwidth { margin-top: var(--cw-section); }

/* "Weitere Impressionen von …": carousel (work.js builds it from the Gutenberg gallery; lightbox unchanged) */
.crelala-work-page .sqrmobilefullwidth:has(.is-style-crelala-karussell) { margin-top: var(--cw-section); }

.crelala-work-page .sqrmobilefullwidth > h2.sqrallwaysboxed { padding-left: 30px !important; padding-right: 30px !important; }

.crelala-work-page .sqrmobilefullwidth > h2.sqrallwaysboxed { margin-left: auto !important; margin-right: auto !important; }

/* ---------------------------------------------------------------- tablet / mobile */
@media (max-width: 767px) {
	.crelala-work-page { --cw-section: 52px; }
	
	
		
	
	.crelala-work-page .sqrmobilefullwidth > h2.sqrallwaysboxed { padding-left: 16px !important; padding-right: 16px !important; }
	
	
	
	
}

/* ================================================================ 0.6.6 (Phase G): artwork page as block template
   single-product.html of the parent theme – WooCommerce blocks (gallery, price, stock, cart form, specifications, summary,
   description, Product Collection) + core blocks. Same visual language as the gallery hero above: centred stage, the work
   large on its own, a calm information column, red accents, generous section spacing. */
.crelala-work-page .crelala-page-head,
.crelala-work-page .crelala-product { max-width: var(--cw-width); margin-left: auto; margin-right: auto; box-sizing: border-box; }
.crelala-work-page .crelala-page-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; padding-top: 4px; }
.crelala-work-page .crelala-page-head > .wp-block-breadcrumbs { order: -1; display: flex; align-items: baseline; margin: 0; font-size: 15px; color: #9c9c9c; }
.crelala-work-page .crelala-page-head > .wp-block-breadcrumbs::after { content: "·"; margin-left: 10px; color: #8a8a8a; }
.crelala-work-page .crelala-page-head > .wp-block-breadcrumbs li:has([aria-current]) { display: none; }
.crelala-work-page #content .crelala-page-head > h1.crelala-product-h1 { margin: 0; font-size: 15px; font-weight: normal; line-height: 1.5; letter-spacing: 0.02em; color: #9c9c9c; }
.crelala-work-page #content .crelala-page-head > h1.crelala-product-h1::after,
.crelala-work-page #content .crelala-page-head > h1.crelala-product-h1::before { display: none; }

.crelala-work-page .crelala-product { padding-top: 22px; }
.crelala-work-page .crelala-product-hero { align-items: flex-start; margin-bottom: var(--cw-section); }
.crelala-work-page .crelala-product-media { position: sticky; top: var(--cw-sticky); }
/* 0.6.13 (design repair F): block „Produktgalerie“ – round dark arrows, active thumbnail framed white; the stage never zooms
   on hover. 0.6.14: the stage has no colour, no shadow – the whole work stands on the page itself (no visible box/matte). */
.crelala-modern .crelala-product .wc-block-product-gallery-large-image { border-radius: var(--cm-radius); background: transparent; }
.crelala-modern .crelala-product .wc-block-product-gallery-large-image .wc-block-components-product-image,
.crelala-modern .crelala-product .wc-block-product-gallery-large-image .wc-block-components-product-image img { background: transparent; }
.crelala-modern .crelala-product .wc-block-next-previous-buttons__button {
	width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgba(20, 20, 20, 0.62); color: #ffffff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
	transition: background-color var(--cm-ease), opacity var(--cm-ease);
}
.crelala-modern .crelala-product .wc-block-next-previous-buttons__button:hover { background: var(--cm-red); }
.crelala-modern .crelala-product .wc-block-next-previous-buttons__button[aria-disabled=true] { opacity: 0; pointer-events: none; }
.crelala-modern .crelala-product .wc-block-next-previous-buttons__button { display: inline-flex; align-items: center; justify-content: center; margin: 0 10px; }
.crelala-modern .crelala-product .wc-block-product-gallery-thumbnails__thumbnail { overflow: hidden; transition: opacity var(--cm-ease); }   /* look: 0.6.17 below */
/* 0.6.17 (visual repair 3/n, docs/phase6/84-visuelle-reparatur-3.md): the work like on crelala.de – large, whole and directly
   on the page (crelala.de shows the picture in its own proportions with no box around it). 0.6.16 put every work on a dark
   "wall" of fixed size – a portrait then stood in a wide dark field (a matte). Now: one stage HEIGHT for every work (from the
   screen height – never taller than the screen, the thumbnails stay in view, nothing jumps between the pictures), no colour,
   no frame; the whole work centred in it at its own proportions with a soft shadow; the free part is the page itself.
   Arrows, swipe, thumbnails and the full screen view (click on the work) are WooCommerce' block „Produktgalerie“; the
   pictures are the product picture + product gallery of the work (product editor). */
.crelala-work-page { --cw-stage: clamp(320px, calc(100vh - 290px), 660px); }
.crelala-modern .crelala-product .wc-block-product-gallery-large-image { background: none; border-radius: 0; overflow: hidden; }
.crelala-modern .crelala-product .wc-block-product-gallery-large-image__wrapper { max-height: none; }
.crelala-modern .crelala-product .wc-block-product-gallery-large-image .wc-block-components-product-image img {
	box-sizing: border-box; width: 100%; height: var(--cw-stage) !important; aspect-ratio: auto !important; padding: 6px 16px 26px 4px;   /* room for the shadow */
	object-fit: contain !important; object-position: 0 50%; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.4)); cursor: zoom-in;
}
/* 0.6.20 (visual repair 6/n): the work stands at the LEFT edge of its stage – the same left edge as the thumbnail row below
   (4 px = room of the thumbnails' focus outline). Before: centred in the stage, so a portrait began ~200 px right of the
   thumbnails. Same for every work, nothing to maintain. */
/* thumbnails: the pictures themselves (small square crop – navigation only, the stage shows the whole work), no boxes */
.crelala-modern .crelala-product .wc-block-product-gallery-thumbnails { margin-top: 6px; }
.crelala-modern .crelala-product .wc-block-product-gallery-thumbnails__scrollable { gap: 12px; padding: 4px; scrollbar-width: thin; scrollbar-color: #666 transparent; }
.crelala-modern .crelala-product .wc-block-product-gallery-thumbnails__thumbnail {
	flex: 0 0 auto; width: clamp(64px, 11%, 96px); aspect-ratio: 1; background: none; border-radius: 4px; opacity: 0.55; outline: 0; cursor: pointer;
}
.crelala-modern .crelala-product .wc-block-product-gallery-thumbnails__thumbnail img { box-sizing: border-box; width: 100%; height: 100%; padding: 0; object-fit: cover !important; border-radius: 4px; }
.crelala-modern .crelala-product .wc-block-product-gallery-thumbnails__thumbnail:hover { opacity: 0.9; outline: 0; }
.crelala-modern .crelala-product .wc-block-product-gallery-thumbnails__thumbnail:has(.wc-block-product-gallery-thumbnails__thumbnail__image--is-active) { opacity: 1; outline: 2px solid #ffffff; outline-offset: 3px; }
.crelala-modern .crelala-product .wc-block-product-gallery-thumbnails__thumbnail:focus-within { outline: 3px solid var(--cm-gold); outline-offset: 3px; opacity: 1; }
/* arrows: at the edges of the stage, quiet until the pointer is over the work */
.crelala-modern .crelala-product .wc-block-product-gallery-large-image__inner-blocks .wc-block-next-previous-buttons__button { margin: 0 4px; }
.crelala-modern .crelala-product .wc-block-next-previous-buttons__button:focus-visible { outline: 3px solid var(--cm-gold); outline-offset: 2px; }
/* full screen view (WooCommerce dialog): over the whole page (the sticky picture column is its own stacking context – it is
   lifted while the dialog is open), dark, every picture whole on the screen, one below the other */
.crelala-work-page .crelala-product-media:has(.wc-block-product-gallery-dialog[open]) { z-index: 100000; }
.crelala-modern .wc-block-product-gallery-dialog[open] { z-index: 100000; background: #262626; color: #ebebeb; }
.crelala-modern .wc-block-product-gallery-dialog__header { background: #262626; }
.crelala-modern .wc-block-product-gallery-dialog__content { align-items: center; gap: 32px; padding-bottom: 40px; }
.crelala-modern .wc-block-product-gallery-dialog__content img {
	display: block; width: auto !important; height: auto !important; max-width: min(100%, 1500px); max-height: calc(100vh - 130px);
	margin: 0 auto; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}
.crelala-modern .wc-block-product-gallery-dialog__close-button { min-width: 44px; min-height: 44px; color: #ebebeb; }
.crelala-modern .wc-block-product-gallery-dialog__close-button:focus-visible { outline: 3px solid var(--cm-gold); outline-offset: 2px; }
@media (max-width: 781px) {
	.crelala-work-page { --cw-stage: min(64vh, 100vw); }
	.crelala-modern .crelala-product .wc-block-product-gallery-large-image .wc-block-components-product-image img { padding: 0 0 18px 4px; }
}
@media (prefers-reduced-motion: reduce) {
	.crelala-modern .crelala-product .wc-block-product-gallery-large-image__container { scroll-behavior: auto; transition: none !important; }
}
.crelala-work-page .crelala-product-info { max-width: 560px; }
.crelala-work-page .crelala-product-artist { margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.crelala-modern .crelala-product-artist a,
.crelala-modern .crelala-product-artist a:visited { color: var(--cw-soft); text-decoration: none; }
.crelala-modern .crelala-product-artist a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.crelala-modern h2.crelala-product-title { margin: 0 0 22px; font-size: clamp(34px, 3vw, 46px); font-weight: 300; line-height: 1.15; color: #ffffff; }
.crelala-modern h2.crelala-product-title::before,
.crelala-modern h2.crelala-product-title::after { display: none; }
.crelala-work-page .crelala-product-price { margin: 0 0 4px; font-size: 30px; line-height: 1.2; color: #ffffff; font-weight: 600; }
.crelala-work-page .crelala-product-priceinfo { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--cw-muted); }
.crelala-modern .crelala-product .crelala-work-state.is-in-stock { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 16px; font-weight: normal; color: var(--cw-soft); }
.crelala-modern .crelala-product .crelala-work-state.is-in-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4fc95a; box-shadow: 0 0 0 3px rgba(79, 201, 90, 0.18); }
/* 0.6.38: „Verkauft“ / „Nicht lieferbar“ under the price = quiet status line like „sofort lieferbar“ (dot + text), no pill */
.crelala-modern .crelala-product .crelala-work-state.is-sold,
.crelala-modern .crelala-product .crelala-work-state.is-unavailable {
	display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 0; border: 0; background: none; border-radius: 0;
	font-size: 16px; font-weight: normal; letter-spacing: 0; text-transform: none; color: var(--cw-soft);
}
.crelala-modern .crelala-product .crelala-work-state.is-sold::before,
.crelala-modern .crelala-product .crelala-work-state.is-unavailable::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #d23a3a; box-shadow: 0 0 0 3px rgba(210, 58, 58, 0.2); }
.crelala-modern .crelala-product .crelala-work-state.is-unavailable::before { background: #8a8a8a; box-shadow: 0 0 0 3px rgba(138, 138, 138, 0.2); }
/* 0.6.38: the same diagonal band as on the cards, over the top right corner of the visible work picture (crelala-core
   WorkPage::gallery_ribbon positions the corner on the picture of the current slide) */
.crelala-modern .crelala-product .wc-block-product-gallery-large-image { position: relative; }
.crelala-modern .crelala-photo-corner {
	position: absolute; z-index: 3; top: 0; left: 0; width: 110px; height: 110px; overflow: hidden; pointer-events: none;
	opacity: 0; transition: opacity 0.2s ease;
}
.crelala-modern .crelala-photo-corner > .crelala-ribbon {
	position: absolute; top: 24px; right: -34px; width: 150px; height: 26px; transform: rotate(45deg);
	background: var(--cw-ribbon); color: #ffffff; box-shadow: 0 3px 10px -5px #000000;
	font-size: 12px; font-weight: bold; line-height: 26px; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; white-space: nowrap;
}
.crelala-modern .crelala-photo-corner > .crelala-ribbon.is-unavailable { background: #5f5f5f; }
.crelala-work-page .crelala-product-cart form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.crelala-work-page .crelala-product .crelala-product-cart .quantity { display: none !important; }
.crelala-work-page .crelala-product-cart table.variations { width: 100%; margin: 0 0 12px; }
.crelala-work-page .crelala-product-cart table.variations th,
.crelala-work-page .crelala-product-cart table.variations td { display: block; padding: 0 0 6px; text-align: left; }
.crelala-work-page .crelala-product-cart table.variations select { width: 100%; min-height: 46px; padding: 0 12px; border-radius: 6px; }
.crelala-work-page .crelala-product-cart .single_variation_wrap { width: 100%; }
.crelala-modern .crelala-product-cart button.single_add_to_cart_button {
	display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; padding: 16px 30px;
	border: 0; border-radius: 999px; background: var(--cw-red); color: #ffffff; font-size: 18px; font-weight: bold; cursor: pointer;
	text-transform: none; transition: background 0.2s ease;
}
.crelala-modern .crelala-product-cart button.single_add_to_cart_button::after { content: "→"; font-weight: normal; }
.crelala-modern .crelala-product-cart button.single_add_to_cart_button:hover { background: var(--cm-red-dark, #c30511); }
.crelala-work-page .crelala-product-cart .crelala-request { margin: 0; padding: 10px 0 4px; }
.crelala-work-page .crelala-product-cart .crelala-request-button { display: flex; width: 100%; min-height: 64px; }
.crelala-work-page .crelala-product-actions { margin-top: 10px; }
.crelala-work-page .crelala-product-actions .wp-block-button { width: 100%; }
.crelala-modern .crelala-product .crelala-product-actions .wp-block-button__link {
	display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; min-height: 58px; padding: 14px 26px;
	font-size: 17px; color: #ffffff;
}
.crelala-work-page .crelala-product-service { list-style: none; margin: 22px 0 0; padding: 0; }
.crelala-work-page .crelala-product-service li { position: relative; margin: 0 0 12px; padding: 1px 0 0 40px; min-height: 26px; font-size: 17px; line-height: 1.45; color: #ffffff; list-style: none; }
.crelala-work-page .crelala-product-service li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; background: var(--cw-red); -webkit-mask: var(--cw-icon) center / contain no-repeat; mask: var(--cw-icon) center / contain no-repeat; }
.crelala-work-page .crelala-product-service li:first-child { --cw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9.5' r='6'/%3E%3Cpath d='m9.4 9.6 1.8 1.8 3.5-3.6'/%3E%3Cpath d='M8.6 14.4 7.5 21.5l4.5-2.4 4.5 2.4-1.1-7.1'/%3E%3C/svg%3E"); }
.crelala-work-page .crelala-product-service li:not(:first-child) { --cw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 20.5 7.4v9.2L12 21.2 3.5 16.6V7.4Z'/%3E%3Cpath d='M3.5 7.4 12 12l8.5-4.6M12 12v9.2M7.8 5.1l8.5 4.6'/%3E%3C/svg%3E"); }
.crelala-work-page .crelala-product-share { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cw-line); color: var(--cw-muted); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; gap: 4px; }
.crelala-work-page .crelala-product-share .crelala-share-label { margin-right: 8px; }
.crelala-modern .crelala-product-share a,
.crelala-modern .crelala-product-share a:visited { border-radius: 50%; color: var(--cw-muted); }
.crelala-modern .crelala-product-share a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.07); }

/* sections below the hero: one heading style (red line), details as two-column list */
.crelala-work-page .crelala-product > section.wp-block-group { margin: 0 0 var(--cw-section); }
/* 0.6.31: also a plain <h2> of the classic text box „Zusatz Informationen zum Produkt“ (no class wp-block-heading) */
.crelala-modern .crelala-product > section h2.wp-block-heading,
.crelala-modern .crelala-product > section.crelala-product-description h2 { font-size: 29px; font-weight: 300; line-height: 1.3; margin: 0 0 26px; color: #ffffff; }
.crelala-modern .crelala-product > section h2.wp-block-heading::before,
.crelala-modern .crelala-product > section.crelala-product-description h2::before { content: ""; display: block; width: 32px; height: 2px; margin-bottom: 14px; background: var(--cw-red); }
.crelala-modern .crelala-product > section h2.wp-block-heading::after,
.crelala-modern .crelala-product > section.crelala-product-description h2::after { display: none; }
.crelala-work-page .crelala-product-more-head { align-items: flex-end; margin-bottom: 26px; }
.crelala-modern .crelala-product .crelala-product-more-head h2.wp-block-heading { margin-bottom: 0; }
.crelala-modern .crelala-product .wp-block-button.is-style-outline .wp-block-button__link { border: 1px solid var(--cw-line-strong); border-radius: 999px; background: transparent; color: var(--cw-soft); padding: 10px 22px; font-weight: bold; text-transform: none; }
.crelala-modern .crelala-product .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: #ffffff; color: #ffffff; }
.crelala-work-page .crelala-product-details .wp-block-woocommerce-product-specifications table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--cw-gap); }
.crelala-work-page .crelala-product-details .wp-block-woocommerce-product-specifications tbody { display: contents; }
.crelala-work-page .crelala-product-details .wp-block-woocommerce-product-specifications tr { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 16px; border-bottom: 1px solid var(--cw-line); }
.crelala-work-page .crelala-product-details .wp-block-woocommerce-product-specifications th,
.crelala-work-page .crelala-product-details .wp-block-woocommerce-product-specifications td { width: auto; padding: 13px 0; border: 0; color: #ffffff; font-size: 17px; background: none; }
.crelala-work-page .crelala-product-details .wp-block-woocommerce-product-specifications th { color: var(--cw-muted); font-weight: normal; }
.crelala-work-page .crelala-product-about .wc-block-components-product-summary,
.crelala-work-page .crelala-product-description { max-width: 860px; font-size: 17px; line-height: 1.7; }
@media (max-width: 1023px) {
	.crelala-work-page .crelala-product-details .wp-block-woocommerce-product-specifications table { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 781px) {
	.crelala-work-page .crelala-product-media { position: static; }
	.crelala-work-page .crelala-product-info { max-width: none; }
}

/* 0.6.22: compact artist area in the info column between the service lines and „Teilen“ (picture from the binding
   crelala/artist – left out without picture; name = the existing artist term link; two small links). Line above, the
   share line below. The name above the title stays without picture (0.6.21 artist line removed). */
.crelala-work-page .crelala-product-artistbox { gap: 16px; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid var(--cw-line); }
.crelala-work-page .crelala-product-artistbox-text { min-width: 0; }
.crelala-work-page .crelala-product-artistbox-name { margin: 0; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.crelala-modern .crelala-product-artistbox-name a,
.crelala-modern .crelala-product-artistbox-name a:visited { color: #ffffff; text-decoration: none; }
.crelala-modern .crelala-product-artistbox-name a:hover { color: var(--cw-red); }
.crelala-work-page .crelala-artist-avatar { flex: 0 0 auto; margin: 0; }
.crelala-work-page .crelala-artist-avatar img {
	display: block; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
	box-shadow: 0 0 0 1px var(--cw-line-strong);
}
.crelala-work-page .crelala-product-artistbox-links { margin: 4px 0 0; gap: 2px 18px; }
.crelala-work-page .crelala-product-artistbox-links:not(:has(.wp-block-button)) { display: none; }
.crelala-modern .crelala-product .wp-block-button.crelala-textlink .wp-block-button__link {
	display: inline-block; min-height: 0; padding: 4px 0; border: 0; border-radius: 0; background: none; color: var(--cw-muted) !important; /* crelala.css: .wp-element-button white !important */
	font-size: 14px; font-weight: normal; line-height: 1.4; letter-spacing: 0.04em; text-transform: none; text-decoration: none;
}
.crelala-modern .crelala-product .wp-block-button.crelala-textlink .wp-block-button__link:hover { color: var(--cw-red) !important; text-decoration: underline; text-underline-offset: 4px; }
.crelala-modern .crelala-product .crelala-product-artistbox a:focus-visible { outline: 2px solid var(--cw-red); outline-offset: 3px; border-radius: 2px; color: var(--cw-red) !important; }

/* 0.6.21: „Mehr über … & CRELALA Kunst“ – three cards of one height (grid stretch), media / title / note, button at the foot */
.crelala-work-page .crelala-product-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.crelala-work-page .crelala-product-facts > .crelala-fact {
	display: flex; flex-direction: column; align-items: center; min-width: 0; margin: 0; padding: 30px 24px 28px;
	border: 1px solid var(--cw-line); border-radius: var(--cm-radius, 8px); background: rgba(255, 255, 255, 0.02); text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.crelala-work-page .crelala-product-facts > .crelala-fact:hover,
.crelala-work-page .crelala-product-facts > .crelala-fact:focus-within { border-color: rgba(227, 6, 19, 0.55); background: rgba(255, 255, 255, 0.035); }
.crelala-work-page .crelala-fact .crelala-fact-title { margin: 0 0 6px; font-size: 19px; line-height: 1.35; color: #ffffff; overflow-wrap: anywhere; }
.crelala-work-page .crelala-fact .crelala-fact-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cw-muted); }
.crelala-work-page .crelala-fact .wp-block-buttons { justify-content: center; width: 100%; margin-top: auto; padding-top: 22px; }
.crelala-modern .crelala-product .crelala-fact .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--cw-red); color: #ffffff; }
.crelala-modern .crelala-product .crelala-fact .wp-block-button__link:focus-visible { outline: 2px solid var(--cw-red); outline-offset: 3px; }
/* media: portrait (box 1), icon in a ring (box 2 crelala/palette, box 3 crelala/shipping – symbols of the original) – one 96 px zone */
.crelala-work-page .crelala-fact-portrait,
.crelala-work-page .crelala-fact .crelala-fact-icon { display: grid; place-items: center; flex: 0 0 auto; width: 96px; height: 96px; margin: 0 auto 18px; }
.crelala-work-page .crelala-fact-portrait img { display: block; width: 96px; height: 96px; margin: 0; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 1px var(--cw-line-strong); }
.crelala-work-page .crelala-fact .crelala-fact-icon { box-sizing: border-box; border: 1px solid var(--cw-line-strong); border-radius: 50%; }
.crelala-work-page .crelala-fact .crelala-fact-icon svg { width: 40px; height: 40px; fill: #808080; }   /* grey like the original symbols (0.6.27) */
/* card 1 without picture of the artist: the title sits in the middle of the card (no empty media zone at the top) */
.crelala-work-page .crelala-fact--artist:not(:has(img)) > .crelala-fact-title { margin-top: auto; }
@media (max-width: 1023px) {
	.crelala-work-page .crelala-product-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.crelala-work-page .crelala-product-facts > .crelala-fact--shop { grid-column: 1 / -1; }
	.crelala-work-page .crelala-artist-avatar img { width: 56px; height: 56px; }
	.crelala-modern .crelala-product .wp-block-button.crelala-textlink .wp-block-button__link { padding: 10px 0; }
}
@media (max-width: 599px) {
	.crelala-work-page .crelala-product-artistbox { gap: 14px; }
	.crelala-work-page .crelala-artist-avatar img { width: 52px; height: 52px; }
	.crelala-work-page .crelala-product-artistbox-links { gap: 0 16px; }
	.crelala-work-page .crelala-product-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.crelala-work-page .crelala-product-facts > .crelala-fact { padding: 24px 20px; }
	.crelala-work-page .crelala-fact-portrait,
	.crelala-work-page .crelala-fact .crelala-fact-icon { width: 80px; height: 80px; margin-bottom: 14px; }
	.crelala-work-page .crelala-fact-portrait img { width: 80px; height: 80px; }
	.crelala-work-page .crelala-fact .wp-block-buttons .wp-block-button { width: 100%; }
	.crelala-modern .crelala-product .crelala-fact .wp-block-button__link { display: block; width: 100%; box-sizing: border-box; }
}
