/* Techflex Enterprises — techflexhose.com
   Plain-code rebuild of the Magento "techflex" theme (2026). Colours, sizes and breakpoints follow
   the theme's own _extend.less, kept in _source/theme/web/css/source/. */

:root {
	--text: #333;
	--gray-dark: #575757;
	--gray: #666;
	--gray-light: #919191;
	--line: #dcdcdc;
	--line-input: #c2c2c2;
	--bg-gray: #f5f5f5;
	--smoke: #ececec;
	--gold: #ba9e55;
	--banner: #a4bce6;
	--error: #e02b27;
	--success-bg: #e5efe5;
	--success: #006400;
	--condensed: 'Roboto Condensed', sans-serif;
}

/* ### B A S E ### */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
}
@media screen and (min-width: 768px) { body { font-size: 15px; } }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
p { margin: 0 0 10px; }
ul, ol { margin: 0 0 25px; }
h1, h2, h3, h4 { font-weight: 300; line-height: 1.1; }
h2 { font-size: 26px; margin: 25px 0 20px; }
h3 { font-size: 18px; font-weight: 600; margin: 20px 0 10px; }
strong, b { font-weight: 700; }

a, a:visited { color: var(--gold); text-decoration: none; }
a:hover, a:focus { color: var(--gold); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 15px; background: #fff; }
.skip-link:focus { left: 10px; }
.visually-hidden {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.tf_nowrap { white-space: nowrap; }

/* Form controls (Magento blank defaults, with the theme's rounded corners) */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], select, textarea {
	width: 100%;
	max-width: 100%;
	height: 32px;
	padding: 0 9px;
	border: 1px solid var(--line-input);
	border-radius: 3px;
	background: #fff;
	color: var(--text);
	font: inherit;
	font-size: 14px;
	line-height: 1.42857143;
}
textarea { height: auto; min-height: 120px; padding: 10px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #68a8e0; box-shadow: 0 0 3px 1px #68a8e0; outline: none; }
input[type="number"] { -moz-appearance: textfield; }
.field { margin: 0 0 20px; }
.field > label, .label { display: inline-block; margin: 0 0 8px; font-weight: 600; }
.field.required > label::after, .label.required::after { content: ' *'; margin-left: 2px; color: var(--error); font-size: 12px; }
.field-note { margin: -12px 0 20px; color: var(--gray); font-size: 13px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.field-error { display: block; margin-top: 7px; color: var(--error); font-size: 12px; }
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Buttons: the theme's gold outline buttons */
.button, button.button {
	display: inline-block;
	padding: 7px 15px;
	border: 1px solid var(--gold);
	border-radius: 3px;
	background: transparent;
	color: var(--gold);
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.button:visited { color: var(--gold); }
.button:hover, .button:active, .button:focus {
	border-color: var(--gold);
	background: var(--gold);
	color: #fff;
	transition: all 0.3s ease-in-out;
}
.button.large { padding: 14px 17px; line-height: 1.375; }
.button[disabled] { opacity: 0.5; cursor: default; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 4px; }
.button-row .arrow { color: var(--text); }

/* Messages (the green bar Magento shows after adding to the quote request) */
.messages:empty { display: none; }
.message {
	position: relative;
	margin: 0 0 15px;
	padding: 12px 20px 12px 45px;
	border-radius: 3px;
	font-size: 13px;
}
.message::before { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; }
.message.success { background: var(--success-bg); color: var(--success); }
.message.success::before { content: '\2713'; }
.message.error { background: #fae5e5; color: var(--error); }
.message.error::before { content: '!'; left: 20px; }
.message a { color: inherit; text-decoration: underline; }

/* ### L A Y O U T ### */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 15px; }
@media screen and (min-width: 768px) { .wrap { padding: 0 20px; } }

.page-main { padding-top: 0; padding-bottom: 40px; }
.page-main::after { content: ''; display: block; clear: both; }

.breadcrumbs { margin: 0 0 15px; padding-top: 28px; font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: var(--gray); }
.breadcrumbs li + li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 12px 1px 10px; border: solid #a3a3a3; border-width: 0 1px 1px 0; transform: rotate(-45deg); }
.breadcrumbs a, .breadcrumbs a:visited { color: var(--text); }
.breadcrumbs a:hover { text-decoration: underline; }

.page-title { margin: 25px 0 25px; color: var(--text); font-size: 26px; font-weight: 300; line-height: 1.1; }
@media screen and (min-width: 768px) { .page-title { margin-bottom: 40px; font-size: 40px; } }
.breadcrumbs + .messages + .page-title, .breadcrumbs + .messages:empty + .page-title { margin-top: 0; }

/* ### H E A D E R ### */

.page-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--bg-gray); }
.page-home .page-header { border-bottom: none; }
.header-content { position: relative; max-width: 1280px; margin: 0 auto; padding-top: 51px; }

.logo { display: block; width: 240px; max-width: calc(100% - 30px); margin: 5px auto 10px; }
.logo img { display: block; width: 250px; max-width: 100%; height: auto; }

/* Phones: a bar with the menu button, phone and email icons, quote link and search button */
.nav-toggle, .search-toggle {
	position: absolute; top: 0; z-index: 2;
	width: 52px; height: 51px; padding: 0;
	border: 1px solid #d1d1d1; background: transparent; color: var(--text); cursor: pointer;
}
.nav-toggle { left: 0; border-width: 0 1px 1px 0; border-bottom-right-radius: 5px; }
.search-toggle { right: 0; border-width: 0 0 1px 1px; border-bottom-left-radius: 5px; }
.nav-toggle svg, .search-toggle svg { width: 21px; height: 21px; vertical-align: middle; }

.header-contact { position: absolute; top: 0; left: 52px; right: 52px; height: 51px; padding: 14px 0 0 15px; white-space: nowrap; }
.header-contact a, .header-contact a:visited { margin-right: 12px; color: var(--gray); font-size: 14px; }
.header-contact a:hover { color: var(--gold); }
.header-contact img { width: 18px; max-height: 18px; margin-right: 5px; vertical-align: middle; }
.header-contact a > span:not(.count):not(.header-quote-label) { display: none; }
.header-quote { display: none; float: right; margin-right: 10px !important; color: var(--text) !important; }
.header-quote.has-items { display: inline-block; }
.header-quote:hover .header-quote-label { color: var(--gold); }
.header-quote-label { font-size: 12px; vertical-align: middle; }
.header-quote .count { display: inline-block; margin-left: 3px; padding: 2px 7px 3px; border-radius: 3px; background: var(--gold); color: #fff; font-size: 11px; line-height: 1.4; vertical-align: middle; }
@media screen and (min-width: 600px) { .header-contact a > span:not(.count):not(.header-quote-label) { display: inline; } }

.block-search { display: none; padding: 0 15px 15px; }
.block-search.open { display: block; }
.block-search form { position: relative; }
.block-search input { padding-right: 35px; }
.block-search button {
	position: absolute; top: 0; right: 0; width: 34px; height: 32px; padding: 0;
	border: 0; background: transparent; color: #757575; cursor: pointer;
}
.block-search button svg { width: 16px; height: 16px; vertical-align: middle; }

/* Navigation: on phones an open panel below the header, from 768px a bar with dropdowns */
.navigation { display: none; border-top: 1px solid #d1d1d1; background: var(--bg-gray); }
.navigation.open { display: block; }
.navigation ul { margin: 0; padding: 0; list-style: none; }
.navigation .top > li { border-bottom: 1px solid #d1d1d1; }
.navigation .top > li:last-child { border-bottom: 0; }
.navigation .top > li > a, .navigation .top > li > button {
	display: block; width: 100%; padding: 8px 15px; border: 0; background: none;
	color: var(--gray-dark); font: 600 14px/1.6 'Roboto', sans-serif; letter-spacing: 1px;
	text-align: left; text-transform: uppercase; cursor: pointer;
}
.navigation .top > li > a:visited { color: var(--gray-dark); }
.navigation .top > li > button { cursor: default; }
.navigation .top > li > button svg { display: none; }
.navigation .submenu { padding: 0 0 20px; }
.navigation .submenu a, .navigation .submenu a:visited { display: block; padding: 8px 15px 8px 30px; color: var(--gray-dark); font-size: 15px; line-height: 1.25; }
.navigation .submenu a:hover, .navigation a[aria-current="page"] { color: var(--gold); }

@media screen and (min-width: 768px) {
	.nav-toggle, .search-toggle { display: none; }
	.header-content {
		display: grid; grid-template-columns: 1fr auto; grid-template-areas: "contact search" "logo logo";
		align-items: start; padding: 15px 20px;
	}
	.logo { grid-area: logo; max-width: none; margin: 7px 0 0; }
	.header-contact { grid-area: contact; position: static; height: 26px; padding: 0; margin-top: 6px; }
	.header-contact a { margin-right: 20px; }
	.header-quote { float: none; margin-right: 0 !important; }
	.header-quote-label { margin-left: 0; padding-left: 20px; border-left: 1px solid #d1d1d1; font-size: 14px; }
	.block-search { grid-area: search; display: block; width: 216px; padding: 0; }

	.navigation { display: block; position: absolute; left: 0; right: 0; top: 75px; border: 0; background: transparent; text-align: right; pointer-events: none; }
	.navigation .top { display: inline-flex; padding-right: 5px; pointer-events: auto; }
	.navigation .top > li { position: relative; border: 0; }
	.navigation .top > li > a, .navigation .top > li > button {
		display: inline-flex; align-items: center; width: auto;
		padding: 18px 15px; color: var(--gray-dark); font-size: 14px; font-weight: 700;
		letter-spacing: 0.5px; line-height: 18px;
	}
	.navigation .top > li > button { padding-right: 0; }
	.navigation .top > li > a:hover { color: var(--gold); }
	.navigation .top > li > button svg { display: inline-block; width: 28px; height: 28px; margin: -5px 0 -5px 2px; }
	.navigation .submenu {
		display: none; position: absolute; left: 0; top: 54px; z-index: 30;
		min-width: 250px; padding: 8px 0; border: 1px solid #d1d1d1; border-top: 0;
		border-radius: 0 0 5px 5px; background: #fff; text-align: left;
	}
	.navigation .top > li:last-child .submenu { left: auto; right: 0; }
	.navigation .top > li:hover > .submenu, .navigation .top > li:focus-within > .submenu, .navigation .top > li.open > .submenu { display: block; }
	.navigation .submenu a, .navigation .submenu a:visited { padding: 8px 16px; font-size: 15px; white-space: nowrap; }
	.navigation .submenu a:hover { background: #fff; color: var(--gold); }
}
@media screen and (min-width: 992px) {
	.header-content { grid-template-columns: auto 1fr auto; grid-template-areas: "logo . contact" "logo . search"; padding-bottom: 20px; }
	.logo { margin-top: -5px; }
	.header-contact { margin-top: 0; text-align: right; }
	.header-contact a { margin-right: 30px; font-size: 15px; }
	.header-contact a.header-email { margin-right: 0; }
	.header-quote-label { margin-left: 30px; padding-left: 30px; font-size: 15px; }
	.block-search { margin-top: 19px; justify-self: end; }
	.navigation { top: 51px; text-align: center; }
	.navigation .top { padding: 0; }
	.navigation .top > li:last-child .submenu { left: 0; right: auto; }
}
@media screen and (min-width: 1200px) {
	.logo { width: 250px; }
	.block-search { width: 231px; }
	.navigation .top > li > button svg { width: 34px; height: 34px; margin: -8px 0 -8px 0; }
}
@media screen and (min-width: 1280px) {
	.navigation .top > li > a, .navigation .top > li > button { font-size: 15px; letter-spacing: 2px; }
}

/* ### F O O T E R ### */

.page-footer { border-top: 1px solid var(--line); background: var(--bg-gray); }
.footer-content { max-width: 1280px; margin: 0 auto; padding: 25px 15px 30px; color: var(--gray); font-size: 14px; overflow: auto; }
@media screen and (min-width: 768px) { .footer-content { padding-left: 20px; padding-right: 20px; } }
.footer-contact { line-height: 1.9; text-align: center; }
.footer-contact a, .footer-contact a:visited { color: var(--gray); white-space: nowrap; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact img { width: 18px; max-height: 18px; margin-right: 5px; vertical-align: middle; }
.footer-contact .row { display: block; }
.footer-contact .row:first-of-type { margin-top: 4px; }
.footer-contact .spacer { display: none; margin: 0 7px; }
.footer-contact .footer-email { display: inline-block; margin-top: 4px; }
.footer-logos { margin: 16px 0; text-align: center; }
.footer-logos img { width: 87px; }
.copyright { display: block; margin: 12px 0 0; text-align: center; font-size: 14px; }
.footer-pelland { margin: 12px 0; text-align: center; }
.footer-pelland a, .footer-pelland a:visited { color: var(--gray); }
.footer-pelland a:hover { color: var(--gold); }
.footer-pelland img { width: 200px; margin-top: 5px; }
.footer-pelland p { margin: 10px 0; }
.footer-safety { clear: both; overflow: auto; }
.footer-safety p { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--gray-light); font-size: 13px; }
.footer-safety strong { font-weight: 600; }
@media screen and (min-width: 768px) {
	.footer-contact { float: left; text-align: left; }
	.footer-logos { float: right; margin-top: 6px; text-align: left; }
	.copyright { float: left; clear: left; text-align: left; }
	.footer-pelland { float: left; clear: left; text-align: left; }
}
@media screen and (min-width: 992px) {
	.footer-contact .row { display: inline; }
	.footer-contact .spacer { display: inline; }
	.footer-contact .footer-email { display: inline; margin: 0 0 0 20px; }
}

/* ### H O M E ### */

.hp-banner { background: var(--bg-gray); }
.hp-banner-bg {
	position: relative; height: 275px;
	background: url(../img/hero.jpg) no-repeat center bottom / cover;
}
.hp-banner-inner { position: relative; max-width: 1240px; height: 100%; margin: 0 auto; }
.hp-banner-inner img { position: absolute; bottom: 10px; width: 75px; height: auto; }
.hp-banner-inner .badge-iso { left: 0; }
.hp-banner-inner .badge-usa { right: 15px; }
.hp-banner h1 {
	margin: 0; padding: 15px; background: var(--banner); color: #fff;
	font: 400 20px/1.4 var(--condensed); letter-spacing: 1px; text-align: center;
}
@media only screen and (min-width: 992px) {
	.hp-banner-bg { height: 370px; }
	.hp-banner-inner img { width: 90px; }
	.hp-banner-inner .badge-usa { right: 0; }
	.hp-banner h1 { font-size: 22px; }
}
@media only screen and (min-width: 1280px) {
	.hp-banner-bg { border-radius: 5px 5px 0 0; background-size: contain; }
}

.page-home .page-main { max-width: 1280px; margin: 0 auto; padding-top: 25px; padding-bottom: 20px; }

.hp-featured { margin: 25px 15px 0; padding: 0 15px 25px; border: 1px solid var(--line); border-radius: 5px; text-align: center; }
.hp-featured h2, .hp-products h2 {
	margin: 20px 0; color: var(--gray); font: 600 16px/1.1 var(--condensed);
	letter-spacing: 2px; text-transform: uppercase;
}
.hp-featured-item { position: relative; max-width: 620px; margin: 0 auto; }
.hp-featured-item img { display: block; width: 620px; max-width: 100%; height: auto; margin: 0 auto; }
.hp-featured-item h3 { margin: 15px 0 10px; color: var(--text); font-size: 18px; font-weight: 400; line-height: 1.1; }
.hp-featured-item p { color: var(--text); font-weight: 300; }
.hp-featured-item span { display: block; color: var(--text); }
.hp-featured-item:hover span { color: var(--gold); }
.hp-featured-item a { position: absolute; inset: 0; }

.hp-products { padding: 0 15px; text-align: center; }
.hp-products ul { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.hp-products li {
	display: flex; position: relative; flex-wrap: wrap; align-items: flex-end;
	width: calc(50% - 7px); min-height: 135px; margin-bottom: 19px;
	border-radius: 5px; background-size: cover; background-position: center;
}
.hp-products li h3 {
	width: 100%; margin: 15px 0 -5px; padding: 10px 7px;
	border-radius: 0 0 5px 5px; background: var(--smoke); color: var(--text);
	font: 400 15px/1.1 var(--condensed); letter-spacing: 0.5px; text-align: center;
}
.hp-products li:hover h3 { color: var(--gold); transition: all 0.3s ease-in-out; }
.hp-products li a { position: absolute; inset: 0; border-radius: 5px; }
@media only screen and (max-width: 479px) { .hp-products li:first-of-type { width: 100%; } }
@media only screen and (min-width: 480px) and (max-width: 639px) { .hp-products li:nth-child(n+11) { width: 100%; } }
@media only screen and (min-width: 640px) and (max-width: 991px) {
	.hp-products li { width: calc(33% - 7px); }
	.hp-products li:nth-child(n+10) { width: 100%; }
}
@media only screen and (min-width: 768px) {
	.hp-featured { margin: 25px 20px 20px; }
	.hp-featured h2, .hp-products h2 { font-size: 18px; letter-spacing: 3px; }
	.hp-featured-item h3 { font-size: 20px; }
	.hp-products { padding: 0 20px; }
}
@media only screen and (min-width: 992px) {
	.hp-featured h2, .hp-products h2 { margin: 30px 0; font-size: 19px; }
	.hp-products li { width: calc(25% - 19px); margin-bottom: 29px; }
	.hp-products li:nth-child(n+9) { width: calc(50% - 9px); }
}
@media only screen and (min-width: 1280px) { .hp-products li { min-height: 150px; } }

/* ### C A T E G O R Y ### */

.category-description { margin-bottom: 40px; }
.category-description ul { padding-left: 40px; }
.category-description li { margin-bottom: 10px; }
.products-grid { overflow-x: hidden; }
.products-grid ol { display: flex; flex-wrap: wrap; margin: 0 -15px 0 0; padding: 20px 0 0; list-style: none; }
.product-item { position: relative; width: 50%; margin-bottom: 25px; padding-right: 15px; }
.product-item-photo { display: block; aspect-ratio: 5 / 3; background: #fff; }
.product-item-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-item-name { display: block; margin: 8px 0; font-weight: 400; }
.product-item-name a, .product-item-name a:visited { color: var(--text); font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase; }
.product-item-name a::after { content: ''; position: absolute; inset: 0 15px 0 0; }
.product-item .more {
	display: inline-block; padding: 5px 10px; border: 1px solid var(--gold); border-radius: 3px;
	background: #fff; color: var(--gold); font-size: 12px; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase;
}
.product-item:hover .more { background: var(--gold); color: #fff; transition: all 0.3s ease-in-out; }
@media screen and (min-width: 480px) { .product-item { width: 33.3333%; } }
@media screen and (min-width: 992px) {
	.products-grid ol { margin-right: -25px; }
	.product-item { width: 25%; margin-bottom: 30px; padding-right: 25px; }
	.product-item-name a::after { right: 25px; }
}

/* ### P R O D U C T ### */

.product-media { margin-bottom: 20px; }
.gallery { margin-bottom: 20px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; }
.gallery-main { display: block; position: relative; width: 100%; aspect-ratio: 600 / 340; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gallery-thumbs button { width: 64px; height: 44px; padding: 2px; border: 1px solid var(--line); border-radius: 3px; background: #fff; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-details-title { padding-bottom: 8px; margin: 0 0 12px; border-bottom: 1px solid var(--line); color: var(--gray); font-size: 15px; font-weight: 400; line-height: 1.42857143; }
.product-details p { margin-bottom: 7px; }

/* The photo comes first on phones; on wider screens it sits on the left of the tables. */
.product-view { display: flex; flex-direction: column-reverse; }
@media screen and (min-width: 768px) {
	.product-view { flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; }
	.product-media { width: calc(30% - 20px); }
	.product-info-main { width: 70%; }
}

/* Spec and part tables, laid out like the theme's grouped-product table: one card per row on phones,
   one table with a header row from 640px. */
.spec-table { margin: 0 0 20px; }
.spec-table .spec-row { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 5px; }
.spec-table .spec-head { display: none; }
.spec-table .cell { display: block; }
.spec-table .cell-label { display: block; padding: 5px 10px 0; border-top: 1px solid var(--line); color: var(--gray); font-size: 11px; text-transform: uppercase; }
.spec-table .cell:first-child .cell-label { border-top: none; }
.spec-table .cell-value { display: block; padding: 3px 10px 5px; }
.spec-table .cell-qty { padding: 5px 10px 7px; border-top: 1px solid var(--line); border-radius: 0 0 5px 5px; background: var(--bg-gray); }
.spec-table .cell-qty .cell-label { padding: 0 0 3px; border: 0; line-height: 1.3; }
.spec-table .cell-qty input { width: 60px; text-align: center; }
@media screen and (min-width: 640px) {
	.spec-table .spec-row, .spec-table .spec-head { display: flex; margin: 0; border-top: none; border-radius: 0; }
	.spec-table .spec-head { border: 1px solid var(--line); border-radius: 5px 5px 0 0; background: var(--bg-gray); }
	.spec-table .spec-row:last-child { border-radius: 0 0 5px 5px; }
	.spec-table .cells { display: flex; flex: 1 1 auto; min-width: 0; }
	.spec-table .cell { flex: 1 1 0; min-width: 0; }
	.spec-table .cell-label { display: none; }
	.spec-table .spec-head .cell-label { display: block; padding: 5px 5px 7px; border: 0; line-height: 1.4; }
	.spec-table .cell-value { padding: 5px 5px; font-size: 14px; }
	.spec-table .cell:first-child .cell-label, .spec-table .cell:first-child .cell-value { padding-left: 8px; }
	.spec-table .cell-qty { flex: 0 0 67px; width: 67px; padding: 5px 10px 7px 5px; border: 0; background: transparent; }
	.spec-table .spec-head .cell-qty .cell-label { padding: 5px 0 7px; }
	.spec-table .spec-row .cell-qty .cell-label { display: none; }
}
@media screen and (min-width: 1200px) { .spec-table .cell-label { font-size: 12px; } }

.spec-intro h2 { margin-top: 0; }

.ordering-box { margin: 30px 0 25px; padding: 10px 0; border-radius: 5px; background: var(--bg-gray); color: var(--gray); font-size: 13px; }
.ordering-box > p { padding: 0 15px; }
.ordering-box > p:first-of-type { font-size: 12px; text-transform: uppercase; }
.ordering-box > p:last-of-type { margin: 10px 0 0; }
.ordering-box div { padding: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ordering-box div p { padding: 0 5px; }
@media screen and (min-width: 768px) { .ordering-box div { display: flex; justify-content: space-between; } }

.quote-add[data-kind="text"] { margin-top: 25px; }
.quote-add .field { margin-bottom: 25px; }
.quote-add textarea { height: 122px; }
.quote-add .spec-table + script + .form-error-row, .quote-add .spec-table + script + .form-error-row:empty + .button-row { margin-top: 25px; }

/* Full-size image viewer */
.viewer { width: min(1200px, 100vw - 30px); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 5px; background: #fff; }
.viewer::backdrop { background: rgba(0, 0, 0, 0.75); }
.viewer img { display: block; width: 100%; height: auto; max-height: calc(100vh - 30px); object-fit: contain; }
.viewer button { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }

/* ### Q U O T E   R E Q U E S T ### */

.quote-empty p { margin-bottom: 10px; }
.quote-items { margin: 0 0 25px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; list-style: none; }
.quote-item { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 15px 5px; border-bottom: 1px solid #d1d1d1; }
.quote-item:last-child { border-bottom: none; }
.quote-item-main { flex: 1 1 260px; min-width: 0; }
.quote-item-name { margin: 0 0 5px; font-size: 18px; font-weight: 400; }
.quote-item-name a, .quote-item-name a:visited { color: var(--text); }
.quote-item-name a:hover { color: var(--gold); }
.quote-item-detail { margin: 0; color: var(--gray); font-size: 13px; }
.quote-item-detail dt { display: inline; font-weight: 600; }
.quote-item-detail dd { display: inline; margin: 0 12px 0 3px; }
.quote-item textarea { min-height: 60px; height: 60px; margin-top: 8px; }
.quote-item-qty { flex: 0 0 90px; }
.quote-item-qty label { display: block; margin-bottom: 4px; color: var(--gray); font-size: 11px; text-transform: uppercase; }
.quote-item-qty input { width: 70px; text-align: center; }
.quote-item-remove { flex: 0 0 auto; align-self: center; padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-size: 13px; cursor: pointer; }
.quote-item-remove:hover { text-decoration: underline; }
.quote-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 40px; }
.quote-form-wrap h2 { margin-top: 0; font-size: 22px; }
.form-error-row { margin-bottom: 20px; }
.form-error-row:empty { display: none; }

/* ### F O R M S  (the server's mailer() library: its table, restyled) ### */

.mailer-box { max-width: 920px; }
.mailer-box .form-legend { margin: 0 0 25px; font-size: 22px; font-weight: 300; }
.mailer-box .note { margin-bottom: 20px; }
.mailer-box #theForm { margin: 0; }
.mailer-box .mailer-table { width: 100%; border: 0; border-collapse: collapse; }
.mailer-box .mailer-table td, .mailer-box .mailer-table th { padding: 0 0 20px; vertical-align: top; }
.mailer-box #theForm tr.ns { display: none !important; }
.mailer-box #theForm .mailer_leftCol label { font-weight: 600; font-size: 14px; }
.mailer-box #theForm input[type="text"], .mailer-box #theForm input[type="email"], .mailer-box #theForm input[type="tel"],
.mailer-box #theForm input:not([type]), .mailer-box #theForm select, .mailer-box #theForm textarea {
	width: 100% !important; max-width: none !important; height: 32px; margin: 0; padding: 0 9px;
	border: 1px solid var(--line-input); border-radius: 3px; background: #fff; color: var(--text);
	font: 400 14px/1.42857143 'Roboto', sans-serif !important;
}
.mailer-box #theForm textarea { height: 120px; min-height: 0; padding: 8px 9px; resize: vertical; }
.mailer-box #theForm input:focus, .mailer-box #theForm select:focus, .mailer-box #theForm textarea:focus { border-color: #68a8e0; box-shadow: 0 0 3px 1px #68a8e0; outline: none; }
.mailer-box #theForm [id$="_spaceMessage"] { margin-top: 6px; color: var(--gray); font-size: 13px; }
.mailer-box #top_mailer_error td, .mailer-box #bottom_mailer_error td, .mailer-box #response_message { color: var(--error); font-size: 14px; }
.mailer-box #theForm [id^="unofficial_warning"] td { color: var(--error) !important; }
.mailer-box #submit > td { padding-top: 0; text-align: left !important; }
.mailer-box #mailer_submit {
	padding: 7px 15px; border: 1px solid var(--gold); border-radius: 3px; background: transparent; color: var(--gold);
	font: 400 14px/1.6 'Roboto', sans-serif !important; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
	-webkit-appearance: none; appearance: none;
}
.mailer-box #mailer_submit:hover, .mailer-box #mailer_submit:focus { background: var(--gold); color: #fff; transition: all 0.3s ease-in-out; }
.mailer-box #mailer_submit:disabled { opacity: 0.6; cursor: default; }
.mailer-box #formPrivacyTr > td > div:first-child { text-align: left !important; }
.mailer-box #privacyLink, .mailer-box #closeLink { color: var(--gray); font-size: 13px !important; text-decoration: underline; }
.mailer-box #privacyDiv { margin: 12px 0 0 !important; padding: 4px 16px 16px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-gray); }
.mailer-box #privacyDiv * { font-family: 'Roboto', sans-serif; text-align: left; }
.mailer-box #privacyDiv h1 { font-size: 20px; }
.mailer-box #privacyDiv h2 { font-size: 16px; }
.mailer-box #privacyDiv p { font-size: 13px; }

/* Phones: labels over the fields, a full-width button */
@media screen and (max-width: 767px) {
	.mailer-box .mailer-table, .mailer-box .mailer-table > tbody, .mailer-box .mailer-table > tbody > tr, .mailer-box .mailer-table > tbody > tr > td { display: block; width: auto !important; text-align: left !important; }
	.mailer-box .mailer-table > tbody > tr[style*="display: none"] { display: none !important; }
	.mailer-box #theForm .mailer_leftCol { padding-bottom: 8px; }
	.mailer-box #mailer_submit { width: 100%; padding-top: 10px; padding-bottom: 10px; }
}
/* From 768px: Magento's two columns, labels on the left */
@media screen and (min-width: 768px) {
	.contact-form .form-legend, .contact-form .note { margin-left: 25.8%; }
	.contact-form .form-legend { font-size: 18px; }
	.mailer-box #theForm .mailer_leftCol { padding-top: 6px; padding-right: 15px; text-align: right !important; }
	.contact-form #submit > td { padding-left: 25.8%; }
	.quote-form-wrap #submit > td { padding-left: 30%; }
}

.form-thanks { max-width: 920px; padding: 20px; border-radius: 5px; background: var(--success-bg); color: var(--success); }
.form-thanks p:last-child { margin-bottom: 0; }

/* ### C M S ### */

.cms-content ul { padding-left: 0; list-style: none; }
.cms-content li { margin-bottom: 10px; }
.cms-content ul ul { margin: 0; }
.cms-content h2 { margin-top: 30px; }
.cms-images { display: flex; flex-wrap: wrap; justify-content: flex-start; margin-top: 20px; }
.cms-images div { position: relative; width: 290px; margin: 0 15px 20px 0; }
.cms-images span { display: inline-block; position: absolute; top: 10px; left: 10px; font-size: 14px; }
@media screen and (min-width: 768px) {
	.cms-images { flex-wrap: nowrap; justify-content: space-between; }
	.cms-images div { width: calc(33.3333% - 13.3333px); margin-right: 0; }
	.cms-images.two { justify-content: flex-start; }
	.cms-images.two div { margin-right: 20px; }
}

.crimp-chart { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-gray); }
.crimp-chart h3 { padding: 0 15px; font-size: 17px; font-weight: 400; }
.crimp-chart > div { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: #fff; }
.crimp-chart > div > div { display: flex; flex-wrap: wrap; width: 50%; }
.crimp-chart > div > div > div { display: flex; width: 100%; padding: 10px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.crimp-chart > div > div:first-of-type > div { border-left: none; }
.crimp-chart > div > div > div:first-of-type { height: 61px; background: var(--bg-gray); font-weight: 600; }
.crimp-chart p { margin-top: 10px; padding: 0 15px; }
@media screen and (min-width: 360px) { .crimp-chart > div > div > div:first-of-type { height: auto; white-space: nowrap; } }
@media screen and (min-width: 768px) {
	.crimp-chart > div > div { width: 100%; flex-wrap: nowrap; }
	.crimp-chart > div > div > div { width: 8%; }
	.crimp-chart > div > div:first-of-type > div { border-left: 1px solid var(--line); }
	.crimp-chart > div > div > div:first-of-type { width: 20%; border-left: none; }
}

.ordering-table { display: flex; margin-bottom: 20px; text-align: center; }
.ordering-table > div:first-child { margin-right: 10px; }
.ordering-table span { display: block; padding: 0 5px; }
.ordering-table span + span { margin-top: 7px; padding-top: 7px; border-top: 1px solid #d1d1d1; }

.catalog-download a.cover { display: block; margin-bottom: 10px; }

.quote-frame { display: block; width: 100%; min-height: 700px; border: 0; }

/* ### S E A R C H ### */

.search-summary { margin-bottom: 10px; }
