/*
 * Close Call: Weihnachts-Kampagne (direction A, fir green).
 *
 * home.css has no matching green or red token (closest: --cc-bot #35674c,
 * which is the Serve Bot accent), so the campaign colours are defined as
 * their own custom properties, scoped to the homepage section only.
 * Paper and ink reuse the existing tokens. No new fonts, gradients,
 * shadows, icons or rounded corners; motion only via .cc-reveal.
 *
 * Contrast (WCAG 2.x): paper on green 10.8:1, muted #c9cfc4 on green 7.8:1,
 * paper on red 4.8:1, red on paper 4.8:1, --cc-ink-soft on paper 5.2:1.
 */

.cc-xmas {
	--cc-xmas-green: #1f3a2e;
	--cc-xmas-green-2: #2a4537;
	--cc-xmas-red: #b8402f;
	--cc-xmas-muted: #c9cfc4;
	--cc-xmas-hairline: rgba(243, 240, 232, .24);

	padding-block: clamp(72px, 8vw, 128px);
	background: var(--cc-xmas-green);
	color: var(--cc-paper);
	scroll-margin-top: 72px;
}

.cc-xmas__head {
	max-width: 760px;
	margin-bottom: clamp(48px, 6vw, 96px);
}

.cc-xmas .cc-eyebrow {
	color: var(--cc-xmas-muted);
}

.cc-home .cc-xmas h2 {
	max-width: 15ch;
	margin-bottom: 0;
	color: var(--cc-paper);
	font-size: clamp(42px, 5vw, 72px);
	line-height: .98;
	text-wrap: balance;
}

.cc-xmas__rule {
	display: block;
	width: 120px;
	height: 9px;
	margin-block: clamp(24px, 3vw, 36px);
	border-top: 3px solid var(--cc-xmas-red);
	border-bottom: 3px solid var(--cc-paper);
}

.cc-xmas__lead {
	max-width: 36em;
	margin-bottom: 0;
	color: var(--cc-paper);
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.55;
}

/* Astra's inline typography capitalises every h1-h6; the campaign copy is sentence case. */
.cc-home .cc-xmas h2,
.cc-home .cc-xmas h3,
.cc-home .cc-xmas-singles h2,
.cc-home .cc-xmas-shop-group__title,
.cc-home.cc-xmas-guide h1,
.cc-home.cc-xmas-guide h2,
.cc-home.cc-xmas-guide h3 {
	text-transform: none;
}

/* Cards */

.cc-xmas__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: clamp(20px, 2.4vw, 32px);
}

.cc-xmas-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: clamp(20px, 2vw, 28px);
	border: 1px solid var(--cc-xmas-hairline);
	color: var(--cc-paper);
}

.cc-xmas-card__media {
	display: block;
	aspect-ratio: 6 / 5;
	margin-bottom: 22px;
	background: var(--cc-xmas-green-2);
}

.cc-xmas-card__media img.is-cutout {
	object-fit: contain;
	padding: 8%;
}

.cc-xmas-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: var(--cc-xmas-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-align: center;
	text-transform: uppercase;
}

.cc-xmas-card__eyebrow {
	margin-bottom: 10px;
	color: var(--cc-xmas-muted);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.cc-home .cc-xmas-card h3,
.cc-home .cc-xmas-card h3 a {
	color: inherit;
}

/* Touch target >= 44px for the title link (the CTA below is 48px). */
.cc-home .cc-xmas-card h3 a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.cc-home .cc-xmas-card h3 {
	margin-bottom: 8px;
	font-size: clamp(26px, 2.3vw, 34px);
	letter-spacing: -.02em;
	line-height: 1.04;
}

.cc-xmas-card h3 a:hover,
.cc-xmas-card h3 a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .14em;
}

.cc-xmas-card__subtitle {
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 1.45;
}

.cc-xmas-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin-bottom: 4px;
}

.cc-xmas-card__amount {
	font-size: 21px;
	font-weight: 650;
	letter-spacing: -.01em;
}

.cc-xmas-card__compare {
	font-size: 14px;
	text-decoration-thickness: 1px;
}

.cc-xmas-card__savings {
	margin-bottom: 6px;
	color: var(--cc-xmas-red);
	font-size: 13px;
	font-weight: 650;
}

.cc-xmas-card__lines {
	margin-bottom: 20px;
}

.cc-xmas-card__lines p {
	margin-bottom: 4px;
	color: var(--cc-xmas-muted);
	font-size: 12.5px;
	line-height: 1.45;
}

.cc-xmas-card__cta,
.cc-xmas-card__sold-out {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	margin: auto 0 0;
	padding: 12px 18px;
	border: 1px solid currentColor;
	font-size: 12px;
	font-weight: 650;
	letter-spacing: .1em;
	line-height: 1;
	text-transform: uppercase;
	transition: background .25s var(--cc-ease), color .25s var(--cc-ease);
}

.cc-xmas-card__cta:hover,
.cc-xmas-card__cta:focus-visible {
	background: var(--cc-paper);
	color: var(--cc-xmas-green);
}

.cc-xmas-card__sold-out {
	border-style: solid;
	border-color: var(--cc-xmas-hairline);
	color: var(--cc-xmas-muted);
}

/* Featured: Set 03, the only light card, larger, overlapping the row */

.cc-xmas-card--featured {
	position: relative;
	padding: clamp(24px, 2.4vw, 32px);
	border: 0;
	border-top: 8px solid var(--cc-xmas-red);
	background: var(--cc-paper);
	color: var(--cc-ink);
}

.cc-xmas-card__labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 18px;
}

.cc-xmas-card__badge {
	padding: 7px 11px;
	background: var(--cc-xmas-red);
	color: var(--cc-paper);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: .1em;
	line-height: 1;
	text-transform: uppercase;
}

.cc-xmas-card__aside {
	color: var(--cc-ink-soft);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.cc-xmas-card--featured .cc-xmas-card__media {
	aspect-ratio: 1 / 1.08;
	background: var(--cc-paper-deep);
}

.cc-xmas-card--featured .cc-xmas-placeholder {
	color: #4f4b45;
}

.cc-xmas-card--featured .cc-xmas-card__eyebrow,
.cc-xmas-card--featured .cc-xmas-card__compare,
.cc-xmas-card--featured .cc-xmas-card__lines p {
	color: var(--cc-ink-soft);
}

.cc-xmas-card--featured .cc-xmas-card__lines p {
	color: var(--cc-ink-2);
}

.cc-home .cc-xmas-card--featured h3 {
	font-size: clamp(30px, 2.8vw, 42px);
}

.cc-xmas-card--featured .cc-xmas-card__amount {
	font-size: 25px;
}

.cc-xmas-card--featured .cc-xmas-card__cta {
	border-color: var(--cc-xmas-green);
	background: var(--cc-xmas-green);
	color: var(--cc-paper);
}

.cc-xmas-card--featured .cc-xmas-card__cta:hover,
.cc-xmas-card--featured .cc-xmas-card__cta:focus-visible {
	background: transparent;
	color: var(--cc-xmas-green);
}

.cc-xmas-card--featured .cc-xmas-card__sold-out {
	border-color: var(--cc-line-strong);
	color: var(--cc-ink-soft);
}

.cc-xmas-card a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Facts row */

.cc-xmas__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px clamp(24px, 4vw, 56px);
	margin: clamp(48px, 6vw, 88px) 0 0;
	padding: 28px 0 0;
	border-top: 1px solid var(--cc-xmas-hairline);
	list-style: none;
	font-size: 13px;
	line-height: 1.45;
}

.cc-xmas__facts li {
	margin: 0;
}

/* "Alles auch einzeln." */

.cc-xmas-singles {
	padding-block: clamp(56px, 6vw, 96px);
	border-bottom: 1px solid var(--cc-line);
	background: var(--cc-paper);
}

.cc-xmas-singles__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.cc-home .cc-xmas-singles h2 {
	margin-bottom: 0;
	font-size: clamp(34px, 3.4vw, 52px);
}

.cc-xmas-singles .cc-text-link {
	min-height: 44px;
}

.cc-xmas-singles__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-xmas-single {
	min-width: 0;
	margin: 0;
}

.cc-xmas-single a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 44px;
}

.cc-xmas-single__media {
	display: block;
	aspect-ratio: 4 / 5;
	margin-bottom: 8px;
	background: var(--cc-paper-deep);
}

.cc-xmas-single__media img.is-cutout {
	object-fit: contain;
	padding: 10%;
}

.cc-xmas-single__media .cc-xmas-placeholder {
	color: #4f4b45;
}

.cc-xmas-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.cc-xmas-single__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.cc-xmas-single a:hover .cc-xmas-single__name,
.cc-xmas-single a:focus-visible .cc-xmas-single__name {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .16em;
}

.cc-xmas-single__price,
.cc-xmas-single__stock {
	color: var(--cc-ink-soft);
	font-size: 14px;
}

/* "Neu" tag: hairline frame (homepage tiles and shop cards) */

.cc-xmas-tag {
	display: inline-block;
	padding: 3px 7px;
	border: 1px solid var(--cc-ink);
	color: var(--cc-ink);
	font-size: 10px;
	font-weight: 650;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

/* Shop groups */

.cc-xmas-shop-group + .cc-xmas-shop-group {
	margin-top: clamp(48px, 6vw, 88px);
}

.cc-home .cc-xmas-shop-group__title {
	margin-bottom: clamp(18px, 2vw, 28px);
	padding-bottom: 14px;
	border-bottom: 1px solid var(--cc-line);
	font-size: clamp(30px, 3vw, 44px);
	letter-spacing: -.02em;
	line-height: 1.05;
}

/* PDP */

.cc-xmas-pdp-box {
	margin-top: 20px;
	border: 1px solid var(--cc-line-strong);
}

.cc-xmas-pdp-box__title {
	margin: 0;
	padding: 14px 16px 10px;
	font-size: 11px;
	font-weight: 650;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.cc-xmas-pdp-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-xmas-pdp-box li {
	margin: 0;
	border-top: 1px solid var(--cc-line);
}

.cc-xmas-pdp-box a {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 16px;
	font-size: 14px;
}

.cc-xmas-pdp-box a:hover span:first-child,
.cc-xmas-pdp-box a:focus-visible span:first-child {
	text-decoration: underline;
	text-underline-offset: .16em;
}

.cc-xmas-size-help {
	margin: 16px 0 0;
	color: var(--cc-ink-soft);
	font-size: 13px;
}

.cc-xmas-size-help a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--cc-ink);
	text-decoration: underline;
	text-underline-offset: .16em;
}

/* Cart and checkout hints */

.cc-xmas-cart-hint,
.cc-xmas-checkout-note {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid var(--cc-line);
	background: var(--cc-paper-light);
	color: var(--cc-ink);
	font-size: 13px;
	line-height: 1.45;
}

.cc-xmas-cart-hint__link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	margin-block: -12px;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: .16em;
}

.cc-xmas-checkout-note {
	margin-bottom: 24px;
	font-size: 14px;
}

.cc-xmas-gift-message textarea {
	min-height: 88px;
}

/* Admin preview banner */

.cc-xmas-preview-banner {
	position: relative;
	z-index: 101;
	background: var(--cc-ink, #11110f);
	color: var(--cc-paper-light, #faf8f3);
	font: 500 12px/1.4 var(--cc-sans, sans-serif);
	text-align: center;
}

.cc-xmas-preview-banner p {
	margin: 0;
	padding: 9px 16px;
}

.cc-xmas-preview-banner a {
	color: inherit !important;
	text-decoration: underline;
}

/* Gift guide page */

.cc-xmas-guide__hero {
	padding-block: clamp(56px, 7vw, 112px);
	border-bottom: 1px solid var(--cc-line);
}

.cc-home.cc-xmas-guide h1 {
	margin-bottom: clamp(32px, 4vw, 56px);
	font-size: clamp(52px, 7vw, 104px);
	letter-spacing: -.045em;
	line-height: .9;
}

.cc-xmas-guide__lines {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--cc-line);
	list-style: none;
}

.cc-xmas-guide__lines li {
	margin: 0;
	border-top: 1px solid var(--cc-line);
}

.cc-xmas-guide__line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 8px 32px;
	padding-block: clamp(20px, 2.4vw, 32px);
}

.cc-xmas-guide__text {
	font-family: var(--cc-serif);
	font-size: clamp(28px, 3.6vw, 52px);
	letter-spacing: -.025em;
	line-height: 1.05;
}

.cc-xmas-guide__meta {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-end;
	gap: 6px 14px;
	color: var(--cc-ink-soft);
	font-size: 13px;
}

.cc-xmas-guide__price {
	color: var(--cc-ink);
	font-weight: 650;
}

.cc-xmas-guide__arrow {
	color: var(--cc-ink);
	transition: transform .25s var(--cc-ease);
}

.cc-xmas-guide__line:hover .cc-xmas-guide__text,
.cc-xmas-guide__line:focus-visible .cc-xmas-guide__text {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .12em;
}

.cc-xmas-guide__line:hover .cc-xmas-guide__arrow,
.cc-xmas-guide__line:focus-visible .cc-xmas-guide__arrow {
	transform: translateX(4px);
}

.cc-xmas-guide__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
}

.cc-home .cc-xmas-guide__grid h2 {
	margin-bottom: 0;
	font-size: clamp(34px, 3.4vw, 52px);
}

.cc-xmas-guide__notice .cc-xmas-guide__grid > .cc-copy {
	grid-column: span 2;
	max-width: 60ch;
}

.cc-home.cc-xmas-guide h3 {
	margin-bottom: 10px;
	font-size: 26px;
}

.cc-xmas-guide__facts {
	margin: 0 0 18px;
	padding-left: 18px;
	font-size: 14px;
}

.cc-xmas-guide__todo {
	color: var(--cc-ink-soft);
	font-style: italic;
}

.cc-xmas-guide .cc-text-link {
	min-height: 44px;
}

/* Responsive */

@media (max-width: 1099px) {
	.cc-xmas-singles__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 959px) {
	.cc-xmas__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
	}

	.cc-xmas-card--featured {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 28px;
		order: 1;
	}

	.cc-xmas-card--featured .cc-xmas-card__labels {
		grid-column: 1 / -1;
	}

	.cc-xmas-card--featured .cc-xmas-card__media {
		margin-bottom: 0;
	}

	.cc-xmas-card--featured .cc-xmas-card__body {
		display: flex;
		flex-direction: column;
	}

	.cc-xmas-card--set-02 {
		order: 2;
	}

	.cc-xmas-card--set-01 {
		order: 3;
	}

	.cc-xmas-card:not(.cc-xmas-card--featured) .cc-xmas-card__body {
		display: flex;
		flex: 1;
		flex-direction: column;
	}

	.cc-xmas-guide__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.cc-xmas-guide__grid > h2 {
		grid-column: 1 / -1;
	}

	.cc-xmas-guide__notice .cc-xmas-guide__grid > .cc-copy {
		grid-column: 1 / -1;
	}
}

@media (max-width: 719px) {
	.cc-xmas__cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.cc-xmas-card--featured {
		display: flex;
		grid-template-columns: none;
	}

	.cc-xmas-card--featured .cc-xmas-card__media {
		margin-bottom: 22px;
	}

	.cc-xmas__facts {
		flex-direction: column;
		gap: 10px;
	}

	.cc-xmas-singles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cc-xmas-guide__line {
		grid-template-columns: minmax(0, 1fr);
	}

	.cc-xmas-guide__meta {
		justify-content: flex-start;
	}

	.cc-xmas-guide__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cc-xmas-card__cta,
	.cc-xmas-guide__arrow {
		transition: none;
	}
}

/* Set PDP: one short line when combinations are greyed out */
.cc-xmas-variation-note {
	margin: 12px 0 0;
	color: var(--cc-ink-soft);
	font-size: 13px;
	line-height: 1.45;
}

/*
 * Desktop: all three set cards fit into one normal desktop window
 * (target 1440 x 900 screen, i.e. about 790 px browser viewport).
 * Image heights follow the viewport height; text sizes stay unchanged.
 */
@media (min-width: 960px) {
	.cc-xmas-card {
		padding: 22px 24px 24px;
	}

	.cc-xmas-card__media {
		aspect-ratio: auto;
		height: clamp(140px, 21vh, 300px);
		margin-bottom: 16px;
	}

	.cc-xmas-card--featured {
		padding: 22px 28px 26px;
	}

	.cc-xmas-card--featured .cc-xmas-card__media {
		aspect-ratio: auto;
		height: clamp(170px, 29vh, 380px);
		margin-bottom: 16px;
	}

	.cc-xmas-card__labels {
		margin-bottom: 14px;
	}

	.cc-xmas-card__eyebrow {
		margin-bottom: 4px;
	}

	.cc-home .cc-xmas-card h3 {
		margin-bottom: 4px;
	}

	.cc-xmas-card__subtitle {
		margin-bottom: 10px;
	}

	.cc-xmas-card__lines {
		margin-bottom: 14px;
	}

	.cc-xmas-card__lines p {
		margin-bottom: 2px;
	}
}

/* Low desktop windows (e.g. 1280 x 800, 1366 x 768 screens): smaller images, same content. */
@media (min-width: 960px) and (max-height: 720px) {
	.cc-xmas-card__media {
		height: max(100px, 15vh);
	}

	.cc-xmas-card--featured .cc-xmas-card__media {
		height: max(120px, 21vh);
	}
}

/*
 * Whole set card is clickable: the title link is stretched over the card
 * (one link for screen readers, no nested links). The CTA stays on top.
 * Hover (fine pointers only): slight lift, brighter hairline, slow image
 * zoom, CTA fills. No shadows, gradients or rounded corners. The lift uses
 * the `translate` property so it never fights the .cc-reveal transform.
 */
.cc-xmas-card {
	position: relative;
	transition: translate .45s var(--cc-ease), border-color .45s var(--cc-ease);
}

html.cc-motion-ready .cc-xmas-card.cc-reveal {
	transition: opacity .72s var(--cc-ease) var(--cc-delay, 0ms), transform .72s var(--cc-ease) var(--cc-delay, 0ms), translate .45s var(--cc-ease), border-color .45s var(--cc-ease);
}

.cc-home .cc-xmas-card h3 a::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
}

.cc-xmas-card__cta {
	position: relative;
	z-index: 2;
}

.cc-xmas-card__media img {
	transition: scale .8s var(--cc-ease);
}

@media (hover: hover) and (pointer: fine) {
	.cc-xmas-card {
		cursor: pointer;
	}

	.cc-xmas-card:hover {
		translate: 0 -6px;
		border-color: rgba(243, 240, 232, .6);
	}

	.cc-xmas-card:hover .cc-xmas-card__media img {
		scale: 1.04;
	}

	.cc-xmas-card:hover h3 a {
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: .14em;
	}

	.cc-xmas-card:hover .cc-xmas-card__cta {
		background: var(--cc-paper);
		color: var(--cc-xmas-green);
	}

	.cc-xmas-card--featured:hover .cc-xmas-card__cta {
		background: transparent;
		color: var(--cc-xmas-green);
	}
}

/* Keyboard: the focused title link marks the whole card (title outline as fallback). */
@supports selector(:has(*)) {
	.cc-xmas-card:has(h3 a:focus-visible) {
		outline: 2px solid var(--cc-paper);
		outline-offset: 4px;
	}

	.cc-home .cc-xmas-card h3 a:focus-visible {
		outline: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cc-xmas-card,
	html.cc-motion-ready .cc-xmas-card.cc-reveal,
	.cc-xmas-card__media img {
		transition: none;
	}

	.cc-xmas-card:hover {
		translate: none;
	}

	.cc-xmas-card:hover .cc-xmas-card__media img {
		scale: none;
	}
}

/*
 * Set photos (featured image, e.g. "Bundle 1-3") in the set cards: the photo is shown
 * in full and its own background continues across the whole frame, up to the text
 * edges. The frame takes the photo's edge colour (--cc-photo-bg, read from the image
 * in cc_xmas_photo_bg()); the photo's edges fade softly into it so no seam shows.
 * No hover zoom (it would crop the edges). Cutouts and the "Alles auch einzeln"
 * tiles are unchanged.
 */
.cc-xmas-card__media.has-photo,
.cc-xmas-card--featured .cc-xmas-card__media.has-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cc-photo-bg, #e8e3df);
}

.cc-xmas-card__media.has-photo img.is-photo {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
	mask-composite: intersect;
}

.cc-xmas-card:hover .cc-xmas-card__media img.is-photo {
	scale: none;
}

/*
 * "Kachelbild Startseite" (3:2 cut-out with transparent background): the frame is a
 * paper surface (same colour as the featured card), no edge fade needed.
 */
.cc-xmas-card__media.has-tile,
.cc-xmas-card--featured .cc-xmas-card__media.has-tile {
	background: var(--cc-paper);
}

.cc-xmas-card__media.has-tile img.is-tile {
	-webkit-mask-image: none;
	mask-image: none;
}

/*
 * Tablet and phone: the frame takes the tile's own format (2:1 for Set 01/02, 10:7 for
 * Set 03, from the image size), so no empty paper bands above and below the products.
 * Desktop keeps its viewport-based height.
 */
@media (max-width: 959px) {
	.cc-xmas-card__media.has-tile,
	.cc-xmas-card--featured .cc-xmas-card__media.has-tile {
		aspect-ratio: var(--cc-tile-ratio, 3 / 2);
		height: auto;
	}
}

/* Tablet: featured card image sits next to the text, centred vertically. */
@media (min-width: 720px) and (max-width: 959px) {
	.cc-xmas-card--featured .cc-xmas-card__media.has-tile {
		align-self: center;
	}
}

/*
 * "Alles auch einzeln.": all five products as tight cut-outs (is-tile) on the same beige
 * surface, same inner margin, so cap, socks and shirts appear the same size. On hover
 * (fine pointers) the first lifestyle photo fades in over the whole tile.
 */
.cc-xmas-single__media.has-tile {
	position: relative;
	background: var(--cc-paper-deep);
}

.cc-xmas-single__media.has-tile img.is-tile {
	box-sizing: border-box;
	object-fit: contain;
	padding: 14%;
}

.cc-xmas-single__media img.is-hover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .45s var(--cc-ease);
}

@media (hover: hover) and (pointer: fine) {
	.cc-xmas-single a:hover .cc-xmas-single__media img.is-hover,
	.cc-xmas-single a:focus-visible .cc-xmas-single__media img.is-hover {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cc-xmas-single__media img.is-hover {
		transition: none;
	}
}

/*
 * Set 01 / 02 (green cards) also show the sum of the single prices and the saving.
 * The red of Set 03 is too dark on fir green, so a light red of the same family
 * (contrast about 7:1 on #1f3a2e) and the muted paper tone for the struck price.
 */
.cc-xmas-card:not(.cc-xmas-card--featured) .cc-xmas-card__compare {
	color: var(--cc-xmas-muted);
}

.cc-xmas-card:not(.cc-xmas-card--featured) .cc-xmas-card__savings {
	color: #f2b8a8;
}
