.te-product-detail {
	--te-blue: #1e63d5;
	--te-navy: #10244a;
	--te-ink: #182230;
	--te-muted: #637083;
	--te-line: #e3e9f2;
	--te-soft: #f5f8ff;
	max-width: 1180px;
	margin: 56px auto 0;
	color: var(--te-ink);
}

.te-product-detail * {
	box-sizing: border-box;
}

/* The Woodmart single-product template limits long descriptions to 750px.
 * These twenty supplied detail pages intentionally use a complete long-form
 * layout, so keep the content, videos, gallery and offer terms fully visible.
 */
.single-product .wd-collapsible-content {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

.single-product .wd-collapsible-content::after,
.single-product .wd-collapsible-content .wd-collapsible-button {
	display: none !important;
}

.te-detail-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 6vw, 72px);
	border-radius: 24px;
	background:
		radial-gradient(circle at 90% 10%, rgba(70, 135, 255, .28), transparent 30%),
		linear-gradient(135deg, #0f2144 0%, #183f83 56%, #1e63d5 100%);
	color: #fff;
}

.te-detail-eyebrow,
.te-section-kicker {
	display: inline-block;
	margin: 0 0 12px;
	color: #5f91ee;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.te-detail-hero .te-detail-eyebrow {
	color: #b9d2ff;
}

.te-detail-hero h2 {
	max-width: 820px;
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.06;
}

.te-detail-hero p {
	max-width: 760px;
	margin: 0;
	color: rgba(255, 255, 255, .84);
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.75;
}

.te-detail-section {
	padding: clamp(42px, 7vw, 84px) 0 0;
}

.te-section-heading {
	max-width: 760px;
	margin: 0 auto 34px;
	text-align: center;
}

.te-section-heading h2 {
	margin: 0 0 12px;
	color: var(--te-navy);
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.18;
}

.te-section-heading p {
	margin: 0;
	color: var(--te-muted);
	font-size: 16px;
	line-height: 1.75;
}

.te-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.te-feature-card {
	min-height: 170px;
	padding: 24px;
	border: 1px solid var(--te-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(30, 58, 105, .07);
}

.te-feature-number {
	display: grid;
	width: 36px;
	height: 36px;
	margin-bottom: 22px;
	place-items: center;
	border-radius: 50%;
	background: var(--te-soft);
	color: var(--te-blue);
	font-size: 13px;
	font-weight: 800;
}

.te-feature-card h3 {
	margin: 0;
	color: var(--te-ink);
	font-size: 17px;
	line-height: 1.45;
}

.te-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
}

.te-video-card {
	overflow: hidden;
	margin: 0;
	border: 1px solid #dfe6f0;
	border-radius: 20px;
	background: #0a0f18;
	box-shadow: 0 18px 45px rgba(13, 31, 59, .14);
}

.te-video-card video {
	display: block;
	width: 100%;
	max-height: 660px;
	background: #05080d;
	aspect-ratio: 16 / 9;
	object-fit: contain;
}

.te-video-card figcaption {
	padding: 14px 18px;
	background: #fff;
	color: var(--te-muted);
	font-size: 13px;
}

.te-story-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.te-source-copy {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(26px, 5vw, 54px);
	border: 1px solid var(--te-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(30, 58, 105, .07);
}

.te-source-copy h3 {
	margin: 30px 0 10px;
	color: var(--te-navy);
	font-size: clamp(20px, 3vw, 27px);
	line-height: 1.35;
}

.te-source-copy h3:first-child {
	margin-top: 0;
}

.te-source-copy p {
	margin: 0 0 16px;
	color: #4d5b6e;
	font-size: 16px;
	line-height: 1.85;
}

.te-source-copy p:last-child {
	margin-bottom: 0;
}

.te-source-copy .te-source-lead {
	color: var(--te-ink);
	font-size: 18px;
}

.te-story-card {
	padding: clamp(24px, 4vw, 40px);
	border-radius: 20px;
	background: var(--te-soft);
}

.te-story-card h3 {
	margin: 0 0 13px;
	color: var(--te-navy);
	font-size: 23px;
}

.te-story-card p {
	margin: 0;
	color: #4e5d70;
	font-size: 15px;
	line-height: 1.8;
}

.te-spec-wrap {
	overflow: hidden;
	border: 1px solid var(--te-line);
	border-radius: 20px;
	background: #fff;
}

.te-spec-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.te-spec-table th,
.te-spec-table td {
	padding: 17px 22px;
	border: 0;
	border-bottom: 1px solid var(--te-line);
	text-align: left;
	vertical-align: top;
}

.te-spec-table tr:last-child th,
.te-spec-table tr:last-child td {
	border-bottom: 0;
}

.te-spec-table th {
	width: 31%;
	background: #f8faff;
	color: var(--te-navy);
	font-weight: 700;
}

.te-spec-table td {
	color: #4d5b6e;
}

.te-use-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.te-use-list li {
	position: relative;
	padding: 18px 20px 18px 46px;
	border: 1px solid var(--te-line);
	border-radius: 14px;
	background: #fff;
	color: #435166;
}

.te-use-list li::before {
	position: absolute;
	top: 19px;
	left: 19px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--te-blue);
	box-shadow: inset 0 0 0 5px #fff, 0 0 0 1px var(--te-blue);
	content: '';
}

.te-gallery-stack {
	display: grid;
	gap: 22px;
	max-width: 1000px;
	margin: 0 auto;
}

.te-gallery-stack figure {
	overflow: hidden;
	margin: 0;
	border-radius: 18px;
	background: #f4f6f9;
}

.te-gallery-stack img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.sps-offer-terms {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: clamp(54px, 8vw, 96px) 0 0;
	padding: clamp(22px, 4vw, 38px);
	border-radius: 22px;
	background: linear-gradient(135deg, #0f2144, #1b4f9e);
}

.sps-offer-terms.anbo-offer-before-features {
	--te-blue: #1e63d5;
	margin: 0 0 clamp(30px, 5vw, 56px);
}

.sps-offer-term {
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 16px;
	background: rgba(255, 255, 255, .09);
	color: rgba(255, 255, 255, .82);
}

.sps-offer-term-label {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 9px;
	border-radius: 999px;
	background: #fff;
	color: var(--te-blue, #1e63d5);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.sps-offer-term h3 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 22px;
}

.sps-offer-term p {
	margin: 0;
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
	line-height: 1.75;
}

.single-product .summary .sps-first-order-price {
	display: flex;
	align-items: center;
	gap: 3px;
	margin-top: 8px;
	color: var(--te-blue, #1e63d5);
	font-size: 1em;
}

.single-product .summary .sps-gift-offer {
	margin: 16px 0 8px;
	padding: 14px 16px;
	border-color: #c9dbfb;
	background: #f4f8ff;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.te-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.te-use-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.te-product-detail {
		margin-top: 38px;
	}

	.te-detail-hero {
		border-radius: 18px;
	}

	.te-feature-grid,
	.te-story-grid,
	.sps-offer-terms {
		grid-template-columns: 1fr;
	}

	.te-feature-card {
		min-height: auto;
	}

	.te-spec-table th,
	.te-spec-table td {
		display: block;
		width: 100%;
		padding: 13px 16px;
	}

	.te-spec-table th {
		padding-bottom: 5px;
		border-bottom: 0;
	}

	.te-spec-table td {
		padding-top: 3px;
	}
}
