/* Epoxy hub only — scoped to .rs-epoxy-hub / .rs-epoxy-hub-page */

.rs-epoxy-hub-page .main-page-wrapper {
	padding-bottom: 4.5rem;
}

.rs-epoxy-hub-page .wd-page-title,
.rs-epoxy-hub-page .page-title,
.rs-epoxy-hub-page .wd-title-wrapper {
	display: none !important;
}

.rs-epoxy-hub-page .main-page-wrapper > .container,
.rs-epoxy-hub-page .main-page-wrapper > .container-fluid,
.rs-epoxy-hub-page .main-page-wrapper > .website-wrapper {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.rs-epoxy-hub-page .content-layout-wrapper {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	max-width: 100%;
}

.rs-epoxy-hub-page .content-layout-wrapper > [class*="col-"],
.rs-epoxy-hub-page .site-content {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.rs-epoxy-hub {
	--rs-ink: #1c1916;
	--rs-muted: #5c534a;
	--rs-cream: #f4efe8;
	--rs-paper: #fbf8f4;
	--rs-line: rgba(28, 25, 22, 0.12);
	--rs-accent: #3d2a1c;
	color: var(--rs-ink);
	background: var(--rs-paper);
	font-size: 1.05rem;
	line-height: 1.6;
}

.rs-epoxy-wrap {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

.rs-epoxy-hero {
	position: relative;
	min-height: min(78vh, 720px);
	display: grid;
	color: #f7f3ee;
}

.rs-epoxy-hero__media,
.rs-epoxy-hero__overlay {
	grid-area: 1 / 1;
}

.rs-epoxy-hero__media {
	margin: 0;
	overflow: hidden;
	background: #1c1916;
}

.rs-epoxy-hero__media img,
.rs-epoxy-final figure img,
.rs-epoxy-card figure img,
.rs-epoxy-split figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rs-epoxy-hero__media img {
	min-height: min(78vh, 720px);
}

.rs-epoxy-hero__overlay {
	display: flex;
	align-items: flex-end;
	background: linear-gradient(180deg, rgba(18, 14, 12, 0.15) 0%, rgba(18, 14, 12, 0.72) 100%);
	padding: 4rem 0 3rem;
}

.rs-epoxy-kicker {
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.72rem;
	margin: 0 0 0.75rem;
}

.rs-epoxy-hero h1 {
	font-size: clamp(2.1rem, 5vw, 3.6rem);
	line-height: 1.1;
	margin: 0 0 0.75rem;
	font-weight: 600;
	max-width: 16ch;
}

.rs-epoxy-lede {
	max-width: 42rem;
	margin: 0 0 1.5rem;
	font-size: 1.08rem;
}

.rs-epoxy-micro {
	margin: 1rem 0 0;
	opacity: 0.85;
	font-size: 0.92rem;
}

.rs-epoxy-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.rs-epoxy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	border-radius: 2px;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.82rem;
	border: 1px solid transparent;
}

.rs-epoxy-btn:focus-visible,
.rs-epoxy-jump a:focus-visible,
.rs-epoxy-size:focus-visible,
.rs-epoxy-pills a:focus-visible,
.rs-epoxy-sticky a:focus-visible,
.rs-epoxy-card__link:focus-visible,
.rs-epoxy-form input:focus-visible,
.rs-epoxy-form select:focus-visible,
.rs-epoxy-form textarea:focus-visible,
.rs-epoxy-faq summary:focus-visible {
	outline: 2px solid #c4a574;
	outline-offset: 3px;
}

.rs-epoxy-btn--primary {
	background: #c4a574;
	color: #1c1916;
}

.rs-epoxy-btn--ghost {
	background: transparent;
	color: #f7f3ee;
	border-color: rgba(247, 243, 238, 0.7);
}

.rs-epoxy-btn--light {
	background: #fff;
	color: var(--rs-ink);
	border-color: var(--rs-line);
}

.rs-epoxy-jump {
	background: #fff;
	border-bottom: 1px solid var(--rs-line);
	position: sticky;
	top: 0;
	z-index: 20;
}

.rs-epoxy-jump__row {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	padding: 0.85rem 0;
	-webkit-overflow-scrolling: touch;
}

.rs-epoxy-jump a {
	white-space: nowrap;
	color: var(--rs-ink);
	text-decoration: none;
	font-size: 0.9rem;
}

.rs-epoxy-section {
	padding: 4rem 0;
}

.rs-epoxy-section--alt {
	background: var(--rs-cream);
}

.rs-epoxy-section h2,
.rs-epoxy-final h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.rs-epoxy-intro {
	max-width: 46rem;
	color: var(--rs-muted);
	margin: 0 0 1.75rem;
}

.rs-epoxy-type-grid,
.rs-epoxy-why,
.rs-epoxy-dim-cards,
.rs-epoxy-compare {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.rs-epoxy-card {
	background: #fff;
	border: 1px solid var(--rs-line);
}

.rs-epoxy-card figure,
.rs-epoxy-split figure,
.rs-epoxy-final figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #2a241f;
}

.rs-epoxy-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.rs-epoxy-card h3,
.rs-epoxy-card p,
.rs-epoxy-card__cta {
	padding-inline: 1.1rem;
}

.rs-epoxy-card h3 {
	margin: 1rem 0 0.35rem;
	font-size: 1.15rem;
}

.rs-epoxy-card p {
	margin: 0;
	color: var(--rs-muted);
}

.rs-epoxy-card__cta {
	display: block;
	margin: 0.85rem 0 1.15rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.78rem;
}

.rs-epoxy-size-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

@media (min-width: 800px) {
	.rs-epoxy-size-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

.rs-epoxy-size {
	background: #fff;
	border: 1px solid var(--rs-line);
	padding: 1rem 0.75rem;
	text-align: center;
	text-decoration: none;
	color: inherit;
	min-height: 7.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.15rem;
}

.rs-epoxy-size__len {
	font-size: 1.45rem;
	font-weight: 600;
}

.rs-epoxy-size__sub,
.rs-epoxy-size__hint {
	font-size: 0.78rem;
	color: var(--rs-muted);
}

.rs-epoxy-note,
.rs-epoxy-prose p,
.rs-epoxy-prose li {
	color: var(--rs-muted);
}

.rs-epoxy-products ul.products {
	margin: 0;
}

.rs-epoxy-custom__grid,
.rs-epoxy-split__grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.rs-epoxy-custom__grid,
	.rs-epoxy-split__grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.rs-epoxy-spec {
	padding-left: 1.1rem;
	color: var(--rs-muted);
}

.rs-epoxy-form-panel {
	background: #fff;
	border: 1px solid var(--rs-line);
	padding: 1.5rem;
}

.rs-epoxy-form p {
	margin: 0 0 0.85rem;
}

.rs-epoxy-form label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.rs-epoxy-form input,
.rs-epoxy-form select,
.rs-epoxy-form textarea {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--rs-line);
	padding: 0.5rem 0.7rem;
	background: #fff;
	color: var(--rs-ink);
}

.rs-epoxy-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.rs-epoxy-hp {
	position: absolute;
	left: -9999px;
}

.rs-epoxy-form .req {
	font-weight: 400;
	color: var(--rs-muted);
}

.rs-epoxy-form .opt {
	font-weight: 400;
	color: var(--rs-muted);
}

.rs-epoxy-alert {
	padding: 0.75rem 1rem;
	background: #f3e6e2;
}

.rs-epoxy-alert--ok {
	background: #e7efe6;
}

.rs-epoxy-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.rs-epoxy-pills a {
	border: 1px solid var(--rs-line);
	padding: 0.55rem 0.9rem;
	text-decoration: none;
	color: inherit;
	background: #fff;
}

.rs-epoxy-steps {
	padding-left: 1.15rem;
	color: var(--rs-muted);
}

.rs-epoxy-steps li {
	margin-bottom: 0.65rem;
}

.rs-epoxy-dim-cards article,
.rs-epoxy-compare article,
.rs-epoxy-why article {
	background: #fff;
	border: 1px solid var(--rs-line);
	padding: 1.15rem;
}

.rs-epoxy-prose h3 {
	margin: 1.5rem 0 0.4rem;
	font-size: 1.15rem;
}

.rs-epoxy-faq details {
	border-bottom: 1px solid var(--rs-line);
	padding: 0.85rem 0;
}

.rs-epoxy-faq summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.rs-epoxy-faq summary::-webkit-details-marker {
	display: none;
}

.rs-epoxy-faq p {
	margin: 0.6rem 0 0;
	color: var(--rs-muted);
}

.rs-epoxy-final {
	position: relative;
	min-height: 420px;
	display: grid;
	color: #f7f3ee;
}

.rs-epoxy-final figure,
.rs-epoxy-final__copy {
	grid-area: 1 / 1;
}

.rs-epoxy-final figure {
	aspect-ratio: auto;
	min-height: 420px;
}

.rs-epoxy-final__copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 3rem 0;
	background: linear-gradient(180deg, rgba(18, 14, 12, 0.1), rgba(18, 14, 12, 0.78));
}

.rs-epoxy-related {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	padding: 0;
	list-style: none;
}

.rs-epoxy-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	background: #1c1916;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rs-epoxy-sticky a {
	flex: 1;
	text-align: center;
	color: #f7f3ee;
	text-decoration: none;
	padding: 0.9rem 0.5rem;
	min-height: 48px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.78rem;
}

.rs-epoxy-sticky a + a {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

body.single-product .rs-epoxy-pdp-hub {
	margin: 0 0 0.75rem;
	font-size: 0.92rem;
}

body.single-product .rs-epoxy-pdp-hub a {
	color: #6b5a4a;
}

.is-placeholder {
	position: relative;
}

.is-placeholder::after {
	content: "Placeholder image — replace in Media / page meta";
	position: absolute;
	left: 0.5rem;
	bottom: 0.5rem;
	background: rgba(28, 25, 22, 0.72);
	color: #fff;
	font-size: 0.65rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.2rem 0.4rem;
	pointer-events: none;
}

@media (max-width: 640px) {
	.rs-epoxy-form__row {
		grid-template-columns: 1fr;
	}

	.rs-epoxy-hero {
		min-height: 70vh;
	}

	.rs-epoxy-hero__media img {
		min-height: 70vh;
	}
}
