/* Native Range Detail template. Presentation is scoped to Abtaz markup. */

body.abtaz-range-detail-page .site-content > .ast-container,
body.abtaz-range-detail-page #content,
body.abtaz-range-detail-page #content .ast-container {
	display: block;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100% !important;
}

body.abtaz-range-detail-page #primary {
	float: none;
	flex: 0 0 100% !important;
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100% !important;
}

body.abtaz-range-detail-page #secondary { display: none; }

.abtaz-rd {
	--abtaz-interactive-hover: #00b4d8;
	--abtaz-section-heading: #007c91;
	--abtaz-dark-text: #2d2d2d;
	--abtaz-neutral-section: #f6f9fb;
	--abtaz-border: #dce3e7;
	--abtaz-range-dark: #3a3f58;
	background: #fff;
	overflow: hidden;
}

/* Exact General Product title-box geometry, without an icon. */
.abtaz-rd__introduction-section {
	padding-bottom: 56px;
	padding-top: 48px;
}
.abtaz-rd__introduction-section .abtaz-gp__title { margin-top: 0; }

.abtaz-rd__lead {
	color: var(--abtaz-dark-text);
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	margin: 25px 50px 0;
	text-align: justify;
}

.abtaz-rd__lead + .abtaz-rd__editorial { margin-top: 18px; }

.abtaz-rd__introduction-section .abtaz-rd__editorial {
	color: var(--abtaz-dark-text);
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	margin-bottom: 0;
}

.abtaz-rd__introduction-section .abtaz-rd__editorial p {
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: 400 !important;
	line-height: inherit !important;
}

.abtaz-rd__introduction-section .abtaz-rd__editorial p span {
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

/* Internal sub-range carousel. It shares the finite Brands controller. */
.abtaz-rd__range {
	background: var(--abtaz-neutral-section);
	padding: 58px 20px 62px;
}

.abtaz-rd__range-inner {
	margin: 0 auto;
	max-width: 1140px;
}

.abtaz-rd__range-heading {
	color: var(--abtaz-section-heading);
	font-family: inherit;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 30px;
	text-align: center;
}

.abtaz-rd__range-card {
	background: #fff;
	border: 1px solid var(--abtaz-border);
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 39%) minmax(0, 61%);
	margin: 0 auto;
	min-height: 330px;
	overflow: hidden;
	transition: border-color .2s ease;
	width: 100%;
}

.abtaz-rd__range-card:hover { border-color: var(--abtaz-interactive-hover); }
.abtaz-rd__range-card:hover .abtaz-rd__range-title { color: var(--abtaz-section-heading); }
.abtaz-rd__range-card--no-image { display: block; }

.abtaz-rd__range-media {
	border-right: 1px solid var(--abtaz-border);
	line-height: 0;
	min-height: 328px;
	overflow: hidden;
}

.abtaz-rd__range-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.abtaz-rd__range-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 34px 42px;
}

.abtaz-rd__range-title {
	color: var(--abtaz-dark-text);
	font-family: inherit;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 14px;
	transition: color .2s ease;
}

.abtaz-rd__range-short,
.abtaz-rd__range-long {
	color: var(--abtaz-dark-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
}

.abtaz-rd__range-short { font-weight: 500; margin: 0 0 12px; }
.abtaz-rd__range-long { margin: 0; }
.abtaz-rd__range-long > :first-child { margin-top: 0; }
.abtaz-rd__range-long > :last-child { margin-bottom: 0; }

.abtaz-rd__range-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.abtaz-rd__range-action {
	align-items: center;
	background: var(--abtaz-section-heading);
	border: 1px solid var(--abtaz-section-heading);
	color: #fff;
	display: inline-flex;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	justify-content: center;
	letter-spacing: .02em;
	line-height: 1.3;
	min-height: 46px;
	padding: 14px 24px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
	white-space: nowrap;
}

.abtaz-rd__range-action:hover,
.abtaz-rd__range-action:focus-visible {
	background: var(--abtaz-interactive-hover);
	border-color: var(--abtaz-interactive-hover);
	color: #212121;
}

.abtaz-rd__range-action:focus-visible { outline: 2px solid #2b2d42; outline-offset: 2px; }

.abtaz-rd__range .abtaz-gp__brand-arrow:not(:disabled):hover,
.abtaz-rd__range .abtaz-gp__brand-arrow:not(:disabled):focus-visible,
.abtaz-rd__range .abtaz-gp__brand-dot[data-active="true"] {
	background: var(--abtaz-interactive-hover);
	border-color: var(--abtaz-interactive-hover);
	color: #212121;
}

.abtaz-rd__range .abtaz-gp__brand-arrow:disabled { background: #fff; }

/* Sibling records reuse the approved General Product PRODUCTS card system. */
.abtaz-rd__siblings { background: #fff; }
.abtaz-rd__siblings .abtaz-gp__product-types-inner.abtaz-pr { background: #fff; }

/* Catalogue follows the contrasting RFQ band as an independent white section. */
.abtaz-rd__catalogue { background: #fff; padding: 46px 20px 52px; }
.abtaz-rd__catalogue-inner { margin: 0 auto; max-width: 1140px; }
.abtaz-rd__catalogue-inner > .abtaz-bc { max-width: 1140px; }
.abtaz-rd__quote { background: var(--abtaz-neutral-section); padding: 68px 20px; }
.abtaz-rd__quote--has-background-image {
	background-attachment: scroll;
	background-color: var(--abtaz-neutral-section);
	background-image: linear-gradient(rgba(246, 249, 251, .82), rgba(246, 249, 251, .82)), var(--abtaz-rd-quote-background-image);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.abtaz-rd__quote-inner { margin: 0 auto; max-width: 1140px; text-align: center; width: 100%; }
.abtaz-rd__quote-heading.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}
.abtaz-rd__quote-text {
	box-sizing: border-box;
	color: #2b2d42;
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.6;
	margin: 0 0 30px;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
	text-wrap: wrap;
	white-space: normal;
	width: 100%;
}
.abtaz-rd__quote .abtaz-gpc__quote-button {
	max-width: 320px;
	width: 100%;
}
.abtaz-rd__quote .abtaz-gpc__quote-dialog-panel h2 { color: var(--abtaz-section-heading); }
.abtaz-rd > .abtaz-gb__wave-cta { margin-top: 0; }
.abtaz-rd__configuration-notice { margin: 50px auto; max-width: 1140px; padding: 20px; }

@media (max-width: 1024px) {
	.abtaz-rd__introduction-section { padding-bottom: 46px; padding-top: 38px; }
	.abtaz-rd__lead,
	.abtaz-rd__introduction-section .abtaz-rd__editorial { font-size: 16px; line-height: 1.65; }
	.abtaz-rd__lead { margin-left: 25px; margin-right: 25px; }
	.abtaz-rd__range { padding: 50px 25px 54px; }
	.abtaz-rd__range-heading { font-size: 24px; margin-bottom: 26px; }
	.abtaz-rd__range-card { grid-template-columns: minmax(0, 40%) minmax(0, 60%); min-height: 310px; }
	.abtaz-rd__range-media { min-height: 308px; }
	.abtaz-rd__range-copy { padding: 30px 34px; }
	.abtaz-rd__range-title { font-size: 20px; }
	.abtaz-rd__catalogue { padding: 40px 25px 48px; }
	.abtaz-rd__quote { padding: 57px 25px; }
	.abtaz-rd__quote-text { font-size: 18px; line-height: 1.6; }
}

/*
 * Manufacturer designations carry deliberate lower-case letters — "MOVIDRIVE
 * modular", "MOVITRAC advanced", "X.e". The theme capitalises the first letter
 * of every word in H1/H3, and browsers treat "." as a word boundary, so "X.e"
 * renders as "X.E". These two catalogue headings therefore render exactly as
 * stored. Scoped to the Range Detail template only: global heading typography
 * is untouched.
 */
.abtaz-rd__introduction-section .abtaz-gp__title,
.abtaz-rd__range-card .abtaz-rd__range-title {
	text-transform: none;
}

/*
 * Tablet only. Between 768px and 1024px the 40% media column is held at
 * 308px tall, so the box turns portrait (down to 0.53:1 at 768px). Filling
 * that box with a landscape product photo cropped away the output shaft and
 * mounting feet, so the product is contained here instead — same box, same
 * layout, nothing cut. Desktop (>=1025px) and mobile (<=767px, 16/9) keep
 * object-fit: cover and are untouched.
 */
@media (min-width: 768px) and (max-width: 1024px) {
	.abtaz-rd__range-media img { object-fit: contain; }
}

@media (min-width: 1025px) {
	.abtaz-rd__quote--has-background-image[data-background-effect="fixed"] { background-attachment: fixed; }
}

@media (prefers-reduced-motion: reduce) {
	.abtaz-rd__quote--has-background-image { background-attachment: scroll !important; }
}

@media (max-width: 767px) {
	.abtaz-rd__introduction-section { padding-bottom: 36px; padding-top: 28px; }
	.abtaz-rd__lead { margin: 22px 0 0; text-align: left; }
	.abtaz-rd__introduction-section .abtaz-rd__editorial { text-align: left; }
	.abtaz-rd__lead + .abtaz-rd__editorial { margin-top: 16px; }
	.abtaz-rd__range { padding: 42px 20px 46px; }
	.abtaz-rd__range-heading { font-size: 23px; margin-bottom: 22px; }
	.abtaz-rd__range-card { display: flex; flex-direction: column; min-height: 0; }
	.abtaz-rd__range-media { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--abtaz-border); border-right: 0; min-height: 0; }
	.abtaz-rd__range-copy { padding: 24px; }
	.abtaz-rd__range-title { font-size: 18px; }
	.abtaz-rd__range-short,
	.abtaz-rd__range-long { font-size: 15px; }
	.abtaz-rd__range-actions { align-items: stretch; flex-direction: column; }
	.abtaz-rd__range-action { width: 100%; }
	.abtaz-rd__catalogue { padding: 34px 20px 42px; }
	.abtaz-rd__quote { padding: 47px 20px; }
	.abtaz-rd__quote-text { font-size: 17px; line-height: 1.6; }
}
