/* MOT product detail: technical selection first, with an understated cart path. */

body.single-product {
	--mot-blue: #0067ff;
	--mot-blue-dark: #0057db;
	--mot-navy: #0f172a;
	--mot-text: #364151;
	--mot-muted: #64748b;
	--mot-line: #dbe7f3;
	--mot-surface: #ffffff;
	--mot-soft: #f4f9ff;
	--mot-success: #0f9f6e;
	background: #f6faff;
}

.single-product .site-content {
	background:
		radial-gradient(circle at 10% 0, rgba(0, 103, 255, .08), transparent 28rem),
		linear-gradient(180deg, #f7fbff 0, #ffffff 54rem);
}

.single-product .site-main {
	padding-top: 0;
}

body.single-product.ast-plain-container #primary {
	margin-top: 24px;
}

.single-product .woocommerce-breadcrumb {
	max-width: 1200px;
	margin: 0 auto 18px;
	font-size: 13px;
	color: var(--mot-muted);
}

.single-product .woocommerce-breadcrumb a {
	color: #475569;
}

.woocommerce.single-product div.product {
	display: block;
}

.mot-product-hero {
	display: grid;
	grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, .26);
	border-radius: 26px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 26px 76px rgba(30, 64, 175, .1);
}

.woocommerce.single-product div.product div.images,
.woocommerce.single-product div.product div.summary {
	float: none;
	width: 100%;
	margin: 0;
}

/* WooCommerce's legacy desktop rule contains #content and otherwise wins. */
body.woocommerce.single-product #content div.product > .woocommerce-product-gallery,
body.woocommerce.single-product #content div.product > .summary,
body.woocommerce.single-product #content div.product .mot-product-hero > .woocommerce-product-gallery,
body.woocommerce.single-product #content div.product .mot-product-hero > .summary {
	float: none;
	width: 100%;
}

.woocommerce.single-product div.product div.images {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	top: auto;
	min-width: 0;
	padding: clamp(26px, 3.5vw, 46px);
	border: 0;
	border-right: 1px solid var(--mot-line);
	border-radius: 0;
	background:
		url("circuit-edge-pattern.svg?v=2") center / cover no-repeat,
		radial-gradient(ellipse at center, #ffffff 0%, #fbfdff 43%, #f1f6fc 76%, #e8f1fa 100%);
	box-shadow: inset 0 0 92px rgba(76, 111, 153, .08);
}

.woocommerce.single-product div.product div.images::before,
.woocommerce.single-product div.product div.images::after {
	display: none;
}

.woocommerce.single-product div.product div.images .woocommerce-product-gallery__wrapper {
	position: relative;
	z-index: auto;
	width: 100%;
}

.woocommerce.single-product div.product div.images .woocommerce-product-gallery__trigger {
	z-index: 3;
}

.woocommerce.single-product div.product div.images img {
	width: 100%;
	max-height: 520px;
	object-fit: contain;
	border-radius: 16px;
	mix-blend-mode: multiply;
}

.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) {
	transform: scale(1.4);
	transform-origin: center;
	transition: transform .35s ease;
	will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
	.woocommerce.single-product div.product div.images:hover .woocommerce-product-gallery__image img:not(.zoomImg) {
		transform: scale(1.46);
	}
}

.woocommerce.single-product div.product div.images img.zoomImg {
	display: none !important;
}

body.single-product .onsale,
body.single-product .ast-onsale-card {
	display: none !important;
}

.woocommerce.single-product div.product div.summary {
	align-self: stretch;
	min-width: 0;
	padding: clamp(30px, 4vw, 48px);
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.mot-product-kicker {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.mot-product-kicker > a {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--mot-blue);
}

.mot-product-lifecycle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 700;
	color: #166534;
}

.mot-product-lifecycle i,
.mot-commerce-availability__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, .13);
}

.woocommerce.single-product div.product .product_title {
	margin: 0 0 12px;
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -.035em;
	color: var(--mot-navy);
}

.woocommerce.single-product div.product p.price,
.woocommerce.single-product div.product span.price,
.single-product .related.products .price,
.single-product .summary .stock {
	display: none !important;
}

.single-product .woocommerce-product-details__short-description {
	margin: 18px 0 20px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--mot-text);
}

.mot-quick-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	margin: 22px 0 18px;
	border: 1px solid var(--mot-line);
	border-radius: 14px;
	background: var(--mot-line);
}

.mot-quick-spec {
	min-width: 0;
	padding: 13px 15px;
	background: var(--mot-soft);
}

.mot-quick-spec span,
.mot-quick-spec strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mot-quick-spec span {
	margin-bottom: 4px;
	font-size: 11px;
	line-height: 1.35;
	letter-spacing: .025em;
	white-space: nowrap;
	color: var(--mot-muted);
}

.mot-quick-spec strong {
	font-size: 15px;
	line-height: 1.35;
	white-space: nowrap;
	color: var(--mot-navy);
}

.mot-commerce-availability {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 12px;
}

.mot-commerce-availability__dot {
	flex: 0 0 auto;
}

.mot-commerce-availability.is-out-of-stock .mot-commerce-availability__dot {
	background: #f97316;
	box-shadow: 0 0 0 4px rgba(249, 115, 22, .13);
}

.mot-commerce-availability strong,
.mot-commerce-availability small {
	display: block;
}

.mot-commerce-availability strong {
	font-size: 14px;
	line-height: 1.25;
	color: var(--mot-navy);
}

.mot-commerce-availability small {
	margin-top: 2px;
	font-size: 12px;
	color: var(--mot-muted);
}

.woocommerce.single-product div.product form.cart {
	display: grid;
	grid-template-columns: 82px minmax(180px, 220px) minmax(160px, 190px);
	gap: 10px;
	width: 100%;
	margin: 17px 0 0;
	justify-content: start;
}

.woocommerce.single-product div.product form.cart::before,
.woocommerce.single-product div.product form.cart::after {
	display: none;
}

.woocommerce.single-product div.product form.cart .quantity {
	float: none;
	margin: 0;
}

.woocommerce.single-product div.product form.cart .quantity .qty {
	width: 100%;
	height: 50px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	color: var(--mot-navy);
}

.woocommerce.single-product div.product form.cart .button {
	float: none;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--mot-blue);
	border-radius: 10px;
	background: var(--mot-blue);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	box-shadow: none;
}

.woocommerce.single-product div.product form.cart .button:hover {
	border-color: var(--mot-blue-dark);
	background: var(--mot-blue-dark);
}

.mot-cart-datasheet {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 11px 14px;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	background: #eff6ff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	color: var(--mot-blue);
	transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.mot-cart-datasheet:hover {
	border-color: #93c5fd;
	background: #dbeafe;
	color: var(--mot-blue-dark);
}

.mot-pdf-icon {
	flex: 0 0 auto;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 28px;
	border-radius: 5px;
	background: var(--mot-blue);
	font-size: 8px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: .02em;
	color: #fff;
}

.mot-pdf-icon::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-bottom: 7px solid rgba(255, 255, 255, .72);
	border-left: 7px solid transparent;
}

.mot-engineering-tools {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--mot-line);
}

.mot-engineering-copy {
	margin-bottom: 17px;
}

.mot-engineering-copy span,
.mot-engineering-copy strong {
	display: block;
}

.mot-engineering-copy span {
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mot-blue);
}

.mot-engineering-copy strong {
	font-size: 14px;
	line-height: 1.45;
	color: var(--mot-navy);
}

.mot-engineering-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.mot-engineering-benefit {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	min-width: 0;
	padding: 11px;
	border: 1px solid #dbeafe;
	border-radius: 11px;
	background: linear-gradient(145deg, #f8fbff, #eef6ff);
}

.mot-engineering-benefit > span:last-child {
	min-width: 0;
}

.mot-engineering-benefit strong,
.mot-engineering-benefit small {
	display: block;
	line-height: 1.35;
}

.mot-engineering-benefit strong {
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: 800;
	color: var(--mot-navy);
}

.mot-engineering-benefit small {
	font-size: 9px;
	color: var(--mot-muted);
}

.mot-engineering-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: #dbeafe;
	color: var(--mot-blue);
}

.mot-engineering-icon svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

body.single-product #moderncart-floating-cart {
	display: none !important;
}

.mot-product-information,
.woocommerce.single-product div.product .related.products,
.woocommerce.single-product div.product .up-sells {
	grid-column: 1 / -1;
}

.mot-product-information {
	margin-top: 52px;
	scroll-margin-top: 110px;
}

.mot-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 36px;
	margin-bottom: 22px;
}

.mot-section-eyebrow {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--mot-blue);
}

.mot-section-heading h2 {
	margin: 0;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	letter-spacing: -.035em;
	color: var(--mot-navy);
}

.mot-section-heading > p {
	max-width: 450px;
	margin: 0 0 5px;
	line-height: 1.65;
	color: var(--mot-muted);
}

.mot-product-anchor-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	padding: 8px;
	border: 1px solid var(--mot-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 12px 35px rgba(15, 23, 42, .05);
}

.mot-product-anchor-nav a {
	padding: 9px 13px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	color: #475569;
}

.mot-product-anchor-nav a:hover {
	background: var(--mot-soft);
	color: var(--mot-blue);
}

.mot-information-panel {
	margin-bottom: 18px;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--mot-line);
	border-radius: 20px;
	background: var(--mot-surface);
	box-shadow: 0 16px 46px rgba(30, 64, 175, .06);
	scroll-margin-top: 110px;
}

.mot-panel-heading,
.mot-datasheet-copy {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.mot-panel-heading {
	margin-bottom: 26px;
}

.mot-panel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	height: 42px;
	border-radius: 11px;
	background: #eaf3ff;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .06em;
	color: var(--mot-blue);
}

.mot-panel-heading h3,
.mot-datasheet-copy h3,
.mot-support-panel h3 {
	margin: 0 0 5px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--mot-navy);
}

.mot-panel-heading p,
.mot-datasheet-copy p {
	margin: 0;
	font-size: 14px;
	color: var(--mot-muted);
}

.mot-specification-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid var(--mot-line);
	border-left: 1px solid var(--mot-line);
}

.mot-specification-row {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(100px, .75fr);
	min-width: 0;
	border-right: 1px solid var(--mot-line);
	border-bottom: 1px solid var(--mot-line);
}

.mot-specification-row dt,
.mot-specification-row dd {
	min-width: 0;
	margin: 0;
	padding: 13px 15px;
	font-size: 13px;
	line-height: 1.45;
}

.mot-specification-row dt {
	background: #f8fbff;
	color: var(--mot-muted);
}

.mot-specification-row dd {
	font-weight: 800;
	word-break: break-word;
	color: var(--mot-navy);
}

.mot-datasheet-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	background: linear-gradient(135deg, #f1f7ff, #ffffff 60%);
}

.mot-download-button,
.mot-support-primary,
.mot-support-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.mot-download-button,
.mot-support-primary {
	background: var(--mot-blue);
	color: #fff;
}

.mot-download-button:hover,
.mot-support-primary:hover {
	background: var(--mot-blue-dark);
	color: #fff;
}

.mot-download-button span {
	margin-left: 8px;
	font-size: 17px;
}

.mot-rich-content {
	font-size: 15px;
	line-height: 1.8;
	color: var(--mot-text);
}

.mot-rich-content > *:last-child {
	margin-bottom: 0;
}

.mot-table-scroll {
	overflow-x: auto;
	border: 1px solid var(--mot-line);
	border-radius: 12px;
}

.mot-cross-reference-panel table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.mot-cross-reference-panel th,
.mot-cross-reference-panel td {
	padding: 13px 16px;
	border: 0;
	border-bottom: 1px solid var(--mot-line);
	text-align: left;
}

.mot-cross-reference-panel th {
	background: #f1f7ff;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #475569;
}

.mot-cross-reference-panel td {
	font-size: 13px;
	color: var(--mot-text);
}

.mot-cross-reference-panel tbody tr:last-child td {
	border-bottom: 0;
}

.mot-cross-reference-note {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--mot-muted);
}

.mot-support-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	margin-top: 24px;
	padding: clamp(28px, 4vw, 46px);
	border-radius: 22px;
	background:
		radial-gradient(circle at 85% 0, rgba(0, 103, 255, .35), transparent 19rem),
		var(--mot-navy);
	color: #fff;
	scroll-margin-top: 110px;
}

.mot-support-panel h3 {
	font-size: clamp(26px, 3vw, 38px);
	color: #fff;
}

.mot-support-panel p {
	max-width: 660px;
	margin: 10px 0 0;
	line-height: 1.65;
	color: #cbd5e1;
}

.mot-support-actions {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.mot-support-secondary {
	border: 1px solid rgba(255, 255, 255, .32);
	background: transparent;
	color: #fff;
}

.mot-support-secondary:hover {
	border-color: #fff;
	color: #fff;
}

.mot-related-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 10px;
	margin-bottom: 28px;
	padding-top: 52px;
	border-top: 1px solid var(--mot-line);
}

.mot-related-heading h2 {
	margin: 0;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--mot-navy);
}

.mot-related-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 108px;
	min-height: 44px;
	padding: 10px 17px;
	border: 1px solid #bfdbfe;
	border-radius: 11px;
	background: #f4f9ff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	color: var(--mot-blue);
	transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.mot-related-more:hover {
	border-color: #93c5fd;
	background: #eaf3ff;
	color: var(--mot-blue-dark);
}

.mot-related-more svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.woocommerce.single-product div.product .related.products {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.single-product .related.products > h2 {
	display: none;
}

.single-product .related.products li.product {
	overflow: hidden;
	border: 1px solid var(--mot-line);
	border-radius: 15px;
	background: #fff;
}

@media (max-width: 1024px) {
	.mot-product-hero {
		grid-template-columns: minmax(300px, .85fr) minmax(380px, 1.15fr);
	}

	.woocommerce.single-product div.product div.images,
	.woocommerce.single-product div.product div.summary {
		padding: 24px;
	}

	.woocommerce.single-product div.product form.cart {
		grid-template-columns: 72px minmax(150px, 1fr) minmax(140px, 180px);
	}

	.mot-specification-grid {
		grid-template-columns: 1fr;
	}

	.mot-support-panel {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.single-product .site-main {
		padding-top: 0;
	}

	body.single-product.ast-plain-container #primary {
		margin-top: 14px;
	}

	.mot-product-hero {
		display: block;
		border-radius: 18px;
	}

	.woocommerce.single-product div.product div.images {
		position: relative;
		top: auto;
		min-height: 300px;
		margin-bottom: 0;
		padding: 18px;
		border-right: 0;
		border-bottom: 1px solid var(--mot-line);
		border-radius: 0;
	}

	.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) {
		transform: scale(1.34);
	}

	.woocommerce.single-product div.product div.summary {
		padding: 22px 18px;
		border-radius: 0;
	}

	.woocommerce.single-product div.product .product_title {
		font-size: 34px;
	}

	.mot-product-kicker {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.mot-quick-specs {
		grid-template-columns: 1fr 1fr;
	}

	.woocommerce.single-product div.product form.cart {
		grid-template-columns: 72px 1fr;
	}

	.mot-cart-datasheet {
		grid-column: 1 / -1;
		width: 100%;
	}

	.mot-engineering-benefits {
		grid-template-columns: 1fr;
	}

	.mot-engineering-benefit {
		align-items: center;
		padding: 10px 11px;
	}

	.mot-engineering-benefit strong {
		font-size: 12px;
	}

	.mot-engineering-benefit small {
		font-size: 10px;
	}

	.mot-section-heading,
	.mot-datasheet-panel,
	.mot-support-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.mot-section-heading {
		gap: 14px;
		margin-top: 0;
	}

	.mot-product-information {
		margin-top: 36px;
	}

	.mot-section-heading > p {
		max-width: none;
	}

	.mot-product-anchor-nav {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	.mot-product-anchor-nav a {
		flex: 0 0 auto;
	}

	.mot-information-panel {
		padding: 22px 17px;
		border-radius: 16px;
	}

	.mot-panel-heading,
	.mot-datasheet-copy {
		gap: 12px;
	}

	.mot-panel-heading h3,
	.mot-datasheet-copy h3 {
		font-size: 20px;
	}

	.mot-specification-row {
		grid-template-columns: minmax(0, 1.2fr) minmax(90px, .8fr);
	}

	.mot-specification-row dt,
	.mot-specification-row dd {
		padding: 12px 11px;
		font-size: 12px;
	}

	.mot-support-panel {
		margin-bottom: 42px;
		padding: 28px 20px;
		border-radius: 18px;
	}

	.mot-support-actions,
	.mot-support-primary,
	.mot-support-secondary {
		width: 100%;
	}

	.mot-related-heading {
		gap: 12px;
		margin-bottom: 18px;
		padding-top: 36px;
	}

	.mot-related-heading h2 {
		font-size: 26px;
	}

	.mot-related-more {
		min-width: 84px;
		min-height: 40px;
		padding: 8px 13px;
		font-size: 13px;
	}

}

@media (max-width: 420px) {
	.mot-quick-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce.single-product div.product form.cart {
		grid-template-columns: 66px 1fr;
	}
}
