.page-template-template-productcategorie-tentrend .site,
.page-template-template-productcategorie-tentrend #content,
.page-template-template-productcategorie-tentrend .site-main {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tt-product-category-page {
	--tt-content-max: 1120px;
	--tt-content-gutter: 28px;
	background: var(--tt-bg);
	color: var(--tt-text);
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-bottom: 1px;
}

.tt-product-category-page .tt-container {
	width: min(var(--tt-content-max), calc(100% - (var(--tt-content-gutter) * 2)));
	margin: 0 auto;
}

.tt-product-category-hero {
	padding: 138px 0 18px;
	background: var(--tt-bg);
}

.tt-product-category-hero__frame {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: rgba(36, 25, 12, 0.08);
	box-shadow: 0 18px 40px rgba(44, 28, 14, 0.08);
	aspect-ratio: 16 / 5;
}

.tt-product-category-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tt-product-category-content {
	padding: 24px 0 0;
}

.tt-product-category-usp {
	padding: 72px 0 12px;
}

.tt-usp-grid {
	margin-top: 40px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 46px;
}

.tt-usp-item h3 {
	font-family: var(--tt-font-heading);
	font-size: 2rem;
	line-height: 0.92;
	margin: 16px 0 12px;
	font-style: italic;
	font-weight: 500;
	color: var(--tt-title);
	transform: skewX(-8deg);
	transform-origin: left center;
}

.tt-usp-item p {
	margin: 0;
	font-family: "TT Chocolates", sans-serif;
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--tt-title);
}

.tt-usp-icon img {
	width: 72px;
	height: auto;
	display: block;
	padding: 0;
	border: 1px solid var(--tt-icon-border, #a69d93);
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: var(--tt-gold, #997a38);
}

.tt-product-category-usp .tt-usp-item {
	min-width: 0;
}

.tt-product-category-usp .tt-usp-item p {
	max-width: none;
}

.tt-product-category-usp .tt-usp-icon {
	display: block;
}

.tt-product-category-grid-section {
	padding: 72px 0 72px;
}

.tt-product-category-card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.tt-card {
	scroll-snap-align: start;
	border-radius: 16px;
	overflow: hidden;
	min-height: 462px;
	position: relative;
	background: var(--tt-card-fallback);
}

.tt-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tt-card a {
	display: block;
	height: 100%;
	color: #fff;
	text-decoration: none;
}

.tt-card-content {
	position: absolute;
	inset: auto 0 0;
	padding: 24px 26px 46px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(20, 15, 12, 0.82) 100%);
}

.tt-card-content .tt-card-label {
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	line-height: 1.1;
	text-transform: uppercase;
	font-family: var(--tt-font-heading);
	font-weight: 700;
	color: var(--tt-cream);
	text-shadow: 0 0 0.28rem rgba(0, 0, 0, 0.6), 0 0 0.65rem rgba(0, 0, 0, 0.45);
}

.tt-card-content h3 {
	margin: 0;
	font-family: var(--tt-font-heading);
	font-size: 1.8rem;
	line-height: 0.92;
	font-weight: 500;
	letter-spacing: -0.06em;
	text-shadow: 0 0 0.3rem rgba(0, 0, 0, 0.5), 0 0 0.75rem rgba(0, 0, 0, 0.38);
}

.tt-product-category-content {
	padding: 24px 0 0;
}

.tt-product-category-intro {
	padding: 34px 0 0;
}

.tt-product-category-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
	gap: clamp(36px, 5vw, 72px);
	align-items: stretch;
}

.tt-product-category-intro__copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding-top: 0.125rem;
}

.tt-product-category-intro__label {
	margin: 0 0 0.875rem;
	font-family: "TT Chocolates", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--tt-gold, #997a38);
}

.tt-product-category-intro__title {
	margin: 0;
	font-family: var(--tt-font-heading);
	font-size: clamp(3rem, 5vw, 4.25rem);
	font-weight: 400;
	line-height: 0.94;
	letter-spacing: -0.06em;
	color: var(--tt-title, #3c1c09);
}

.tt-product-category-intro__text {
	margin: 1.125rem 0 0;
	max-width: 82ch;
	font-family: "TT Chocolates", sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tt-title, #3c1c09);
}

.tt-product-category-intro__secondary {
	margin-top: auto;
	padding-top: clamp(2rem, 4vw, 3.75rem);
}

.tt-product-category-intro__title--secondary {
	max-width: none;
	font-size: clamp(3.15rem, 5.5vw, 4.95rem);
	line-height: 0.94;
	white-space: nowrap;
}

.tt-product-category-intro__italic {
	margin: 0;
	font-family: var(--tt-font-heading);
	font-size: clamp(3rem, 5.2vw, 4.7rem);
	font-style: italic;
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: -0.06em;
	color: var(--tt-title, #3c1c09);
}

.tt-product-category-intro__media {
	display: flex;
}

.tt-product-category-intro__media-frame {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 18px;
	background: rgba(36, 25, 12, 0.08);
	box-shadow: 0 18px 40px rgba(44, 28, 14, 0.08);
}

.tt-product-category-intro__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.tt-product-category-page {
		--tt-content-max: 1200px;
		--tt-content-gutter: 36px;
	}
}

@media (min-width: 1440px) {
	.tt-product-category-page {
		--tt-content-max: 1220px;
		--tt-content-gutter: 48px;
	}
}

@media (min-width: 1490px) {
	.tt-product-category-page {
		--tt-content-max: 1440px;
		--tt-content-gutter: 64px;
	}
}

@media (max-width: 1024px) {
	.tt-product-category-page {
		--tt-content-gutter: 34px;
	}

	.tt-product-category-hero {
		padding-top: 110px;
	}

	.tt-product-category-hero__frame {
		border-radius: 18px;
		aspect-ratio: 16 / 7;
	}

	.tt-product-category-intro__grid {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
		gap: 28px;
	}

	.tt-product-category-usp {
		padding-top: 56px;
	}

	.tt-product-category-grid-section {
		padding: 56px 0 56px;
	}

	.tt-product-category-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tt-product-category-intro__title {
		font-size: clamp(2.65rem, 6vw, 3.65rem);
	}

	.tt-product-category-intro__title--secondary,
	.tt-product-category-intro__italic {
		font-size: clamp(2.8rem, 6vw, 4rem);
	}
}

@media (max-width: 767px) {
	.tt-product-category-page {
		--tt-content-gutter: 16px;
	}

	.tt-product-category-hero {
		padding-top: 82px;
		padding-bottom: 12px;
	}

	.tt-product-category-hero__frame {
		border-radius: 16px;
		aspect-ratio: 16 / 9;
	}

	.tt-product-category-content {
		padding-top: 16px;
	}

	.tt-product-category-intro {
		padding-top: 24px;
	}

	.tt-product-category-intro__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.tt-product-category-intro__copy {
		padding-top: 0;
	}

	.tt-product-category-intro__text {
		margin-top: 1rem;
		font-size: 0.75rem;
		letter-spacing: 0.12em;
	}

	.tt-product-category-intro__secondary {
		margin-top: 0;
		padding-top: 2rem;
	}

	.tt-product-category-intro__title {
		font-size: clamp(2.4rem, 10vw, 3.2rem);
	}

	.tt-product-category-intro__title--secondary,
	.tt-product-category-intro__italic {
		font-size: clamp(2.55rem, 10vw, 3.4rem);
	}

	.tt-product-category-intro__media-frame {
		aspect-ratio: 16 / 11;
		border-radius: 16px;
	}

	.tt-product-category-usp {
		padding-top: 40px;
	}

	.tt-product-category-grid-section {
		padding: 40px 0 40px;
	}

	.tt-product-category-card-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	/* One card per row here, so the grid no longer stretches them to a shared
	   height and each card fell back to its image's intrinsic ratio. A definite
	   height also lets the img's height: 100% resolve, so object-fit crops. */
	.tt-card {
		min-height: 312px;
		height: 312px;
	}

	.tt-card-content h3 {
		font-size: 1.625rem;
	}

	.tt-usp-grid {
		grid-template-columns: 1fr;
		gap: 46px;
	}

	.tt-usp-item p {
		font-size: 0.9rem;
	}
}
