.techno-seo-readmore {
	position: relative;
	margin-bottom: 28px;
}

.techno-seo-readmore__content {
	position: relative;
}

.techno-seo-readmore__teaser,
.techno-seo-readmore__more {
	display: block;
}

.techno-seo-readmore__more > *:first-child {
	margin-top: 0;
}

/* Collapsed: keep rest in DOM, clip visually for SEO-friendly hide. */
.techno-seo-readmore.is-collapsed .techno-seo-readmore__more {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.techno-seo-readmore.is-collapsed .techno-seo-readmore__teaser {
	position: relative;
	/* Fade the text itself — no overlay bar that fights the real page bg. */
	-webkit-mask-image: linear-gradient(
		to bottom,
		#000 0%,
		#000 42%,
		rgba(0, 0, 0, 0.55) 72%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to bottom,
		#000 0%,
		#000 42%,
		rgba(0, 0, 0, 0.55) 72%,
		transparent 100%
	);
}

.techno-seo-readmore.is-collapsed .techno-seo-readmore__teaser::after {
	display: none;
}

/* Beat Rey global `button { color: var(--body-color) }` */
.bottom-category-description .techno-seo-readmore__btn,
.techno-seo-readmore__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 8px 0 8px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: #ff8f57 !important;
	font: inherit;
	font-size: 15px;
	font-weight: 500 !important;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.2s ease;
}

.bottom-category-description .techno-seo-readmore__btn:hover,
.bottom-category-description .techno-seo-readmore__btn:focus-visible,
.techno-seo-readmore__btn:hover,
.techno-seo-readmore__btn:focus-visible {
	color: #ffb07a !important;
	background: none;
	outline: none;
}

.techno-seo-readmore:not(.is-collapsed) .techno-seo-readmore__teaser {
	-webkit-mask-image: none;
	mask-image: none;
}

.techno-seo-readmore:not(.is-collapsed) {
	margin-bottom: 36px;
}

/* Hide the storage marker if it ever leaks into output. */
.techno-seo-more,
hr.techno-seo-more,
span.techno-seo-more {
	display: none !important;
	margin: 0 !important;
	border: 0 !important;
	height: 0 !important;
	width: 0 !important;
	padding: 0 !important;
}

/*
 * Sticky filter sidebar: Rey sets min-height:100vh on .rey-sidebarInner,
 * which can keep the sidebar stuck over the footer after SEO collapse.
 * Only drop that min-height — do not clip with overflow (creates a scrollbar).
 */
@media (min-width: 1025px) {
	.rey-siteRow:has(.techno-seo-readmore) {
		align-items: flex-start;
	}

	.rey-siteRow:has(.techno-seo-readmore) > aside.shop-sidebar.--sidebar-sticky > .rey-sidebarInner,
	.rey-siteRow:has(.techno-seo-readmore) > aside.rey-filterSidebar.--sidebar-sticky > .rey-sidebarInner {
		min-height: 0 !important;
		align-self: flex-start !important;
	}
}
