/* ==========================================================
   THE FLOORING DISTRICT PRODUCT SYSTEM v6.2
   ========================================================== */

:root {
	--tfd-red: #b72b22;
	--tfd-red-dark: #982118;
	--tfd-black: #202020;
	--tfd-gray-900: #333;
	--tfd-gray-700: #666;
	--tfd-gray-300: #ddd;
	--tfd-gray-150: #ececec;
	--tfd-gray-100: #f7f7f7;
	--tfd-green: #16883d;
}

body.single-product .site-content .col-full {
	width: 100% !important;
	max-width: 1380px !important;
	padding-left: 28px !important;
	padding-right: 28px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}

body.single-product .storefront-breadcrumb {
	margin-bottom: 42px !important;
}

body.single-product div.product {
	display: block;
	width: 100%;
}

@media screen and (min-width: 1000px) {
	body.single-product div.product div.images,
	body.single-product div.product .woocommerce-product-gallery {
		float: left !important;
		clear: none !important;
		width: 58% !important;
		max-width: 58% !important;
		margin: 0 4% 48px 0 !important;
		box-sizing: border-box;
	}

	body.single-product div.product div.summary,
	body.single-product div.product .summary {
		float: right !important;
		clear: none !important;
		width: 38% !important;
		max-width: 38% !important;
		margin: 0 0 48px !important;
	}
}

/* Gallery */
body.single-product .woocommerce-product-gallery {
	position: relative;
}

body.single-product .woocommerce-product-gallery__wrapper {
	margin: 0 !important;
}

body.single-product .woocommerce-product-gallery__image {
	overflow: hidden;
	background: var(--tfd-gray-100);
}

body.single-product .woocommerce-product-gallery__image > a {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tfd-gray-100);
	box-sizing: border-box;
}

body.single-product .woocommerce-product-gallery__image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
}

body.single-product.tfd-image-fit-contain .woocommerce-product-gallery__image img {
	object-fit: contain;
}

body.single-product.tfd-image-fit-cover .woocommerce-product-gallery__image img {
	object-fit: cover;
}

@media screen and (min-width: 1000px) {
	body.single-product .woocommerce-product-gallery {
		padding-left: 118px;
		box-sizing: border-box;
	}

	body.single-product .woocommerce-product-gallery__image > a {
		width: 100%;
		aspect-ratio: 1 / 1;
		height: auto;
		min-height: 0;
		padding: 0;
	}

	body.single-product.tfd-image-fit-contain .woocommerce-product-gallery__image > a {
		padding: 18px;
	}

	body.single-product.tfd-image-fit-cover .woocommerce-product-gallery__image > a {
		padding: 0;
	}

	body.single-product .woocommerce-product-gallery .flex-control-thumbs {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 5;
		display: flex !important;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 12px;
		width: 96px;
		max-height: 100%;
		margin: 0 !important;
		padding: 0 4px 0 0 !important;
		overflow-y: auto;
		overflow-x: hidden;
		scrollbar-width: thin;
	}

	body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
		float: none !important;
		flex: 0 0 auto;
		width: 92px !important;
		margin: 0 !important;
		list-style: none;
	}

	body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
		display: block;
		width: 92px !important;
		height: 92px !important;
		object-fit: cover;
		box-sizing: border-box;
		padding: 3px;
		border: 1px solid var(--tfd-gray-300);
		border-radius: 4px;
		background: #fff;
		opacity: .72;
		cursor: pointer;
	}
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	opacity: 1;
	border-color: var(--tfd-red);
	box-shadow: 0 0 0 1px var(--tfd-red);
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	z-index: 8;
	background: var(--tfd-red);
	color: #fff;
	border-radius: 4px;
}

/* Title and summary */
body.single-product .summary .product_title {
	max-width: 620px;
	margin: 0 0 20px !important;
	font-size: clamp(34px, 2.35vw, 42px) !important;
	line-height: 1.12 !important;
	letter-spacing: -.025em;
}

body.single-product .summary .woocommerce-product-details__short-description {
	margin-top: 15px;
	font-size: 16px;
	line-height: 1.65;
}

body.single-product .summary .woocommerce-product-details__short-description img {
	max-width: 100% !important;
	height: auto !important;
}

/* Overview and feature cards */
body.single-product .tfd-product-overview {
	margin: 0 0 20px;
}

body.single-product .tfd-product-overview__text {
	margin: 0 0 18px;
	color: #444;
	font-size: 16px;
	line-height: 1.65;
}

body.single-product .tfd-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px 12px;
}

body.single-product .tfd-feature-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 7px;
	min-height: 116px;
	padding: 8px 5px;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
}

body.single-product .tfd-feature-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	color: #111;
}

body.single-product .tfd-feature-card__icon svg {
	display: block;
	width: 56px;
	height: 56px;
}

body.single-product .tfd-feature-card strong,
body.single-product .tfd-feature-card span {
	display: block;
}

body.single-product .tfd-feature-card strong {
	color: #252525;
	font-size: 12.5px;
	line-height: 1.25;
	text-transform: uppercase;
}

body.single-product .tfd-feature-card div > span {
	margin-top: 2px;
	color: #707070;
	font-size: 11px;
	line-height: 1.25;
}

/* CTA */
body.single-product .tfd-price-card {
	margin: 22px 0 0;
	padding: 22px;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.055);
}

body.single-product .tfd-price-card__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--tfd-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.single-product .tfd-price-card h2 {
	margin: 0 0 8px;
	font-size: 25px;
	line-height: 1.2;
}

body.single-product .tfd-price-card p {
	margin: 0;
	color: var(--tfd-gray-700);
	font-size: 15px;
	line-height: 1.55;
}

body.single-product .tfd-price-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 18px;
}

body.single-product .tfd-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
}

body.single-product .tfd-button--primary {
	background: var(--tfd-red);
	color: #fff !important;
}

body.single-product .tfd-button--primary:hover { background: var(--tfd-red-dark); }

body.single-product .tfd-button--outline {
	border-color: var(--tfd-black);
	background: #fff;
	color: var(--tfd-black) !important;
}

body.single-product .tfd-button--dark {
	grid-column: 1 / -1;
	background: var(--tfd-black);
	color: #fff !important;
}

body.single-product .tfd-product-status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #e6e6e6;
	color: #4c4c4c;
	font-size: 13px;
}

body.single-product .tfd-status-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

body.single-product .tfd-status-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #b3b3b3;
}

body.single-product .is-in-stock .tfd-status-dot { background: var(--tfd-green); }
body.single-product .check-availability .tfd-status-dot { background: #d88a00; }
body.single-product .tfd-status-link { color: var(--tfd-red); font-weight: 600; }

/* Meta */
body.single-product .summary .product_meta {
	clear: both;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid #e1e1e1;
	font-size: 13px;
	line-height: 1.75;
}

body.single-product .summary .edit-link { display: none; }

/* Tabs and structured content */
body.single-product div.product .woocommerce-tabs,
body.single-product div.product .related.products,
body.single-product div.product .upsells.products {
	clear: both !important;
	float: none !important;
	width: 100% !important;
}

body.single-product .woocommerce-tabs {
	margin-top: 40px;
}

body.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	width: 100% !important;
	margin: 0 0 24px !important;
	border-bottom: 1px solid #ddd;
}

body.single-product .woocommerce-tabs ul.tabs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 13px 18px !important;
	color: #444 !important;
	font-size: 14px;
	font-weight: 700;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
	color: var(--tfd-red) !important;
	box-shadow: inset 0 -3px 0 var(--tfd-red);
}

body.single-product .woocommerce-tabs .panel {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product .tfd-spec-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

body.single-product .tfd-spec-row {
	display: grid;
	grid-template-columns: minmax(130px, .8fr) 1.2fr;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

body.single-product .tfd-spec-row strong,
body.single-product .tfd-spec-row span {
	padding: 11px 13px;
}

body.single-product .tfd-spec-row strong {
	background: #f7f7f7;
}

body.single-product .tfd-application-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

body.single-product .tfd-application-item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 15px;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	background: #fff;
}

body.single-product .tfd-application-item span {
	color: var(--tfd-green);
	font-weight: 700;
}

body.single-product .tfd-tab-note {
	margin-top: 18px;
	color: #666;
	font-size: 13px;
}

body.single-product .tfd-care-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

body.single-product .tfd-care-columns section {
	padding: 24px;
	border: 1px solid #e1e1e1;
	border-radius: 6px;
	background: #fff;
}

body.single-product .tfd-faq-list {
	border-top: 1px solid #ddd;
}

body.single-product .tfd-faq-item {
	border-bottom: 1px solid #ddd;
}

body.single-product .tfd-faq-item summary {
	padding: 16px 2px;
	font-weight: 700;
	cursor: pointer;
}

body.single-product .tfd-faq-item p {
	padding: 0 2px 16px;
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 999px) {
	body.single-product .site-content .col-full { padding-left: 24px !important; padding-right: 24px !important; }

	body.single-product div.product div.images,
	body.single-product div.product .woocommerce-product-gallery {
		float: left !important;
		width: 54% !important;
		max-width: 54% !important;
		margin: 0 4% 40px 0 !important;
	}

	body.single-product div.product div.summary,
	body.single-product div.product .summary {
		float: right !important;
		width: 42% !important;
		max-width: 42% !important;
	}

	body.single-product .tfd-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.single-product .tfd-price-card__actions { grid-template-columns: 1fr; }
	body.single-product .tfd-button--dark { grid-column: auto; }
}

/* Mobile */
@media screen and (max-width: 767px) {
	body.single-product .site-content .col-full { padding-left: 18px !important; padding-right: 18px !important; }

	body.single-product div.product div.images,
	body.single-product div.product .woocommerce-product-gallery,
	body.single-product div.product div.summary,
	body.single-product div.product .summary {
		float: none !important;
		clear: both !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
	}

	body.single-product .woocommerce-product-gallery__image > a {
		width: 100%;
		aspect-ratio: 1 / 1;
		height: auto;
		min-height: 0;
		padding: 0;
	}

	body.single-product.tfd-image-fit-contain .woocommerce-product-gallery__image > a {
		padding: 12px;
	}

	body.single-product .woocommerce-product-gallery .flex-control-thumbs {
		display: flex !important;
		flex-wrap: nowrap;
		gap: 8px;
		margin: 12px 0 0 !important;
		padding: 0 0 5px !important;
		overflow-x: auto;
	}

	body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
		float: none !important;
		flex: 0 0 78px;
		width: 78px !important;
		margin: 0 !important;
	}

	body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
		width: 78px !important;
		height: 78px !important;
		object-fit: cover;
	}

	body.single-product .summary .product_title {
		margin-top: 18px !important;
		font-size: 29px !important;
	}

	body.single-product .tfd-feature-grid,
	body.single-product .tfd-price-card__actions,
	body.single-product .tfd-spec-table,
	body.single-product .tfd-application-grid,
	body.single-product .tfd-care-columns {
		grid-template-columns: 1fr;
	}

	body.single-product .tfd-button--dark { grid-column: auto; }

	body.single-product .woocommerce-tabs ul.tabs {
		display: block;
		border-bottom: 0;
	}

	body.single-product .woocommerce-tabs ul.tabs li {
		border-bottom: 1px solid #ddd !important;
	}

	body.single-product .woocommerce-tabs ul.tabs li.active a {
		box-shadow: inset 3px 0 0 var(--tfd-red);
	}
}


/* Benefits */
body.single-product .tfd-benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

body.single-product .tfd-benefit-item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 64px;
	padding: 16px;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	background: #fff;
}

body.single-product .tfd-benefit-item span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #eef8f1;
	color: var(--tfd-green);
	font-weight: 700;
}

/* Learn More SEO section */
body.single-product .tfd-learn-more {
	clear: both;
	width: 100%;
	max-width: 1500px;
	margin: 44px auto 54px;
	padding: 0 32px;
	box-sizing: border-box;
}

body.single-product .tfd-learn-more__details {
	overflow: hidden;
	border: 1px solid #dedede;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(0, 0, 0, .045);
}

body.single-product .tfd-learn-more__details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 28px;
	cursor: pointer;
	list-style: none;
	background: linear-gradient(135deg, #fafafa, #ffffff);
}

body.single-product .tfd-learn-more__details > summary::-webkit-details-marker {
	display: none;
}

body.single-product .tfd-learn-more__details summary span:first-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.single-product .tfd-learn-more__details summary small {
	color: var(--tfd-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.single-product .tfd-learn-more__details summary strong {
	color: #222;
	font-size: 24px;
	line-height: 1.25;
}

body.single-product .tfd-learn-more__action {
	flex: 0 0 auto;
	color: var(--tfd-red);
	font-size: 14px;
	font-weight: 700;
}

body.single-product .tfd-learn-more__action::after { content: " ↓"; }
body.single-product .tfd-learn-more__details[open] .tfd-learn-more__action::after { content: " ↑"; }

body.single-product .tfd-learn-more__content {
	padding: 8px 28px 30px;
	border-top: 1px solid #ececec;
	color: #444;
	font-size: 16px;
	line-height: 1.75;
}

body.single-product .tfd-learn-more__content h2 {
	margin-top: 30px;
	font-size: 28px;
}

body.single-product .tfd-learn-more__content h3 {
	margin-top: 24px;
	font-size: 21px;
}

body.single-product .tfd-learn-more__content ul,
body.single-product .tfd-learn-more__content ol {
	margin-left: 22px;
}

@media screen and (max-width: 767px) {
	body.single-product .tfd-benefit-grid { grid-template-columns: 1fr; }

	body.single-product .tfd-learn-more {
		margin: 32px auto 42px;
		padding: 0 18px;
	}

	body.single-product .tfd-learn-more__details > summary {
		align-items: flex-start;
		padding: 20px;
	}

	body.single-product .tfd-learn-more__details summary strong { font-size: 20px; }
	body.single-product .tfd-learn-more__content { padding: 6px 20px 24px; }
}


/* ==========================================================
   TFD PRODUCT SYSTEM 2.0 — STACKED PRODUCT CONTENT
   ========================================================== */

body.single-product .tfd-product-sections {
	clear: both;
	width: 100%;
	max-width: 1500px;
	margin: 34px auto 0;
	padding: 0 32px;
	box-sizing: border-box;
}

body.single-product .tfd-section {
	padding: 52px 0;
	border-top: 1px solid #e5e5e5;
}

body.single-product .tfd-section:first-child {
	border-top: 0;
}

body.single-product .tfd-section-heading {
	max-width: 820px;
	margin-bottom: 26px;
}

body.single-product .tfd-section-heading > span,
body.single-product .tfd-contractor-cta > div > span {
	display: block;
	margin-bottom: 6px;
	color: var(--tfd-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

body.single-product .tfd-section-heading h2,
body.single-product .tfd-contractor-cta h2 {
	margin: 0;
	color: #222;
	font-size: clamp(28px, 2.1vw, 38px);
	line-height: 1.2;
}

body.single-product .tfd-rich-content {
	max-width: 1100px;
	color: #4c4c4c;
	font-size: 17px;
	line-height: 1.8;
}

body.single-product .tfd-rich-content h2 {
	margin-top: 34px;
	font-size: 30px;
}

body.single-product .tfd-rich-content h3 {
	margin-top: 26px;
	font-size: 23px;
}

body.single-product .tfd-benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

body.single-product .tfd-benefit-card {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 74px;
	padding: 18px;
	border: 1px solid #e0e0e0;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(0,0,0,.035);
}

body.single-product .tfd-benefit-card .tfd-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #eef8f1;
	color: var(--tfd-green);
	font-weight: 700;
}

body.single-product .tfd-spec-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

body.single-product .tfd-spec-row {
	display: grid;
	grid-template-columns: minmax(150px, .9fr) 1.1fr;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

body.single-product .tfd-spec-row strong,
body.single-product .tfd-spec-row span {
	padding: 13px 15px;
}

body.single-product .tfd-spec-row strong {
	background: #f7f7f7;
}

body.single-product .tfd-application-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

body.single-product .tfd-application-card {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 70px;
	padding: 17px;
	border: 1px solid #e0e0e0;
	border-radius: 7px;
	background: #fff;
}

body.single-product .tfd-application-card span {
	color: var(--tfd-red);
	font-size: 25px;
}

body.single-product .tfd-disclaimer {
	margin-top: 18px;
	color: #6d6d6d;
	font-size: 13px;
}

body.single-product .tfd-care-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

body.single-product .tfd-care-grid article {
	padding: 28px;
	border: 1px solid #e0e0e0;
	border-radius: 7px;
	background: #fff;
}

body.single-product .tfd-care-grid h3 {
	margin-top: 0;
	font-size: 24px;
}

body.single-product .tfd-care-grid p {
	color: #555;
	font-size: 16px;
	line-height: 1.75;
}

body.single-product .tfd-section--learn-more {
	padding-top: 48px;
	padding-bottom: 48px;
}

body.single-product .tfd-section--learn-more .tfd-learn-more__details {
	margin: 0;
}

body.single-product .tfd-faq-list {
	border-top: 1px solid #ddd;
}

body.single-product .tfd-faq-item {
	border-bottom: 1px solid #ddd;
}

body.single-product .tfd-faq-item summary {
	padding: 18px 2px;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}

body.single-product .tfd-faq-item p {
	max-width: 980px;
	padding: 0 2px 18px;
	color: #555;
	line-height: 1.7;
}

body.single-product .tfd-contractor-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin: 8px 0 56px;
	padding: 34px;
	border-radius: 8px;
	background: #f5f5f5;
}

body.single-product .tfd-contractor-cta p {
	max-width: 760px;
	margin: 10px 0 0;
	color: #555;
	font-size: 16px;
	line-height: 1.6;
}

body.single-product .tfd-contractor-cta .tfd-button {
	flex: 0 0 auto;
	min-width: 220px;
}

/* Keep related products after custom content */
body.single-product .related.products,
body.single-product .upsells.products {
	max-width: 1500px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 32px;
	padding-right: 32px;
	box-sizing: border-box;
}

/* Hide legacy social-sharing bar inside description when plugin markup is used */
body.single-product .woocommerce-tabs + .scriptlesssocialsharing,
body.single-product .tfd-product-sections .scriptlesssocialsharing {
	display: none !important;
}

@media screen and (max-width: 999px) {
	body.single-product .tfd-benefit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.single-product .tfd-application-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 767px) {
	body.single-product .tfd-product-sections {
		padding: 0 18px;
	}

	body.single-product .tfd-section {
		padding: 38px 0;
	}

	body.single-product .tfd-benefit-grid,
	body.single-product .tfd-spec-table,
	body.single-product .tfd-application-grid,
	body.single-product .tfd-care-grid {
		grid-template-columns: 1fr;
	}

	body.single-product .tfd-spec-row {
		grid-template-columns: 1fr;
	}

	body.single-product .tfd-spec-row strong {
		border-bottom: 1px solid #e5e5e5;
	}

	body.single-product .tfd-contractor-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 24px;
	}

	body.single-product .tfd-contractor-cta .tfd-button {
		width: 100%;
		min-width: 0;
	}
}

/* TFD Product System v6: approved desktop + mobile design */
.tfd-v6-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0 14px;color:#555}.tfd-v6-badge{padding:7px 12px;border-radius:4px;border:1px solid #d8e7d8;background:#f3faf3;color:#277b35;font-weight:700}.tfd-v6-status-limited{background:#fff7e8;color:#9a6500;border-color:#f0d49b}.tfd-v6-status-discontinued{background:#fff0f0;color:#9f1f1f;border-color:#e9b8b8}.tfd-v6-options{margin:16px 0 18px}.tfd-v6-option-row{display:flex;gap:14px;align-items:flex-start;margin:9px 0}.tfd-v6-option-row>strong{min-width:125px;font-size:13px}.tfd-v6-chips{display:flex;gap:8px;flex-wrap:wrap}.tfd-v6-chip{border:1px solid #d5d5d5;background:#fff;color:#222;padding:7px 13px;border-radius:4px;text-decoration:none;font-size:13px}.tfd-v6-chip:hover,.tfd-v6-chip.is-active{border-color:#b42a22;color:#b42a22;background:#fff8f7}.tfd-v6-mobile-only,.tfd-v6-mobile-sticky{display:none}
@media(min-width:769px){body.tfd-product-system.single-product div.product{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);column-gap:34px;align-items:start}body.tfd-product-system.single-product div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;min-width:0}body.tfd-product-system.single-product div.product .summary{width:100%!important;float:none!important;margin:0!important;min-width:0}body.tfd-product-system .woocommerce-product-gallery__wrapper img{width:100%;height:auto;max-height:650px;object-fit:contain}.tfd-product-overview__text{font-size:15px;line-height:1.55}.tfd-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.tfd-feature-card{border:0!important;background:transparent!important;box-shadow:none!important;text-align:center;display:block!important;padding:12px 5px!important}.tfd-feature-card__icon{font-size:30px!important;margin:0 auto 6px!important}.tfd-price-card{margin-top:10px}.woocommerce-tabs,.tfd-product-sections{grid-column:1/-1}.tfd-v6-mobile-only{display:none!important}}
@media(max-width:768px){body.tfd-product-system.single-product div.product{display:block!important}.tfd-product-system .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0 0 18px!important}.tfd-product-system .woocommerce-product-gallery__wrapper img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}.tfd-product-system .flex-control-thumbs{display:flex!important;gap:8px!important;overflow-x:auto!important;margin-top:8px!important}.tfd-product-system .flex-control-thumbs li{flex:0 0 64px!important;width:64px!important}.tfd-product-system div.product .summary{width:100%!important;float:none!important;margin:0!important}.tfd-product-system .product_title{font-size:27px!important;line-height:1.15!important}.tfd-v6-option-row{display:block}.tfd-v6-option-row>strong{display:block;margin-bottom:7px}.tfd-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important}.tfd-feature-card{display:block!important;text-align:center!important;padding:12px 4px!important;border-right:1px solid #eee!important;background:transparent!important}.tfd-feature-card__icon{font-size:24px!important;margin:0 auto 5px!important}.tfd-feature-card strong{font-size:11px!important}.tfd-feature-card span{font-size:10px!important}.tfd-price-card{padding:15px!important}.tfd-price-card__actions{display:grid!important;gap:9px!important}.tfd-product-status{font-size:11px!important;gap:8px!important}.woocommerce-tabs,.tfd-product-sections,.tfd-learn-more{display:none!important}.tfd-v6-mobile-only{display:block!important}.tfd-v6-accordions{margin:22px 0 110px}.tfd-v6-accordions details{border:1px solid #ddd;border-bottom:0;background:#fff}.tfd-v6-accordions details:last-child{border-bottom:1px solid #ddd}.tfd-v6-accordions summary{list-style:none;padding:17px 15px;font-weight:700;text-transform:uppercase;font-size:13px;cursor:pointer}.tfd-v6-accordions summary::-webkit-details-marker{display:none}.tfd-v6-accordions summary:after{content:'⌄';float:right;font-size:18px}.tfd-v6-accordions details[open] summary{border-bottom:2px solid #b42a22}.tfd-v6-panel{padding:15px;line-height:1.6}.tfd-v6-mobile-sticky{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);bottom:0;left:0;right:0;z-index:99999;background:#c92121;color:#fff;box-shadow:0 -3px 12px rgba(0,0,0,.18)}.tfd-v6-mobile-sticky a{color:#fff!important;text-decoration:none;text-align:center;padding:12px 4px;font-size:20px;border-right:1px solid rgba(255,255,255,.35)}.tfd-v6-mobile-sticky a:last-child{border-right:0}.tfd-v6-mobile-sticky span{display:block;font-size:10px;font-weight:700;text-transform:uppercase;margin-top:3px}body{padding-bottom:74px}}

/* ==========================================================
   v6.1 DESKTOP LAYOUT CORRECTION
   Keep the approved desktop design: gallery LEFT, summary RIGHT,
   large square image, and specifications below both columns.
   ========================================================== */
@media screen and (min-width: 1000px) {
	body.tfd-product-system.single-product div.product {
		position: relative;
		display: grid !important;
		grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr) !important;
		grid-template-rows: auto !important;
		column-gap: 42px !important;
		row-gap: 0 !important;
		align-items: start !important;
	}

	/* Prevent WooCommerce's sale badge from taking a grid cell. */
	body.tfd-product-system.single-product div.product > .onsale {
		position: absolute !important;
		top: 12px !important;
		left: 132px !important;
		z-index: 15 !important;
	}

	body.tfd-product-system.single-product div.product > div.images,
	body.tfd-product-system.single-product div.product > .woocommerce-product-gallery {
		grid-column: 1 !important;
		grid-row: 1 !important;
		float: none !important;
		clear: none !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		margin: 0 0 48px !important;
		align-self: start !important;
	}

	body.tfd-product-system.single-product div.product > div.summary,
	body.tfd-product-system.single-product div.product > .summary {
		grid-column: 2 !important;
		grid-row: 1 !important;
		float: none !important;
		clear: none !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		margin: 0 0 48px !important;
		align-self: start !important;
	}

	body.tfd-product-system.single-product .woocommerce-product-gallery__image > a {
		display: flex !important;
		width: 100% !important;
		aspect-ratio: 1 / 1 !important;
		height: auto !important;
		min-height: 0 !important;
		align-items: center !important;
		justify-content: center !important;
	}

	body.tfd-product-system.single-product .woocommerce-product-gallery__image img,
	body.tfd-product-system.single-product .woocommerce-product-gallery__wrapper img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		max-height: none !important;
		object-position: center !important;
	}

	body.tfd-product-system.single-product.tfd-image-fit-contain .woocommerce-product-gallery__image img,
	body.tfd-product-system.single-product.tfd-image-fit-contain .woocommerce-product-gallery__wrapper img {
		object-fit: contain !important;
	}

	body.tfd-product-system.single-product.tfd-image-fit-cover .woocommerce-product-gallery__image img,
	body.tfd-product-system.single-product.tfd-image-fit-cover .woocommerce-product-gallery__wrapper img {
		object-fit: cover !important;
	}

	/* Every section after the top product area spans the full page width. */
	body.tfd-product-system.single-product div.product > .woocommerce-tabs,
	body.tfd-product-system.single-product div.product > .tfd-product-sections,
	body.tfd-product-system.single-product div.product > .tfd-learn-more,
	body.tfd-product-system.single-product div.product > .related,
	body.tfd-product-system.single-product div.product > .upsells,
	body.tfd-product-system.single-product div.product > section,
	body.tfd-product-system.single-product div.product > script {
		grid-column: 1 / -1 !important;
	}
}


/* Native review stars directly below the product title */
body.single-product .summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: -8px 0 14px !important;
}
body.single-product .summary .woocommerce-product-rating .star-rating {
	margin: 0 !important;
	font-size: 1.15em;
}
body.single-product .summary .woocommerce-review-link {
	font-size: 13px;
}

@media screen and (min-width: 1000px) and (max-width: 1220px) {
	body.single-product .site-content .col-full {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	body.single-product div.product div.images,
	body.single-product div.product .woocommerce-product-gallery {
		width: 56% !important;
		max-width: 56% !important;
		margin-right: 3% !important;
	}
	body.single-product div.product div.summary,
	body.single-product div.product .summary {
		width: 41% !important;
		max-width: 41% !important;
	}
}
