/* ==========================================================================
   Phase C — Retail-style Responsive PDP (Single Product Page)
   --------------------------------------------------------------------------
   Loaded on single product pages only (see inc/mobile-pdp.php).
   Sections:
     1. Above-the-fold meta strip
     2. Real-time vehicle fitment box
     3. Mobile fitment accordion (replaces horizontal table scroll on <=767px)
     4. Mobile sticky add-to-cart bar
     5. Responsive PDP typography / gallery / attribute-table fixes (Desktop + Mobile)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Above-the-fold meta strip (Part # · Warranty · Stock)
   -------------------------------------------------------------------------- */
.tetron-pdp-meta-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 6px 0 12px;
	font-size: 13px;
	color: #4b5563;
}

.tetron-pdp-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
}

.tetron-pdp-meta-item svg {
	width: 15px;
	height: 15px;
	color: #073b6d;
	flex: 0 0 auto;
}

.tetron-pdp-stock.is-instock svg {
	color: #15803d;
}

.tetron-pdp-stock.is-outofstock svg {
	color: #b91c1c;
}

.tetron-pdp-meta-sep {
	color: #cbd5e1;
	user-select: none;
}

.tetron-pdp-sku {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #111827;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 3px;
	padding: 2px 6px;
}

.tetron-pdp-warranty strong {
	font-weight: 600;
	color: #111827;
}

.tetron-pdp-stock {
	font-weight: 600;
}

.tetron-pdp-stock.is-instock {
	color: #15803d;
}

.tetron-pdp-stock.is-outofstock {
	color: #b91c1c;
}

/* --------------------------------------------------------------------------
   1b. Brand & category eyebrow (rendered above the product H1 by JS)
   -------------------------------------------------------------------------- */
.tetron-pdp-brand-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0 0 8px;
	font-size: 12.5px;
	line-height: 1.4;
	color: #6b7280;
}

.tetron-pdp-brand-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 3px;
	background: #073b6d;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tetron-pdp-brand-sub {
	font-weight: 600;
	color: #15803d;
}

.tetron-pdp-brand-sep {
	color: #cbd5e1;
	user-select: none;
}

.tetron-pdp-brand-cat {
	font-weight: 600;
	color: #374151;
}

/* --------------------------------------------------------------------------
   2. Real-time vehicle fitment box (All Viewports)
   -------------------------------------------------------------------------- */
/* Hide duplicate legacy CMV badge inside PDP summary when fitment box is present */
.single-product .summary:has(#tetron-pdp-fitment-box) .cmv-badge {
	display: none !important;
}

.tetron-pdp-fitment-box {
	margin: 12px 0 16px;
	padding: 12px 14px;
	border-radius: 6px;
	border: 1px solid #d8dde2;
	border-left-width: 4px;
	background: #f8fafc;
}

.tetron-pdp-fitment-box.is-fits {
	border-color: #86efac;
	border-left-color: #16a34a;
	background: #f0fdf4;
}

.tetron-pdp-fitment-box.is-no-fit {
	border-color: #fca5a5;
	border-left-color: #dc2626;
	background: #fef2f2;
}

.tetron-pdp-fitment-box.is-empty {
	border-color: #cbd5e1;
	border-left-color: #073b6d;
	background: #f8fafc;
}

.tetron-pdp-fitment-box.is-unknown {
	border-color: #fde68a;
	border-left-color: #f59e0b;
	background: #fffbeb;
}

.tetron-pdp-fitment-box__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.tetron-pdp-fitment-box__icon {
	flex: 0 0 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #edf4fb;
	color: #073b6d;
}

.tetron-pdp-fitment-box__icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.tetron-pdp-fitment-box.is-fits .tetron-pdp-fitment-box__icon {
	background: #dcfce7;
	color: #16a34a;
}

.tetron-pdp-fitment-box.is-no-fit .tetron-pdp-fitment-box__icon {
	background: #fee2e2;
	color: #dc2626;
}

.tetron-pdp-fitment-box.is-unknown .tetron-pdp-fitment-box__icon {
	background: #fef3c7;
	color: #b45309;
}

.tetron-pdp-fitment-box__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.tetron-pdp-fitment-box__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
}

.tetron-pdp-fitment-box.is-fits .tetron-pdp-fitment-box__title {
	color: #14532d;
}

.tetron-pdp-fitment-box.is-no-fit .tetron-pdp-fitment-box__title {
	color: #991b1b;
}

.tetron-pdp-fitment-box.is-unknown .tetron-pdp-fitment-box__title {
	color: #78350f;
}

.tetron-pdp-fitment-box__subtitle {
	font-size: 12.5px;
	line-height: 1.4;
	color: #6b7280;
}

.tetron-pdp-fitment-box__details {
	font-size: 12.5px;
	line-height: 1.45;
	color: #374151;
}

.tetron-pdp-fitment-box__details strong {
	font-weight: 600;
	color: #111827;
}

.tetron-pdp-fitment-box__link,
.tetron-pdp-fitment-box__shop-fits {
	align-self: flex-start;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tetron-pdp-fitment-box__link {
	color: #073b6d;
}

.tetron-pdp-fitment-box__shop-fits {
	color: #b91c1c;
}

.tetron-pdp-fitment-box__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 10px;
}

.tetron-pdp-fitment-box__actions .tetron-pdp-fitment-box__link {
	align-self: center;
}

.tetron-pdp-fitment-box__btn,
.tetron-pdp-fitment-box__change {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	border: 1px solid #073b6d;
	background: #073b6d;
	color: #fff;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.tetron-pdp-fitment-box__btn:hover,
	.tetron-pdp-fitment-box__change:hover {
		background: #0a4f8f;
		border-color: #0a4f8f;
		color: #fff;
	}
}

.tetron-pdp-fitment-box__btn:focus-visible,
.tetron-pdp-fitment-box__change:focus-visible {
	background: #0a4f8f;
	border-color: #0a4f8f;
	color: #fff;
}

.tetron-pdp-fitment-box.is-fits .tetron-pdp-fitment-box__change {
	background: #fff;
	border-color: #16a34a;
	color: #15803d;
}

.tetron-pdp-fitment-box.is-no-fit .tetron-pdp-fitment-box__change {
	background: #fff;
	border-color: #dc2626;
	color: #b91c1c;
}

/* --------------------------------------------------------------------------
   2b. Fulfillment & Service Options card (Ship to Home · OE cross-ref · Warranty)
   -------------------------------------------------------------------------- */
.tetron-pdp-fulfillment-card {
	margin: 12px 0 16px;
	border: 1px solid #d8dde2;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.tetron-pdp-fulfillment-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 11px 12px;
	border-bottom: 1px solid #e5e7eb;
}

.tetron-pdp-fulfillment-row:last-child {
	border-bottom: 0;
}

.tetron-pdp-fulfillment-row.is-selected {
	background: #f8fafc;
}

.tetron-pdp-fulfillment-row__radio {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 6px;
	border: 2px solid #073b6d;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 3px #fff;
	box-sizing: border-box;
}

.tetron-pdp-fulfillment-row.is-selected .tetron-pdp-fulfillment-row__radio {
	background: #073b6d;
}

.tetron-pdp-fulfillment-row__icon {
	flex: 0 0 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: #edf4fb;
	color: #073b6d;
}

.tetron-pdp-fulfillment-row__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

/* Rows without the radio button (OE cross-reference, warranty) keep the icon
   column aligned with the selected Ship-to-Home row above. */
.tetron-pdp-fulfillment-row:not(:has(.tetron-pdp-fulfillment-row__radio)) .tetron-pdp-fulfillment-row__icon {
	margin-left: 26px;
}

.tetron-pdp-fulfillment-row__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	flex: 1 1 auto;
}

.tetron-pdp-fulfillment-row__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 10px;
}

.tetron-pdp-fulfillment-row__head strong {
	font-size: 13.5px;
	font-weight: 700;
	color: #111827;
}

.tetron-pdp-fulfillment-row__sub {
	font-size: 12px;
	line-height: 1.45;
	color: #6b7280;
	overflow-wrap: anywhere;
}

.tetron-pdp-fulfillment-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 3px;
	background: #dcfce7;
	color: #15803d;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.tetron-pdp-fulfillment-badge.is-out {
	background: #fee2e2;
	color: #b91c1c;
}

.tetron-pdp-fulfillment-link {
	font-size: 12px;
	font-weight: 600;
	color: #073b6d;
	text-decoration: none;
	white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
	.tetron-pdp-fulfillment-link:hover {
		text-decoration: underline;
		text-underline-offset: 2px;
	}
}

.tetron-pdp-fulfillment-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2c. Key Specifications quick-glance card (below the buy box)
   -------------------------------------------------------------------------- */
.tetron-pdp-quick-specs {
	margin: 14px 0 18px;
	border: 1px solid #d8dde2;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.tetron-pdp-quick-specs__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 10px;
	padding: 10px 12px;
	background: #f4f6f7;
	border-bottom: 1px solid #e5e7eb;
}

.tetron-pdp-quick-specs__title {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #111827;
}

.tetron-pdp-quick-specs__more {
	font-size: 12px;
	font-weight: 600;
	color: #073b6d;
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.tetron-pdp-quick-specs__more:hover {
		text-decoration: underline;
		text-underline-offset: 2px;
	}
}

.tetron-pdp-quick-specs__more:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tetron-pdp-quick-specs__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.tetron-pdp-quick-specs__item {
	padding: 9px 12px;
	border-bottom: 1px solid #eef0f2;
	border-right: 1px solid #eef0f2;
	min-width: 0;
	box-sizing: border-box;
}

.tetron-pdp-quick-specs__item:nth-child(2n) {
	border-right: 0;
}

.tetron-pdp-quick-specs__item:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.tetron-pdp-quick-specs__item dt {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}

.tetron-pdp-quick-specs__item dd {
	margin: 3px 0 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #111827;
	overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   3. Shared Gallery, Title & Technical Attribute Table Fixes (All Viewports)
   -------------------------------------------------------------------------- */
/* Prevent 2,768px tall stacked gallery on both Desktop and Mobile */
.single-product div.product div.images.woocommerce-product-gallery {
	height: auto !important;
}

/* Style FlexSlider main viewport & thumbnail strip cleanly across viewports */
.single-product .woocommerce-product-gallery .flex-viewport {
	border: 1px solid #d8dde2;
	border-radius: 6px;
	background: #ffffff;
	margin-bottom: 12px;
}

.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: 400px !important;
	padding: 16px;
	box-sizing: border-box;
}

.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
	max-height: 368px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	margin: 0 auto !important;
}

.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 8px !important;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 4px !important;
	border: 1px solid #d8dde2;
	border-radius: 6px;
	background: #ffffff;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li img {
	max-height: 64px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	margin: 0 auto !important;
	opacity: 0.75;
	cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
	.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li img:hover {
		opacity: 1;
	}
}

.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li img.flex-active {
	opacity: 1;
}

/* Hide duplicate WooCommerce SKU meta when above-the-fold Part # strip is rendered */
.single-product .summary:has(.tetron-pdp-meta-strip) .product_meta .sku_wrapper,
.single-product .summary:has(.tetron-pdp-brand-eyebrow) .product_meta .posted_in {
	display: none !important;
}

/* The availability line already lives in the fulfillment card. */
.single-product .summary:has(#tetron-pdp-fulfillment-card) > p.stock {
	display: none !important;
}

/* Fix the broken attribute table (additional.css line ~176) on all viewports */
.single-product table.woocommerce-product-attributes.shop_attributes {
	display: block !important;
	width: 100% !important;
	border: 1px solid #d8dde2;
	border-radius: 6px;
	overflow: hidden;
}

.single-product table.woocommerce-product-attributes.shop_attributes tbody {
	display: block !important;
	width: 100% !important;
}

.single-product table.woocommerce-product-attributes.shop_attributes tr {
	display: grid !important;
	grid-template-columns: 38% 62% !important;
	width: 100% !important;
	border-bottom: 1px solid #e5e7eb;
}

.single-product table.woocommerce-product-attributes.shop_attributes tr:last-child {
	border-bottom: 0;
}

.single-product table.woocommerce-product-attributes.shop_attributes tr th {
	background: #f4f6f7 !important;
	padding: 10px 14px !important;
	font-size: 13px !important;
	font-weight: 600;
	color: #374151;
	min-width: 0 !important;
}

.single-product table.woocommerce-product-attributes.shop_attributes tr td {
	background: #fff !important;
	padding: 10px 14px !important;
	font-size: 13.5px !important;
	color: #111827;
	min-width: 0 !important;
	overflow-wrap: anywhere;
}

/* Desktop PDP refinements (>= 768px) */
@media (min-width: 768px) {
	.single-product h1.product_title {
		font-size: 23px !important;
		line-height: 1.35 !important;
		font-weight: 700 !important;
		color: #111827 !important;
		margin-bottom: 8px !important;
	}

	/* Keep un-slidered gallery images in a clean main + 4-col thumbnail strip instead of vertical 2700px stack */
	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 10px !important;
		margin: 0 !important;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
		grid-column: 1 / -1 !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		height: 400px !important;
		padding: 20px !important;
		border: 1px solid #d8dde2;
		border-radius: 6px;
		background: #ffffff;
		box-sizing: border-box;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img {
		max-height: 360px !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
		display: flex !important;
		align-items: center;
		justify-content: center;
		height: 92px !important;
		padding: 6px !important;
		border: 1px solid #d8dde2;
		border-radius: 6px;
		background: #ffffff;
		box-sizing: border-box;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) img {
		max-height: 76px !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	.tetron-pdp-fitment-accordion {
		display: none !important;
	}

	/* While a fitment filter query is active the flat table is replaced by the
	   grouped accordion, which is what the filter script actually operates on. */
	#tab-custom_tab.is-filtering-fitment .fitment-table-wrap {
		display: none !important;
	}

	#tab-custom_tab.is-filtering-fitment .tetron-pdp-fitment-accordion {
		display: block !important;
	}
}

/* --------------------------------------------------------------------------
   3b. Tab toolbars (instant filter + section intro) and tab content cards
   -------------------------------------------------------------------------- */
.tetron-pdp-tab-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 0 0 14px;
	padding: 0 0 12px;
	border-bottom: 1px solid #e5e7eb;
}

.tetron-pdp-tab-toolbar__info {
	flex: 1 1 260px;
	min-width: 0;
}

.tetron-pdp-tab-toolbar__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
}

.tetron-pdp-tab-toolbar__desc {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #6b7280;
}

.tetron-pdp-tab-toolbar__search {
	flex: 0 1 260px;
	min-width: 200px;
}

.tetron-pdp-table-filter {
	width: 100%;
	min-height: 38px;
	padding: 8px 12px;
	font-size: 13px;
	line-height: 1.3;
	color: #111827;
	background: #fff;
	border: 1px solid #d8dde2;
	border-radius: 4px;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

.tetron-pdp-table-filter::placeholder {
	color: #9ca3af;
}

.tetron-pdp-table-filter:focus {
	outline: none;
	border-color: #073b6d;
	box-shadow: 0 0 0 3px rgba(7, 59, 109, 0.12);
}

/* The OEM tab toolbar already labels the table, so drop the helper's own H3. */
.tetron-pdp-oem-section .oem-interchange-heading {
	display: none;
}

.tetron-pdp-oem-section .oem-interchange-wrap {
	margin: 0;
}

/* --- Cleaned Product Details tab ----------------------------------------- */
.tetron-pdp-details-clean {
	font-size: 14px;
	line-height: 1.6;
	color: #374151;
}

.tetron-pdp-details-lead {
	margin: 0 0 16px;
	font-size: 14.5px;
	line-height: 1.65;
	color: #374151;
}

.tetron-pdp-details-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 10px;
	margin: 0 0 18px;
}

.tetron-pdp-details-card {
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #f8fafc;
	min-width: 0;
}

.tetron-pdp-details-card__label {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}

.tetron-pdp-details-card__value {
	display: block;
	margin-top: 4px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	color: #111827;
	overflow-wrap: anywhere;
}

.tetron-pdp-details-card--note {
	background: #fffbeb;
	border-color: #fde68a;
}

.tetron-pdp-details-card--note .tetron-pdp-details-card__label {
	color: #b45309;
}

.tetron-pdp-details-card--note .tetron-pdp-details-card__value {
	font-weight: 500;
	color: #78350f;
}

.tetron-pdp-details-fitment-summary {
	margin: 0 0 18px;
	border: 1px solid #d8dde2;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.tetron-pdp-details-fitment-summary__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	padding: 10px 12px;
	background: #f4f6f7;
	border-bottom: 1px solid #e5e7eb;
}

.tetron-pdp-details-fitment-summary__head h4 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 700;
	color: #111827;
}

.tetron-pdp-details-fitment-summary__link {
	font-size: 12px;
	font-weight: 600;
	color: #073b6d;
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.tetron-pdp-details-fitment-summary__link:hover {
		text-decoration: underline;
		text-underline-offset: 2px;
	}
}

.tetron-pdp-details-fitment-summary__link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tetron-pdp-details-fitment-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 2px 18px;
	margin: 0;
	padding: 10px 12px 12px 30px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #4b5563;
}

/* --------------------------------------------------------------------------
   4. Mobile fitment accordion (hidden on desktop)
   -------------------------------------------------------------------------- */
.tetron-pdp-fitment-accordion {
	display: none;
	margin: 16px 0;
	border: 1px solid #d8dde2;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.tetron-fitment-group {
	border-bottom: 1px solid #e5e7eb;
}

.tetron-fitment-group:last-child {
	border-bottom: 0;
}

.tetron-fitment-group__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 12px;
	background: #f4f6f7;
	cursor: pointer;
	list-style: none;
	font-size: 13px;
	color: #111827;
	-webkit-tap-highlight-color: transparent;
}

.tetron-fitment-group__summary::-webkit-details-marker {
	display: none;
}

.tetron-fitment-group__summary::after {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid #073b6d;
	border-bottom: 2px solid #073b6d;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	margin-left: 4px;
}

.tetron-fitment-group[open] > .tetron-fitment-group__summary::after {
	transform: rotate(-135deg);
}

.tetron-fitment-group__title {
	font-weight: 700;
}

.tetron-fitment-group__years {
	margin-left: auto;
	font-size: 11.5px;
	font-weight: 600;
	color: #4b5563;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 3px;
	padding: 2px 7px;
	white-space: nowrap;
}

.tetron-fitment-group__body {
	padding: 8px 10px 10px;
}

.tetron-fitment-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 7px 0;
	border-bottom: 1px dashed #eef0f2;
}

.tetron-fitment-row:last-child {
	border-bottom: 0;
}

.tetron-fitment-row__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #111827;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	padding: 3px 7px;
}

.tetron-fitment-row__label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #6b7280;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. Mobile sticky add-to-cart bar (base = hidden)
   -------------------------------------------------------------------------- */
.tetron-pdp-sticky-atc {
	display: none;
}

.tetron-pdp-sticky-atc__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tetron-pdp-sticky-atc__sku {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 11.5px;
	color: #6b7280;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tetron-pdp-sticky-atc__price {
	font-size: 16px;
	font-weight: 700;
	color: #111827;
}

.tetron-pdp-sticky-atc__price .price,
.tetron-pdp-sticky-atc__price ins {
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.tetron-pdp-sticky-atc__price del {
	margin-right: 4px;
	font-size: 13px;
	font-weight: 400;
	color: #9ca3af;
}

.tetron-pdp-sticky-atc__btn {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 12px 20px;
	border: 0;
	border-radius: 4px;
	background: #073b6d;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.tetron-pdp-sticky-atc__btn:hover {
		background: #0a4f8f;
		color: #fff;
	}
}

.tetron-pdp-sticky-atc__btn:active,
.tetron-pdp-sticky-atc__btn:focus-visible {
	background: #0a4f8f;
	color: #fff;
}

/* --------------------------------------------------------------------------
   6. Mobile overrides (<= 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.single-product form.cart .single_add_to_cart_button {
		min-height: 46px;
	}

	/* --- Meta strip ------------------------------------------------------- */
	.tetron-pdp-meta-strip {
		font-size: 12px;
		gap: 5px 8px;
		margin: 4px 0 10px;
	}

	/* --- Brand eyebrow ---------------------------------------------------- */
	.tetron-pdp-brand-eyebrow {
		gap: 4px 6px;
		margin-bottom: 6px;
		font-size: 11.5px;
	}

	.tetron-pdp-brand-badge {
		padding: 2px 7px;
		font-size: 10.5px;
	}

	/* --- Fulfillment card ------------------------------------------------- */
	.tetron-pdp-fulfillment-card {
		margin: 10px 0 14px;
	}

	.tetron-pdp-fulfillment-row {
		gap: 8px;
		padding: 10px;
	}

	.tetron-pdp-fulfillment-row__head strong {
		font-size: 13px;
	}

	.tetron-pdp-fulfillment-row__sub {
		font-size: 11.5px;
	}

	.tetron-pdp-fulfillment-row:not(:has(.tetron-pdp-fulfillment-row__radio)) .tetron-pdp-fulfillment-row__icon {
		margin-left: 24px;
	}

	/* --- Key specifications ----------------------------------------------- */
	.tetron-pdp-quick-specs {
		margin: 12px 0 16px;
	}

	.tetron-pdp-quick-specs__head {
		padding: 9px 10px;
	}

	.tetron-pdp-quick-specs__item {
		padding: 8px 10px;
	}

	.tetron-pdp-quick-specs__item dd {
		font-size: 12.5px;
	}

	/* --- Tab toolbars: intro text on top, full-width filter below ---------- */
	.tetron-pdp-tab-toolbar {
		gap: 8px;
		margin-bottom: 12px;
		padding-bottom: 10px;
	}

	.tetron-pdp-tab-toolbar__info {
		flex: 1 1 100%;
	}

	.tetron-pdp-tab-toolbar__title {
		font-size: 14.5px;
	}

	.tetron-pdp-tab-toolbar__desc {
		font-size: 12px;
	}

	.tetron-pdp-tab-toolbar__search {
		flex: 1 1 100%;
		min-width: 0;
	}

	.tetron-pdp-table-filter {
		min-height: 40px;
		font-size: 16px;
	}

	/* --- Product details cards -------------------------------------------- */
	.tetron-pdp-details-lead {
		font-size: 13.5px;
		line-height: 1.6;
		margin-bottom: 12px;
	}

	.tetron-pdp-details-cards {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 8px;
		margin-bottom: 14px;
	}

	.tetron-pdp-details-card {
		padding: 9px 10px;
	}

	.tetron-pdp-details-card__value {
		font-size: 12.5px;
	}

	.tetron-pdp-details-fitment-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 3px;
	}

	/* --- Breadcrumbs: single scrollable line ------------------------------- */
	.single-product .kadence-breadcrumbs {
		font-size: 12px !important;
		white-space: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
	}

	/* --- Product title ---------------------------------------------------- */
	.single-product h1.product_title {
		font-size: 18px !important;
		line-height: 1.3 !important;
		margin-bottom: 4px !important;
	}

	/* --- Gallery ----------------------------------------------------------- */
	.single-product .kadence-product-gallery-main {
		min-height: 200px !important;
		max-height: 260px !important;
		padding: 12px !important;
	}

	.single-product .kadence-product-gallery-main img {
		max-height: 230px !important;
		width: auto !important;
		object-fit: contain !important;
		margin: 0 auto;
	}

	/* Also handle FlexSlider and un-slidered gallery on mobile */
	.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
		height: 200px !important;
		padding: 12px;
	}

	.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
		max-height: 176px !important;
	}

	/* Native horizontal scrolling keeps all photos without a multi-row wall. */
	.single-product div.product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs {
		display: flex !important;
		flex-wrap: nowrap;
		justify-content: flex-start;
		max-width: 100%;
		left: auto;
		transform: none;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		overscroll-behavior-x: contain;
		padding-bottom: 4px !important;
	}

	.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li {
		flex: 0 0 60px;
		width: 60px !important;
		height: 60px;
		scroll-snap-align: start;
	}

	.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li img {
		max-height: 48px !important;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 8px !important;
		margin: 0 !important;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
		grid-column: 1 / -1 !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		height: 240px !important;
		padding: 12px !important;
		border: 1px solid #d8dde2;
		border-radius: 6px;
		background: #ffffff;
		box-sizing: border-box;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img {
		max-height: 216px !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
		display: flex !important;
		align-items: center;
		justify-content: center;
		height: 64px !important;
		padding: 4px !important;
		border: 1px solid #d8dde2;
		border-radius: 6px;
		background: #ffffff;
		box-sizing: border-box;
	}

	.single-product .woocommerce-product-gallery:not(.kadence-v-splide-init):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) img {
		max-height: 54px !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	.single-product table.woocommerce-product-attributes.shop_attributes tr {
		grid-template-columns: 42% 58% !important;
	}

	.single-product table.woocommerce-product-attributes.shop_attributes tr th {
		padding: 8px 10px !important;
		font-size: 12.5px !important;
	}

	.single-product table.woocommerce-product-attributes.shop_attributes tr td {
		padding: 8px 10px !important;
		font-size: 13px !important;
	}

	/* --- Fitment accordion replaces the horizontal table scroll ------------ */
	.tetron-pdp-fitment-accordion {
		display: block;
	}

	.fitment-table-wrap.tetron-has-fitment-accordion {
		display: none !important;
	}

	/* --- Sticky add-to-cart bar ------------------------------------------- */
	.tetron-pdp-sticky-atc {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9985;
		background: #fff;
		border-top: 2px solid #073b6d;
		padding: 8px 14px;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
		transform: translateY(100%);
		transition: transform 0.2s ease;
		padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		will-change: transform;
	}

	.tetron-pdp-sticky-atc.is-visible {
		transform: translateY(0);
	}

	body.has-pdp-sticky-atc #wrapper {
		padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
	}

	body.has-pdp-sticky-atc .btt-btn {
		bottom: 74px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tetron-pdp-sticky-atc {
		transition: none;
	}

	.tetron-fitment-group__summary::after {
		transition: none;
	}
}
