/*
Theme Name:   Blocksy Child – TODOS Labtech
Template:     blocksy
Description:  Child theme for TODOS Labtech. Integrates ElementsKit Elementor header/footer templates through Blocksy's own header/footer output filters.
Version:      1.0.55
Text Domain:  blocksy-child
*/

/* Visible keyboard focus for header/footer controls (WCAG 2.4.7).
   Scoped to the TODOS templates only. */
.td-site-header a:focus-visible,
.td-site-header button:focus-visible,
.td-site-footer a:focus-visible {
	outline: 2px solid #062B52; /* navy brand focus ring on the light header/footer */
	outline-offset: 3px;
	border-radius: 4px;
}
.td-topbar a:focus-visible,
.td-copyright a:focus-visible {
	outline-color: #FFFFFF; /* navy top bar / navy copyright strip */
}

/* Header: the active top-level menu item gets a navy underline (its text colour alone is too close to the
   #102A43 menu text to mark it). Desktop menu only. */
@media (min-width: 1025px) {
	.td-header-nav .elementskit-navbar-nav > li.current-menu-item > a,
	.td-header-nav .elementskit-navbar-nav > li.current-menu-ancestor > a {
		box-shadow: inset 0 -2px 0 #062B52;
	}
}

/* Footer copyright + developer credit (text lives in footer 42's Text Editor widget). Light bar since V5:
   navy underlined credit link (12.6:1 on #F4F7FA), hover #0877F9. */
.td-copyright .td-copy-text,
.td-copyright .td-copy-credit {
	display: inline-block;
}
.td-copyright .td-copy-sep {
	margin: 0 4px;
}
.td-copyright .td-credit-link {
	color: #FFFFFF;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .2s ease;
}
.td-copyright .td-credit-link:hover,
.td-copyright .td-credit-link:focus-visible {
	color: #64B5FF;
	text-decoration-thickness: 2px;
}
@media (max-width: 1023px) {
	/* Below 1024px the line no longer fits beside the legal links: the two parts stack cleanly
	   (centred on mobile via the widget's own alignment) instead of leaving a dangling separator. */
	.td-copyright .td-copy-sep { display: none; }
	.td-copyright .td-copy-text,
	.td-copyright .td-copy-credit { display: block; }
}

/* Footer navigation lists (Quick Links / Glass Vials / Analytical Instruments, class td-footer-links):
   chevron nudges 3px right on hover or keyboard focus. Colours, sizes and spacing are set in Elementor. */
.td-footer-links .elementor-icon-list-icon {
	transition: transform .2s ease;
}
.td-footer-links .elementor-icon-list-item > a:hover .elementor-icon-list-icon,
.td-footer-links .elementor-icon-list-item > a:focus-visible .elementor-icon-list-icon {
	transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
	.td-footer-links .elementor-icon-list-icon { transition: none; }
	.td-footer-links .elementor-icon-list-item > a:hover .elementor-icon-list-icon,
	.td-footer-links .elementor-icon-list-item > a:focus-visible .elementor-icon-list-icon { transform: none; }
}

/* Header top bar + footer social circles (Phase 5A/5B): one subtle hover for all five brands
   (opacity, because a brightness filter has no effect on X's black). No scale/rotate.
   Keeps the circle round while focused (the generic focus rule above sets a 4px radius).
   Elementor Free has no per-widget custom CSS, so this tiny scoped rule lives here. */
.td-topbar .elementor-social-icon,
.td-site-footer .elementor-social-icon {
	transition: opacity .2s ease;
}
.td-topbar .elementor-social-icon:hover,
.td-topbar .elementor-social-icon:focus-visible,
.td-site-footer .elementor-social-icon:hover,
.td-site-footer .elementor-social-icon:focus-visible {
	opacity: .85;
}
.td-topbar .elementor-social-icon:focus-visible,
.td-site-footer .elementor-social-icon:focus-visible {
	border-radius: 50%;
}

/* ElementsKit nav: its links use `transition: all .3s`, which also animates the `visibility` they
   inherit from a just-opened dropdown. When ElementsKit moves keyboard focus into a submenu
   (ArrowDown / ArrowRight) the link is still `hidden` for that instant, so focus is refused.
   Limiting the transition to colours keeps the hover animation and fixes keyboard navigation. */
.td-header-nav .elementskit-navbar-nav li > a {
	transition-property: color, background-color, border-color, box-shadow;
}

/* Off-canvas (≤1024px): show nested product groups as an indented tree, not floating cards.
   !important is needed to beat the widget's desktop panel shadow/border, scoped to this breakpoint only. */
@media (max-width: 1024px) {
	.td-header-nav .elementskit-navbar-nav .elementskit-submenu-panel {
		box-shadow: none !important;
		border: 0 !important;
		border-left: 2px solid #E2E8F0 !important;
		border-radius: 0 !important;
		margin-left: 16px;
	}
}

/* Logged-in editors only: keep the off-canvas panel below the WordPress admin bar. */
.admin-bar .td-header-nav .elementskit-menu-offcanvas-elements { top: 32px; height: calc(100% - 32px); }
@media (max-width: 782px) {
	.admin-bar .td-header-nav .elementskit-menu-offcanvas-elements { top: 46px; height: calc(100% - 46px); }
}

/* Desktop only: second-level items open their flyout to the right, so point the arrow right. */
@media (min-width: 1025px) {
	.td-header-nav .elementskit-submenu-panel .elementskit-submenu-indicator {
		transform: rotate(-90deg);
	}
}

/* Product specification tables (Phase 4B).
   Semantic <table class="td-spec-table"> inside an Elementor Text Editor widget; edit rows in the widget's
   "Text" tab. Colours use the Elementor Kit 6 global colour variables. */
.td-spec-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
	background: var(--e-global-color-tdwhite, #FFFFFF);
}
.td-spec-table th,
.td-spec-table td {
	padding: 12px 16px;
	border: 1px solid var(--e-global-color-tdborder, #E2E8F0);
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}
.td-spec-table thead th {
	background: var(--e-global-color-primary, #062B52);
	color: var(--e-global-color-tdwhite, #FFFFFF);
	font-weight: 600;
}
.td-spec-table tbody th {
	width: 36%;
	background: var(--e-global-color-tdlight, #F4F9FC);
	color: var(--e-global-color-tdheading, #102A43);
	font-weight: 600;
}
.td-spec-table td {
	color: var(--e-global-color-text, #475569);
}
@media (max-width: 767px) {
	/* font-size stays 15px on mobile (site-wide 15px minimum); only padding tightens. */
	.td-spec-table th,
	.td-spec-table td { padding: 10px 12px; }
	.td-spec-table tbody th { width: 42%; }
}

/* Icon Box text column may shrink inside its flex row, so long unbroken strings (e.g. e-mail addresses
   on the Contact page at 320px) wrap instead of overflowing their card. */
.elementor-widget-icon-box .elementor-icon-box-content {
	min-width: 0;
}

/* Enquiry forms (Phase 4C) – accessibility adjustments to Fluent Forms defaults, scoped to the two
   TODOS enquiry forms (.td-enquiry-form). Error text ≥ 4.5:1, field borders ≥ 3:1, visible focus. */
.td-enquiry-form .fluentform .ff-el-form-control {
	border-color: #8492A6;
}
.td-enquiry-form .fluentform .ff-el-form-control:focus,
.td-enquiry-form .fluentform .ff-el-form-control:focus-visible,
.td-enquiry-form .fluentform input[type="checkbox"]:focus-visible,
.td-enquiry-form .fluentform button[type="submit"]:focus-visible,
.td-enquiry-form .fluentform a:focus-visible {
	outline: 3px solid #062B52; /* navy brand focus ring (both enquiry forms) */
	outline-offset: 2px;
	border-color: #062B52;
	box-shadow: none;
}
.td-enquiry-form .fluentform .ff-el-is-error .error,
.td-enquiry-form .fluentform .ff-el-is-error .text-danger,
.td-enquiry-form .fluentform .ff-errors-in-stack .error {
	color: #B42318;
	font-size: 15px; /* site-wide 15px minimum */
	line-height: 1.4;
}
.td-enquiry-form .fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #B42318;
}
.td-enquiry-form .fluentform input[type="checkbox"] { accent-color: #062B52; }
.td-enquiry-form .fluentform .ff-el-form-check-label a { color: #062B52; text-decoration: underline; text-underline-offset: 2px; }
.td-enquiry-form .fluentform .ff-el-form-check-label a:hover { color: #0877F9; }
/* Distributor form 4 submit: navy (matches Fluent's per-form rule specificity, so no !important). */
.td-enquiry-form form.fluent_form_4 .ff-btn-submit:not(.ff_btn_no_style) {
	background-color: #062B52;
	border-color: #062B52;
	color: #FFFFFF;
	transition: background-color .2s ease, border-color .2s ease;
}
.td-enquiry-form form.fluent_form_4 .ff-btn-submit:not(.ff_btn_no_style):hover,
.td-enquiry-form form.fluent_form_4 .ff-btn-submit:not(.ff_btn_no_style):focus-visible { background-color: #0877F9; border-color: #0877F9; color: #FFFFFF; }

/* Footer "Get in Touch" list: phone / e-mail links navy, the address stays body grey. */
.td-site-footer .td-footer-contact.elementor-widget-icon-list .elementor-icon-list-item > a .elementor-icon-list-text { color: #062B52; }
.td-site-footer .td-footer-contact.elementor-widget-icon-list .elementor-icon-list-item > a:hover .elementor-icon-list-text { color: #0877F9; }

.td-enquiry-form .fluentform .ff-el-help-message {
	color: var(--e-global-color-text, #475569);
	font-size: 15px; /* site-wide 15px minimum */
	line-height: 1.4;
}

/* ==========================================================================
   Contact Us page (page 90). Every rule is scoped to classes that only exist on that page
   (.td-contact-*, .page-id-90), so the Distributor form (ID 4) and other pages are unaffected. Layout,
   colours, spacing and typography are set in Elementor; only what Elementor cannot do lives here.
   Brand: navy #062B52, hover #0877F9.
   ========================================================================== */

/* Banner breadcrumb on the dark image: white, underlined link, visible focus. */
.td-contact-banner .td-contact-breadcrumb a {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.td-contact-banner .td-contact-breadcrumb a:hover { color: #CFE3FF; }
.td-contact-banner .td-contact-breadcrumb a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; border-radius: 4px; }
/* Mobile: the cover crop shows the instruments behind the H1, so the banner overlay deepens for contrast. */
@media (max-width: 767px) {
	.td-contact-banner.elementor-element.e-con.e-flex::before {
		background-image: linear-gradient(90deg, rgba(6,43,82,0.9) 0%, rgba(6,43,82,0.62) 100%);
	}
}

/* Contact information card: navy icon circles, navy links, long values wrap. */
.td-contact-group-text { min-width: 0; }
.td-contact-group .elementor-icon-wrapper { display: flex; line-height: 0; } /* no inline line-box under the 38px circle */
.td-contact-detail p { margin: 0; overflow-wrap: anywhere; }
.td-contact-item .elementor-heading-title { margin: 0; }
.td-contact-detail .td-nowrap,
.td-site-footer .td-nowrap { white-space: nowrap; } /* keep "3-5-43" and "Pin Code-500090." on one line */
.td-contact-info .td-contact-detail a { color: #062B52; text-decoration: none; transition: color .2s ease; }
.td-contact-info .td-contact-detail a:hover { color: #0877F9; text-decoration: underline; text-underline-offset: 3px; }
.td-contact-info .td-contact-detail a:focus-visible { outline: 2px solid #062B52; outline-offset: 3px; border-radius: 4px; }

/* Full-width map: the official Google iframe covers the section. A light map-coloured background and a
   "View TODOS Labtech on Google Maps" fallback sit underneath, so the section is never blank if the embed is
   blocked or cannot paint (e.g. privacy extensions, full-page screenshot tools). */
.td-contact-map.e-con { position: relative; }
.td-contact-map .elementor-widget-html { position: absolute; inset: 0; z-index: 1; }
.td-contact-map .elementor-widget-html > .elementor-widget-container { height: 100%; }
.td-contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.td-contact-map .td-map-fallback a { color: #062B52; text-decoration: underline; text-underline-offset: 3px; }

/* Enquiry form 3 (Contact), careers form 5 and distributor form 4 – visual styling only (fields, names, validation and behaviour untouched).
   Labels stay in the markup (accessible names, required state) but are visually hidden;
   the placeholders set in form 3 show the field names inside the controls. */
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-group { margin-bottom: 14px; position: relative; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-t-container { gap: 14px; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-input--label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-form-control {
	min-height: 48px;
	padding: 12px 15px;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	background-color: #FFFFFF;
	color: #102A43;
	font-size: 16px;
	line-height: 1.5;
	transition: border-color .2s ease;
}
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform select.ff-el-form-control { /* visible navy chevron on both dropdowns */
	-webkit-appearance: none;
	appearance: none;
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 14px;
}
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform textarea.ff-el-form-control { min-height: 130px; height: 130px; resize: vertical; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-form-control::placeholder { color: #64748B; opacity: 1; } /* 4.76:1 */
/* Dropdown prompt (empty first option) looks like the other placeholders until a value is chosen. */
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform select.ff-el-form-control:has(option[value=""]:checked) { color: #64748B; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform select.ff-el-form-control option { color: #102A43; }
/* Focus: navy border plus a navy ring (replaces the bright-blue ring from the shared .td-enquiry-form rule). */
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-form-control:focus,
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-form-control:focus-visible {
	border-color: #062B52;
	outline: 2px solid #062B52;
	outline-offset: 2px;
	box-shadow: none;
}
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-is-error .ff-el-form-control { border-color: #B42318; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform input[type="checkbox"] { accent-color: #062B52; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform input[type="checkbox"]:focus-visible { outline: 2px solid #062B52; outline-offset: 2px; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label { font-size: 15px; line-height: 1.6; color: #475569; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label a { color: #062B52; text-decoration: underline; text-underline-offset: 2px; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label a:hover { color: #0877F9; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label a:focus-visible { outline: 2px solid #062B52; outline-offset: 2px; }
:is(.td-contact-form, .td-careers-form, .td-dist-form) .fluentform .ff_submit_btn_wrapper { margin-bottom: 0; }
/* Matches the specificity of Fluent's per-form rule (form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style)). */
.td-contact-form form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style),
.td-careers-form form.fluent_form_5 .ff-btn-submit:not(.ff_btn_no_style) {
	width: 100%;
	min-height: 50px;
	padding: 13px 24px;
	border: 1px solid #062B52;
	border-radius: 12px;
	background-color: #062B52; /* white text 14.2:1 */
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	transition: background-color .2s ease, border-color .2s ease;
}
.td-contact-form form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style):hover,
.td-careers-form form.fluent_form_5 .ff-btn-submit:not(.ff_btn_no_style):hover,
.td-contact-form form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style):focus-visible,
.td-careers-form form.fluent_form_5 .ff-btn-submit:not(.ff_btn_no_style):focus-visible { background-color: #0877F9; border-color: #0877F9; color: #FFFFFF; } /* 9.4:1 */
.td-contact-form form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style):focus-visible,
.td-careers-form form.fluent_form_5 .ff-btn-submit:not(.ff_btn_no_style):focus-visible { outline: 2px solid #062B52; outline-offset: 3px; }

/* Distributor CTA band on this page: text group takes the free width, buttons keep their natural width
   (Elementor child containers default to 100% width); both go full width once the band stacks. */
:is(.page-id-85, .page-id-90, .page-id-95, .page-id-100, .page-id-147, .page-id-152, .page-id-157, .page-id-162, .page-id-167, .page-id-172, .page-id-177, .page-id-182, .page-id-187, .page-id-192, .page-id-197, .page-id-202, .page-id-207) .td-cta-band .td-cta-text.e-con { --width: auto; flex: 1 1 auto; min-width: 0; }
:is(.page-id-85, .page-id-90, .page-id-95, .page-id-100, .page-id-147, .page-id-152, .page-id-157, .page-id-162, .page-id-167, .page-id-172, .page-id-177, .page-id-182, .page-id-187, .page-id-192, .page-id-197, .page-id-202, .page-id-207) .td-cta-band .td-cta-buttons.e-con { --width: auto; flex: 0 0 auto; }
@media (max-width: 880px) {
	:is(.page-id-85, .page-id-90, .page-id-95, .page-id-100, .page-id-147, .page-id-152, .page-id-157, .page-id-162, .page-id-167, .page-id-172, .page-id-177, .page-id-182, .page-id-187, .page-id-192, .page-id-197, .page-id-202, .page-id-207) .td-cta-band .td-cta-text.e-con,
	:is(.page-id-85, .page-id-90, .page-id-95, .page-id-100, .page-id-147, .page-id-152, .page-id-157, .page-id-162, .page-id-167, .page-id-172, .page-id-177, .page-id-182, .page-id-187, .page-id-192, .page-id-197, .page-id-202, .page-id-207) .td-cta-band .td-cta-buttons.e-con { --width: 100%; }
}
/* Visible keyboard focus on the navy background. */
:is(.page-id-85, .page-id-90, .page-id-95, .page-id-100, .page-id-147, .page-id-152, .page-id-157, .page-id-162, .page-id-167, .page-id-172, .page-id-177, .page-id-182, .page-id-187, .page-id-192, .page-id-197, .page-id-202, .page-id-207) .td-cta-band .elementor-button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

/* Careers page (page 100): in-page anchors land just below the top edge. */
#current-opportunities,
#careers-application { scroll-margin-top: 16px; }
.td-careers-empty .elementor-widget-icon .elementor-icon-wrapper,
.td-careers-area .elementor-icon-wrapper,
.td-careers-note .elementor-icon-wrapper { display: flex; line-height: 0; }
.td-careers-note .elementor-widget-text-editor p { margin: 0; }

/* ==========================================================================
   Careers – "Submit Your Application" section (V6). Scoped to the careers classes only.
   ========================================================================== */
/* Left column accents */
.td-eyebrow-line .elementor-heading-title::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 10px; vertical-align: middle; background: #0877F9; transform: translateY(-1px); }
/* Recruitment image: controlled height, faces in frame (cover, focus 40%) */
.td-careers-apply-img img { display: block; width: 100%; height: 380px; object-fit: cover; object-position: center 40%; border-radius: 16px; }
@media (min-width: 881px) and (max-width: 1024px) { .td-careers-apply-img img { height: 340px; } }
@media (max-width: 880px) { .td-careers-apply-img img { height: 320px; } }
@media (max-width: 767px) { .td-careers-apply-img img { height: 260px; } }

/* Form card header: solid Font Awesome briefcase rendered as a white outline */
.td-icon-outline .elementor-icon svg path { fill: transparent; stroke: #FFFFFF; stroke-width: 34px; stroke-linejoin: round; }
.td-form-header .elementor-icon-wrapper { display: flex; line-height: 0; }

/* Form 5 (careers) and form 4 (distributor) fields (behaviour, names, validation untouched). Field icons are decorative CSS backgrounds:
   they cannot receive clicks or focus and are ignored by screen readers. */
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-group { margin-bottom: 14px; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff-t-container { gap: 14px; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-form-control {
	min-height: 48px; height: 48px; padding: 11px 14px 11px 44px;
	border: 1px solid #CBD5E1; border-radius: 10px; background-color: #FFFFFF; color: #102A43; font-size: 15px;
	background-repeat: no-repeat; background-position: 15px center; background-size: 18px 18px;
}
:is(.td-careers-form, .td-dist-form) .fluentform select.ff-el-form-control { padding-right: 42px; background-repeat: no-repeat, no-repeat; background-position: 15px center, right 16px center; background-size: 18px 18px, 14px 14px; }
:is(.td-careers-form, .td-dist-form) .fluentform textarea.ff-el-form-control { height: 110px; min-height: 110px; background-position: 15px 14px; }
:is(.td-careers-form, .td-dist-form) .fluentform [name="full_name"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
:is(.td-careers-form, .td-dist-form) .fluentform [name="email"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
:is(.td-careers-form, .td-dist-form) .fluentform [name="phone"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
:is(.td-careers-form, .td-dist-form) .fluentform [name="location"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
:is(.td-careers-form, .td-dist-form) .fluentform [name="message"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
:is(.td-careers-form, .td-dist-form) .fluentform select[name="area_of_interest"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
:is(.td-careers-form, .td-dist-form) .fluentform select[name="experience"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-form-control:focus,
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-form-control:focus-visible { border-color: #0877F9; outline: 2px solid #0877F9; outline-offset: 2px; box-shadow: none; }
/* Consent: checkbox aligned with the first text line */
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-group:has(input[type="checkbox"]) { margin-bottom: 0; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label.ff_tc_label { display: flex; align-items: flex-start; gap: 10px; color: #102A43; font-size: 15px; line-height: 1.55; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff_tc_checkbox { display: block; flex: 0 0 auto; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff_t_c { display: block; padding: 4px 0 0; } /* Fluent forces padding-top: 8px !important on the checkbox span; 8px + half the 16px box = first-line centre */
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label input[type="checkbox"] { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 0 0; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-tc label.ff-el-form-check-label.ff_tc_label > span.ff_tc_checkbox { margin: 0; line-height: 0; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label.ff_tc_label .ff_tc_checkbox input[type="checkbox"] { margin: 0; position: static; top: auto; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label a { color: #062B52; }
:is(.td-careers-form, .td-dist-form) .fluentform .ff-el-form-check-label a:hover { color: #0877F9; }
/* Submit: full width, navy → blue hover, decorative paper-plane (pseudo-element – no change to the button or its action).
   Blocksy uses button::before for a hover shadow (absolute, behind the button); this button takes it over for the icon. */
:is(.td-careers-form, .td-dist-form) .fluentform .ff_submit_btn_wrapper { margin: 16px 0 0; }
:is(.td-careers-form, .td-dist-form) form:is(.fluent_form_5, .fluent_form_4) .ff-btn-submit:not(.ff_btn_no_style) { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 24px; border-radius: 10px; font-size: 16px; font-weight: 600; }
:is(.td-careers-form, .td-dist-form) form:is(.fluent_form_5, .fluent_form_4) .ff-btn-submit:not(.ff_btn_no_style)::before { content: ""; display: block; position: static; inset: auto; z-index: auto; opacity: 1; filter: none; transform: none; box-shadow: none; flex: 0 0 auto; width: 17px; height: 17px; margin-right: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22l-4-9-9-4 20-7z'/%3E%3C/svg%3E") no-repeat center / 17px 17px; }

/* Information banner */
.td-info-banner .elementor-widget-text-editor p { margin: 0; }
@media (max-width: 767px) { .td-info-banner.e-con { align-items: flex-start; } }

/* ==========================================================================
   Become a Distributor page (page 95, V2). Scoped to .td-dist-* classes and #distributor-enquiry.
   Form 4 now uses placeholders; its labels stay in the DOM and are hidden visually by the shared form rules above.
   ========================================================================== */
#distributor-enquiry { scroll-margin-top: 16px; }
/* Images: cover, no distortion, rounded; heights stepped per breakpoint */
.td-dist-intro-img img,
.td-dist-apply-img img { display: block; width: 100%; object-fit: cover; border-radius: 16px; box-shadow: none; border: 0; }
.td-dist-intro-img img { height: 380px; object-position: center; }
.td-dist-apply-img img { height: 360px; object-position: center 30%; }
@media (min-width: 881px) and (max-width: 1024px) { .td-dist-intro-img img { height: 340px; } .td-dist-apply-img img { height: 340px; } }
@media (max-width: 880px) { .td-dist-intro-img img { height: 360px; } .td-dist-apply-img img { height: 320px; } }
@media (max-width: 767px) { .td-dist-intro-img img { height: 240px; } .td-dist-apply-img img { height: 260px; } }
/* Two-column widths: the left column takes the row height set by the form card (the card itself keeps its natural
   height), and the enquiry image grows to fill the space below the paragraph – no gap beside the form. */
@media (min-width: 881px) {
	.td-dist-form-left.e-con { align-self: stretch; }
	.elementor-widget.td-dist-apply-img { flex: 1 1 auto; display: flex; flex-direction: column; }
	.td-dist-apply-img > .elementor-widget-container { flex: 1 1 auto; display: flex; flex-direction: column; }
	.td-dist-apply-img img { flex: 1 1 0; height: 0; min-height: 340px; }
}
/* Process steps: 48px navy number circles */
.td-step-num .elementor-heading-title { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #062B52; color: #FFFFFF; letter-spacing: .5px; }
.td-dist-step .elementor-widget-text-editor p { margin: 0; }
/* Information banner icon */
.td-dist-note .elementor-icon-wrapper { display: flex; line-height: 0; }
/* Form 4: full-width submit (as careers); product category icon + navy chevron; extra field icons */
.td-dist-form form.fluent_form_4 .ff-btn-submit:not(.ff_btn_no_style) { width: 100%; }
.td-dist-form .fluentform [name="company"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M9 7h1M14 7h1M9 11h1M14 11h1M9 15h1M14 15h1M10 21v-3h4v3'/%3E%3C/svg%3E"); }
.td-dist-form .fluentform [name="city"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.td-dist-form .fluentform [name="state"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2-6-2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E"); }
.td-dist-form .fluentform [name="country"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.td-dist-form .fluentform [name="website"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E"); }
.td-dist-form .fluentform select[name="product_category"].ff-el-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5V8z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }

/* ==========================================================================
   About Us page (page 85). Scoped to .td-about-* / .td-logo-* classes only.
   ========================================================================== */
.td-about-icon .elementor-icon-wrapper { display: flex; line-height: 0; }
.td-about-highlight .elementor-heading-title,
.td-about-mv .elementor-widget-text-editor p,
.td-about-why .elementor-widget-text-editor p { margin: 0; }
/* Introduction image: cover, rounded, no distortion */
/* Introduction image (laboratory-preparation.webp, 1448×1086): cover, centred, radius 12; 360px on desktop, taller in the
   narrower 1024 column to balance the text, natural 4:3 proportions once stacked (full width, faces kept). */
.td-about-intro-img img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center; border-radius: 12px; }
@media (min-width: 881px) and (max-width: 1024px) { .td-about-intro-img img { height: 420px; } }
@media (max-width: 880px) { .td-about-intro-img img { height: auto; aspect-ratio: 1448 / 1086; } }

/* Client logo marquee (placeholders). CSS-only: two identical tracks move right → left by their own width, so the loop
   is seamless (the second track is aria-hidden). Pauses on hover and keyboard focus; no motion under reduced-motion.
   Future logos: put the logo <img> inside the square .td-logo-item – object-fit: contain, never cover. */
.td-logo-marquee {
	--td-logo-gap: 20px; --td-logo-w: 160px; --td-logo-speed: 30s;
	display: flex; overflow: hidden; padding: 4px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.td-logo-marquee:focus-visible { outline: 2px solid #062B52; outline-offset: 4px; border-radius: 12px; }
.td-logo-track {
	display: flex; flex: 0 0 auto; gap: var(--td-logo-gap); margin: 0; padding: 0 var(--td-logo-gap) 0 0; list-style: none;
	animation: td-logo-scroll var(--td-logo-speed) linear infinite; will-change: transform;
}
.td-logo-marquee:hover .td-logo-track,
.td-logo-marquee:focus-within .td-logo-track { animation-play-state: paused; }
@keyframes td-logo-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.td-logo-item {
	flex: 0 0 var(--td-logo-w); width: var(--td-logo-w); aspect-ratio: 1 / 1; margin: 0; display: flex; align-items: center; justify-content: center; padding: 12px;
	background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; box-sizing: border-box;
}
.td-logo-item img { display: block; width: 100%; height: 100%; object-fit: contain; }
.td-logo-ph { color: #475569; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: center; letter-spacing: .2px; }
@media (max-width: 1024px) { .td-logo-marquee { --td-logo-w: 140px; --td-logo-gap: 18px; --td-logo-speed: 28s; } }
@media (max-width: 767px) { .td-logo-marquee { --td-logo-w: 120px; --td-logo-gap: 16px; --td-logo-speed: 26s; } }
@media (prefers-reduced-motion: reduce) {
	.td-logo-marquee { -webkit-mask-image: none; mask-image: none; }
	.td-logo-track { animation: none; flex: 1 1 auto; flex-wrap: wrap; justify-content: center; padding: 0; row-gap: var(--td-logo-gap); }
	.td-logo-track--clone { display: none; }
}
/* About V2: "Explore Our Products" – navy → blue with a 0.25s transition (colours/radius set in Elementor) */
.td-about-products-btn .elementor-button { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }

/* ==========================================================================
   Individual product page template (.td-pd-*), first used on GC Vials (page 152).
   Product pages have no inner banner (removed 2026-11-21) except where an approved one is re-added
   (Storage Vials 162, Analytical Balance 177): unmodified image, full width, natural ratio, no crop/overlay/text.
   ========================================================================== */
.td-pd-banner .elementor-widget-image,
.td-pd-banner-img img { display: block; width: 100%; height: auto; max-width: none; margin: 0; border-radius: 0; }
/* Product overview photo (replaces the placeholder): whole image visible, 4:3 frame, radius 12 */
.td-pd-ov-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; border-radius: 12px; }
.td-pd-h1 .elementor-heading-title,
.td-pd-h2 .elementor-heading-title { margin: 0; }
.td-pd-measure { max-width: 920px; }
.td-pd-text p { margin: 0 0 12px; }
.td-pd-text p:last-child { margin-bottom: 0; }
.td-pd-feature .td-pd-text p,
.td-pd-type .td-pd-text p { margin: 0; }
.td-pd-icon .elementor-icon-wrapper { display: flex; line-height: 0; }
.td-pd-note { padding: 14px 18px; background: #F4F7FA; border-left: 3px solid #0877F9; border-radius: 0 10px 10px 0; }
/* Type cards: document numbering shown as a navy badge (text stays "1. Standard GC Vials") */
.td-pd-type .elementor-heading-title { display: flex; align-items: center; gap: 10px; }
.td-type-num { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 17px; background: #062B52; color: #FFFFFF; font-size: 15px; font-weight: 700; }
/* Tables: navy header, alternating rows, scroll inside their own region on small screens (page never overflows) */
.td-table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #E2E8F0; border-radius: 12px; }
.td-table-scroll:focus-visible { outline: 2px solid #062B52; outline-offset: 2px; }
.td-pd-table { border-style: hidden; }
.td-pd-table tbody tr:nth-child(even) td,
.td-pd-table tbody tr:nth-child(even) th { background: #F4F7FA; }
.td-pd-table tbody tr:nth-child(odd) td,
.td-pd-table tbody tr:nth-child(odd) th { background: #FFFFFF; }
.td-pd-table-3col .td-pd-table tbody th { width: 24%; }
.td-pd-table-wrap p { margin: 0; }
@media (max-width: 767px) { .td-pd-table-3col .td-pd-table { min-width: 560px; } }
/* Checklists (applications, why choose) */
.td-checklist { display: grid; gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.td-checklist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.td-checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .td-checklist--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .td-checklist--3, .td-checklist--2 { grid-template-columns: 1fr; } }
.td-checklist li { position: relative; margin: 0; padding: 0 0 0 32px; color: #102A43; font-size: 16px; line-height: 1.55; }
.td-checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23062B52'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 20px 20px; }
.td-checklist--3 li { padding: 12px 14px 12px 44px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 10px; }
.td-checklist--3 li::before { left: 14px; top: 14px; }

/* ---- Product page template, components added for all 13 product pages (v1.0.49) ---- */
.td-pd-h3 .elementor-heading-title { margin: 0; }
.td-pd-overview-text .td-pd-h3 { margin-top: 2px; }
.td-pd-feature .elementor-widget-text-editor p, .td-pd-type .elementor-widget-text-editor p { margin: 0 0 8px; }
.td-pd-feature .elementor-widget-text-editor p:last-child, .td-pd-type .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.td-pd-type .td-checklist { gap: 8px; }
.td-pd-type .td-checklist li { font-size: 15px; }
.td-checklist--1 { grid-template-columns: 1fr; }
/* 4:3 main product-image placeholder (replace the HTML widget with an Image widget when photography is supplied) */
.td-pd-ph { aspect-ratio: 4 / 3; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; box-sizing: border-box;
	background: #F4F7FA; border: 1px solid #E2E8F0; border-radius: 12px; text-align: center; }
.td-pd-ph__label { color: #475569; font-size: 15px; font-weight: 600; line-height: 1.4; }
/* Numbered procedures (document numbered lists) */
.td-steps { counter-reset: tdstep; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 920px; }
.td-steps li { counter-increment: tdstep; position: relative; padding: 2px 0 2px 44px; min-height: 30px; color: #102A43; font-size: 16px; line-height: 1.6; }
.td-steps li::before { content: counter(tdstep); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: #062B52; color: #FFFFFF;
	font-size: 15px; font-weight: 700; line-height: 30px; text-align: center; }
/* Definition rows (bold label: text) */
.td-defs { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 920px; }
.td-defs li { padding: 12px 16px; background: #FFFFFF; border: 1px solid #E2E8F0; border-left: 3px solid #062B52; border-radius: 0 10px 10px 0; color: #475569; font-size: 16px; line-height: 1.6; }
.td-defs li strong { color: #102A43; }
/* Tables: wider first column for 2-col specs, scroll for 3+ cols on phones */
.td-pd-table--2col tbody th { width: 38%; }
@media (max-width: 767px) { .td-pd-table--3col, .td-pd-table--4col { min-width: 560px; } }
/* Callout section (document "Important" notes) */
.td-pd-callout.e-con { background: #F4F7FA; border: 1px solid #E2E8F0; border-left: 4px solid #0877F9; border-radius: 0 14px 14px 0; }
/* Document's own enquiry section rendered as the navy CTA */
.td-pd-cta .td-pd-cta-text.e-con { --width: auto; flex: 1 1 auto; min-width: 0; }
.td-pd-cta .td-pd-cta-btn.e-con { --width: auto; flex: 0 0 auto; }
@media (max-width: 880px) { .td-pd-cta .td-pd-cta-text.e-con, .td-pd-cta .td-pd-cta-btn.e-con { --width: 100%; } }
.td-pd-on-dark p { margin: 0 0 8px; } .td-pd-on-dark p:last-child { margin: 0; }
.td-pd-on-dark .td-defs li { background: transparent; border: 0; padding: 0; color: #F4F9FC; }
.td-pd-on-dark strong, .td-pd-on-dark .td-defs li strong { color: #FFFFFF; }
.td-pd-on-dark a { color: #FFFFFF; text-decoration: underline; }
.td-pd-cta .elementor-button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

