/*
 * TechGrid - theme-specific overrides.
 * Most styling lives in main.css (the Tailwind-compiled output).
 * This file holds WC tweaks and small custom rules.
 */

/* ------------------ WC form fields uniform look ------------------ */
.woocommerce form .form-row label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.25rem;
	color: var(--tw-base-content, #111827);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-selection {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--tw-base-border, #e5e7eb);
	border-radius: 0.375rem;
	font-size: 0.875rem;
	background-color: #fff;
	transition: border-color .15s, box-shadow .15s;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
	outline: none;
	border-color: var(--tw-brand-subtle, #3b82f6);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.woocommerce form .form-row {
	margin-bottom: 1rem;
}

.woocommerce form .form-row-wide { clear: both; width: 100%; }
.woocommerce form .form-row-first  { float: left; width: 48%; }
.woocommerce form .form-row-last   { float: right; width: 48%; }
@media ( max-width: 640px ) {
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last  { width: 100%; float: none; }
}

/* WC buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .wc-proceed-to-checkout a,
.woocommerce button.button.alt,
.woocommerce button.single_add_to_cart_button {
	background-color: var(--tw-brand-subtle, #3b82f6);
	color: #fff;
	padding: 0.625rem 1.25rem;
	border-radius: 0.375rem;
	border: none;
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background-color .2s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.single_add_to_cart_button:hover {
	background-color: var(--tw-brand-subtle-dark, #1e40af);
	color: #fff;
}

/* Cart table */
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
	vertical-align: middle;
}

.woocommerce table.shop_table {
	border: 1px solid var(--tw-base-border, #e5e7eb);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 0.5rem;
	overflow: hidden;
}

.woocommerce table.shop_table th {
	background-color: #f9fafb;
	font-weight: 500;
	color: var(--tw-base-content, #111827);
}

/* Notices */
.woocommerce-notices-wrapper { margin-bottom: 1.5rem; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: 0.875rem 1.25rem;
	border-radius: 0.375rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}
.woocommerce-message { background: #ecfdf5; color: #065f46; }
.woocommerce-info    { background: #eff6ff; color: #1e40af; }
.woocommerce-error   { background: #fef2f2; color: #991b1b; }

/* Quantity input */
.woocommerce .quantity .qty {
	width: 4rem;
	text-align: center;
}

/* Pagination */
.woocommerce-pagination ul.page-numbers {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	justify-content: center;
}
.woocommerce-pagination .page-numbers li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.75rem;
	border: 1px solid var(--tw-base-border, #e5e7eb);
	border-radius: 0.375rem;
	color: var(--tw-base-subtle, #6b7280);
	font-size: 0.875rem;
	transition: all .2s;
}
.woocommerce-pagination .page-numbers li .page-numbers.current {
	background-color: var(--tw-brand-subtle, #3b82f6);
	color: #fff;
	border-color: var(--tw-brand-subtle, #3b82f6);
}
.woocommerce-pagination .page-numbers li .page-numbers:hover {
	border-color: var(--tw-brand-subtle, #3b82f6);
	color: var(--tw-brand-subtle, #3b82f6);
}

/* My Account nav active */
.woocommerce-MyAccount-navigation li.is-active a {
	background-color: var(--tw-brand-subtle-extralight, #eff6ff);
	color: var(--tw-brand-subtle-dark, #1e40af);
	font-weight: 500;
}

/* Star rating */
.woocommerce .star-rating { color: #facc15; }

/* Sale badge styling override (template uses .sale-badge) */
.sale-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: #ef4444;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.125rem 0.625rem;
	border-radius: 9999px;
	z-index: 5;
	letter-spacing: 0.05em;
}

/* Cart drawer / dropdown visibility */
.group:hover > .dropdown-menu,
.group:focus-within > .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.dropdown-menu {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
	pointer-events: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 60;
}

/* Mega-menu */
.mega-menu {
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .2s, transform .2s, visibility .2s;
	pointer-events: none;
	position: absolute;
	top: 100%;
	z-index: 60;
}
.group:hover > .mega-menu,
.group:focus-within > .mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	pointer-events: auto;
}

/* Animations from template */
.subtle-fade-in-up {
	animation: subtleFadeInUp .6s ease-out both;
}
@keyframes subtleFadeInUp {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Theme tokens (mirror Tailwind config used in template) */
:root {
	--tw-base-background: #ffffff;
	--tw-base-surface: #f9fafb;
	--tw-base-border: #e5e7eb;
	--tw-base-content: #111827;
	--tw-base-subtle: #6b7280;
	--tw-brand-subtle: #3b82f6;
	--tw-brand-subtle-dark: #1e40af;
	--tw-brand-subtle-extralight: #eff6ff;
}

.bg-base-background\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-base-background { background-color: var(--tw-base-background); }
.bg-base-surface { background-color: var(--tw-base-surface); }
.bg-base-border { background-color: var(--tw-base-border); }
.bg-brand-subtle { background-color: var(--tw-brand-subtle); }
.bg-brand-subtle-dark { background-color: var(--tw-brand-subtle-dark); }
.bg-brand-subtle-extralight { background-color: var(--tw-brand-subtle-extralight); }
.text-base-content { color: var(--tw-base-content); }
.text-base-subtle { color: var(--tw-base-subtle); }
.text-brand-subtle { color: var(--tw-brand-subtle); }
.text-brand-subtle-dark { color: var(--tw-brand-subtle-dark); }
.border-base-border { border-color: var(--tw-base-border); }
.shadow-mega { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }
.hover\:bg-brand-subtle:hover { background-color: var(--tw-brand-subtle); }
.hover\:bg-brand-subtle-dark:hover { background-color: var(--tw-brand-subtle-dark); }
.hover\:bg-brand-subtle-extralight:hover { background-color: var(--tw-brand-subtle-extralight); }
.hover\:text-brand-subtle:hover { color: var(--tw-brand-subtle); }
.hover\:text-brand-subtle-dark:hover { color: var(--tw-brand-subtle-dark); }
.hover\:border-brand-subtle:hover { border-color: var(--tw-brand-subtle); }
.ring-brand-subtle { --tw-ring-color: var(--tw-brand-subtle); }
.focus\:ring-brand-subtle:focus { --tw-ring-color: var(--tw-brand-subtle); }

/* Prose tuning */
.prose h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; color: var(--tw-base-content); }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--tw-base-content); }
.prose p  { margin-bottom: 1rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a  { color: var(--tw-brand-subtle); }
.prose a:hover { color: var(--tw-brand-subtle-dark); }
.prose img { border-radius: 0.5rem; margin: 1.5rem 0; }
.prose blockquote { border-left: 4px solid var(--tw-brand-subtle); padding-left: 1rem; color: var(--tw-base-subtle); font-style: italic; margin: 1.5rem 0; }

/* Core gallery shortcodes used on company pages. */
.entry-content .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 2.25rem; }
.entry-content .gallery-item { min-width: 0; width: auto !important; max-width: none !important; margin: 0; }
.entry-content .gallery-icon { aspect-ratio: 1.65 / 1; overflow: hidden; border: 1px solid var(--techgrid-border); border-radius: 6px; background: #fff; }
.entry-content .gallery-icon > a { display: block; width: 100%; height: 100%; }
.entry-content .gallery-icon img { display: block; width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }
.entry-content .gallery-caption { margin: 0.55rem 0 0; color: var(--techgrid-ink-soft); font-size: 0.78rem; line-height: 1.45; }

@media (max-width: 640px) {
	.entry-content .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
}

@media (max-width: 420px) {
	.entry-content .gallery { grid-template-columns: 1fr; }
}
/* =====================================================
   Brand color overrides (force our blue over Tailwind's gray)
   These ensure the Customizer color change is actually applied
   ===================================================== */
.bg-brand-subtle,
.hover\:bg-brand-subtle:hover,
.focus\:bg-brand-subtle:focus {
  background-color: var(--tw-brand-subtle, #3b82f6) !important;
}

.bg-brand-subtle-dark,
.hover\:bg-brand-subtle-dark:hover,
.focus\:bg-brand-subtle-dark:focus {
  background-color: var(--tw-brand-subtle-dark, #1e40af) !important;
}

.bg-brand-subtle-extralight {
  background-color: var(--tw-brand-subtle-extralight, #eff6ff) !important;
}

.text-brand-subtle,
.hover\:text-brand-subtle:hover {
  color: var(--tw-brand-subtle, #3b82f6) !important;
}

.text-brand-subtle-dark {
  color: var(--tw-brand-subtle-dark, #1e40af) !important;
}

.border-brand-subtle,
.hover\:border-brand-subtle:hover {
  border-color: var(--tw-brand-subtle, #3b82f6) !important;
}

.ring-brand-subtle {
  --tw-ring-color: var(--tw-brand-subtle, #3b82f6) !important;
}

/* Hover state for category mega menu (uses brand-subtle-extralight) */
.hover\:bg-brand-subtle-extralight:hover {
  background-color: var(--tw-brand-subtle-extralight, #eff6ff) !important;
}

.hover\:text-brand-subtle-dark:hover {
  color: var(--tw-brand-subtle-dark, #1e40af) !important;
}

/* =====================================================
   CRITICAL MISSING TAILWIND CLASSES
   These are used in templates but not in the original
   main.css (the original template's compiled Tailwind).
   Adding them here ensures all visual styles render.
   ===================================================== */

/* Page banner / hero overlays */
.bg-black\/40 { background-color: rgb(0 0 0 / 0.4); }
.bg-opacity-50 { --tw-bg-opacity: 0.5; }
.visibility-hidden { visibility: hidden; }

/* Text size for wishlist/cart count badges */
.text-\[10px\] { font-size: 10px; line-height: 1.2; }

/* Viewport-relative heights for banners and hero */
.h-\[40vh\] { height: 40vh; }
.h-\[50vh\] { height: 50vh; }
.h-\[60vh\] { height: 60vh; }
.h-\[75vh\] { height: 75vh; }
.h-\[90vh\] { height: 90vh; }

/* Container widths */
.max-w-md { max-width: 28rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

/* Fixed widths */
.w-\[500px\] { width: 500px; }
.w-1\/2 { width: 50%; }

/* Z-index layers for modals/overlays */
.z-\[60\] { z-index: 60; }
.z-\[70\] { z-index: 70; }
.z-\[99\] { z-index: 99; }
.z-\[100\] { z-index: 100; }

/* Focus rings */
.ring-white { --tw-ring-color: #fff; }
.ring-offset-2 { --tw-ring-offset-width: 2px; }
.ring-offset-black\/30 { --tw-ring-offset-color: rgb(0 0 0 / 0.3); }
.ring-opacity-50 { --tw-ring-opacity: 0.5; }

/* Transforms */
.rotate-180 { --tw-rotate: 180deg; transform: translate(var(--tw-translate-x,0),var(--tw-translate-y,0)) rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1)); }
.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: translate(var(--tw-translate-x,0),var(--tw-translate-y,0)) rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1)); }
.scale-110 { --tw-scale-x: 1.10; --tw-scale-y: 1.10; transform: translate(var(--tw-translate-x,0),var(--tw-translate-y,0)) rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1)); }
.translate-y-0 { --tw-translate-y: 0px; transform: translate(var(--tw-translate-x,0),var(--tw-translate-y,0)) rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1)); }

/* Success message color */
.text-green-700 { color: #047857; }

/* Pre-line whitespace (used in footer address) */
.whitespace-pre-line { white-space: pre-line; }

/* Tab border (2px) */
.border-b-2 { border-bottom-width: 2px; }

/* Gray background for reset/secondary buttons */
.bg-gray-50 { background-color: #f9fafb; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }

/* Icon vertical alignment */
.align-middle { vertical-align: middle; }

/* 404 page heading sizes */
.text-5xl { font-size: 3rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }

/* Responsive nav positions */
.-left-4 { left: -1rem; }
.-left-6 { left: -1.5rem; }
.-right-4 { right: -1rem; }
.-right-6 { right: -1.5rem; }

/* Margin/padding */
.mr-1\.5 { margin-right: 0.375rem; }
.mt-16 { margin-top: 4rem; }
.p-12 { padding: 3rem; }
.p-8 { padding: 2rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: 0.5rem; }
.p-1\.5 { padding: 0.375rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }

/* Misc */
.text-right { text-align: right; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.opacity-90 { opacity: 0.9; }
.hover\:opacity-90:hover { opacity: 0.9; }

/* Group hover and hover state for product cards (already in main.css but ensure) */
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.10); }
.group:hover .group-hover\:translate-y-0 { --tw-translate-y: 0px; }

/* =====================================================
   Value prop icon hover effect (matches original subtle scale)
   ===================================================== */
.subtle-fade-in-up.value-prop-icon ion-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}
.subtle-fade-in-up.value-prop-icon:hover ion-icon {
    transform: scale(1.1);
}

/* =====================================================
   Blog card hover (matches original)
   ===================================================== */
.blog-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-2px);
}

/* =====================================================
   Mobile menu (matches original) - small fixes
   ===================================================== */
@media (max-width: 768px) {
    #mobile-menu {
        width: 100%;
    }
}

/* Aspect video - 16:9 for blog thumbnails (Tailwind v3 fallback) */
.aspect-video {
    aspect-ratio: 16 / 9;
}

/* ========================================================================
   Jiachuangyue B2B catalog system
   ======================================================================== */
:root {
	--techgrid-ink: #16282d;
	--techgrid-ink-soft: #52646a;
	--techgrid-teal: #007b78;
	--techgrid-teal-dark: #005b5a;
	--techgrid-teal-pale: #e7f2f1;
	--techgrid-red: #c9473d;
	--techgrid-border: #d8e0e0;
	--techgrid-surface: #f5f8f8;
	--tw-base-background: #ffffff;
	--tw-base-surface: var(--techgrid-surface);
	--tw-base-border: var(--techgrid-border);
	--tw-base-content: var(--techgrid-ink);
	--tw-base-subtle: var(--techgrid-ink-soft);
	--tw-brand-subtle: var(--techgrid-teal);
	--tw-brand-subtle-dark: var(--techgrid-teal-dark);
	--tw-brand-subtle-extralight: var(--techgrid-teal-pale);
}

@font-face {
	font-family: 'TechGrid CJK';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/noto-sans-sc-header.ttf') format('truetype');
}

body {
	background: var(--techgrid-surface);
	color: var(--techgrid-ink);
}

html[lang^="zh"] .site-header,
html[lang^="zh"] .site-header button,
html[lang^="zh"] .site-header .trp-language-item-name {
	font-family: 'Inter', 'TechGrid CJK', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

main {
	padding-bottom: 0 !important;
}

.techgrid-button,
.techgrid-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-height: 2.875rem;
	padding: 0.75rem 1.1rem;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.techgrid-button:hover { transform: translateY(-1px); }
.techgrid-button-primary { background: var(--techgrid-teal); color: #fff; }
.techgrid-button-primary:hover { background: var(--techgrid-teal-dark); color: #fff; }
.techgrid-button-secondary { background: #fff; border-color: var(--techgrid-ink); color: var(--techgrid-ink); }
.techgrid-button-secondary:hover { background: var(--techgrid-ink); color: #fff; }

.techgrid-kicker,
.techgrid-inquiry-eyebrow,
.techgrid-product-kicker,
.techgrid-product-card-category {
	margin: 0;
	color: var(--techgrid-teal-dark);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: uppercase;
}

.techgrid-section-heading h2,
.techgrid-catalog-header h1,
.techgrid-product-summary h1,
.techgrid-inquiry-form-section h2 {
	margin: 0;
	color: var(--techgrid-ink);
	font-weight: 700;
	letter-spacing: 0;
}

.techgrid-section-heading h2 { font-size: 1.75rem; line-height: 1.18; }
.techgrid-section-heading > .techgrid-kicker { margin-bottom: 0.65rem; }
.techgrid-section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.techgrid-section-heading-row > a,
.techgrid-text-link { color: var(--techgrid-teal-dark); font-size: 0.875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.techgrid-section-heading-row > a:hover,
.techgrid-text-link:hover { color: var(--techgrid-red); }

/* Catalog */
.techgrid-catalog-page { max-width: 82rem; }
.techgrid-catalog-header { max-width: 48rem; margin: 2rem 0 2.5rem; }
.techgrid-catalog-header .techgrid-kicker { margin-bottom: 0.75rem; }
.techgrid-catalog-header h1 { font-size: 2.4rem; line-height: 1.08; }
.techgrid-catalog-header > p:last-child { max-width: 42rem; margin: 1rem 0 0; color: var(--techgrid-ink-soft); font-size: 1rem; line-height: 1.7; }
.techgrid-catalog-tools { display: grid; grid-template-columns: minmax(14rem, 2fr) minmax(10rem, 1fr) minmax(10rem, 1fr) auto; gap: 0.65rem; align-items: center; margin: 0 0 1.25rem; }
.techgrid-catalog-tools input,
.techgrid-catalog-tools select,
.techgrid-product-inquiry input,
.techgrid-product-inquiry select,
.techgrid-inquiry-form input,
.techgrid-inquiry-form select,
.techgrid-inquiry-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 2.875rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--techgrid-border);
	border-radius: 4px;
	background: #fff;
	color: var(--techgrid-ink);
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.35;
}
.techgrid-inquiry-form textarea { min-height: 9rem; resize: vertical; }
.techgrid-catalog-tools input:focus,
.techgrid-catalog-tools select:focus,
.techgrid-product-inquiry input:focus,
.techgrid-product-inquiry select:focus,
.techgrid-inquiry-form input:focus,
.techgrid-inquiry-form select:focus,
.techgrid-inquiry-form textarea:focus { outline: 3px solid rgba(0, 123, 120, 0.16); border-color: var(--techgrid-teal); }
.techgrid-catalog-tools .techgrid-button { width: 100%; white-space: nowrap; }
.techgrid-category-nav { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.3rem; }
.techgrid-category-nav a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.65rem; border: 1px solid var(--techgrid-border); border-radius: 4px; background: #fff; color: var(--techgrid-ink-soft); font-size: 0.79rem; font-weight: 650; line-height: 1.25; text-decoration: none; }
.techgrid-category-nav a:hover,
.techgrid-category-nav a.is-active { border-color: var(--techgrid-teal); background: var(--techgrid-teal); color: #fff; }
.techgrid-category-nav small { font-size: 0.69rem; opacity: 0.75; }
.techgrid-catalog-result-bar { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.1rem; color: var(--techgrid-ink-soft); font-size: 0.84rem; }
.techgrid-catalog-result-bar a { color: var(--techgrid-teal-dark); font-weight: 700; text-decoration: none; }
.techgrid-catalog-result-bar a:hover { color: var(--techgrid-red); }
.techgrid-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3.5rem; }

.techgrid-product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--techgrid-border); border-radius: 6px; background: #fff; box-shadow: none; animation: none; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.techgrid-product-card.subtle-fade-in-up { animation: none; opacity: 1; transform: none; }
.techgrid-product-card:hover { border-color: #9bbfbc; box-shadow: 0 10px 24px rgba(22, 40, 45, 0.09); transform: translateY(-2px); }
.techgrid-product-card-image { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f4f4; }
.techgrid-product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.techgrid-product-card:hover .techgrid-product-card-image img { transform: scale(1.025); }
.techgrid-product-card-body { display: flex; min-height: 12.75rem; flex: 1; flex-direction: column; padding: 1rem; }
.techgrid-product-card-category { margin-bottom: 0.55rem; }
.techgrid-product-card h3 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.techgrid-product-card h3 a { color: var(--techgrid-ink); text-decoration: none; }
.techgrid-product-card h3 a:hover { color: var(--techgrid-teal-dark); }
.techgrid-product-card-summary { display: -webkit-box; overflow: hidden; margin: 0.65rem 0 1rem; color: var(--techgrid-ink-soft); font-size: 0.82rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.techgrid-product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid #e8eeee; font-size: 0.75rem; }
.techgrid-product-card-footer > span { color: var(--techgrid-ink-soft); }
.techgrid-product-card-footer a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--techgrid-teal-dark); font-weight: 800; text-decoration: none; white-space: nowrap; }
.techgrid-product-card-footer a:hover { color: var(--techgrid-red); }

/* Product details and quotation */
.techgrid-product-page { max-width: 82rem; }
.techgrid-product-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(22rem, 0.96fr); gap: clamp(2rem, 5vw, 5rem); margin-top: 2rem; }
.techgrid-product-gallery { min-width: 0; }
.techgrid-product-main-image { display: grid; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--techgrid-border); border-radius: 6px; background: #fff; place-items: center; }
.techgrid-product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.techgrid-product-thumbnail-list { display: flex; gap: 0.6rem; overflow-x: auto; margin-top: 0.75rem; padding: 0 0 0.2rem; }
.techgrid-product-thumbnail { flex: 0 0 4.5rem; width: 4.5rem; height: 4.5rem; padding: 0; overflow: hidden; border: 1px solid var(--techgrid-border); border-radius: 4px; background: #fff; cursor: pointer; }
.techgrid-product-thumbnail:hover,
.techgrid-product-thumbnail.is-active { border-color: var(--techgrid-teal); }
.techgrid-product-thumbnail:focus-visible { outline: 3px solid rgba(0, 123, 120, 0.2); outline-offset: 2px; }
.techgrid-product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.techgrid-product-summary { min-width: 0; }
.techgrid-product-summary h1 { margin-top: 0.45rem; font-size: 2.25rem; line-height: 1.12; }
.techgrid-product-sku { margin: 0.8rem 0 0; color: var(--techgrid-ink-soft); font-size: 0.78rem; }
.techgrid-product-intro { margin: 1.3rem 0; color: var(--techgrid-ink-soft); font-size: 0.96rem; line-height: 1.7; }
.techgrid-product-intro p { margin: 0 0 0.8rem; }
.techgrid-standard-purchase { margin: 1.25rem 0; padding: 1.3rem; border: 1px solid var(--techgrid-border); border-radius: 6px; background: #fff; }
.techgrid-standard-purchase h2 { margin: 0.4rem 0 0; color: var(--techgrid-ink); font-size: 1.25rem; line-height: 1.25; }
.techgrid-standard-purchase > p { margin: 0.65rem 0 1rem; color: var(--techgrid-ink-soft); font-size: 0.86rem; line-height: 1.55; }
.techgrid-standard-purchase .variations_form { margin: 0; }
.techgrid-standard-purchase .variations { width: 100%; margin: 0 0 0.85rem; border-collapse: collapse; }
.techgrid-standard-purchase .variations th,
.techgrid-standard-purchase .variations td { padding: 0.45rem 0; text-align: left; vertical-align: middle; }
.techgrid-standard-purchase .variations th { width: 32%; color: var(--techgrid-ink); font-size: 0.76rem; }
.techgrid-standard-purchase .variations select { box-sizing: border-box; width: 100%; min-height: 2.75rem; padding: 0.65rem 0.75rem; border: 1px solid var(--techgrid-border); border-radius: 4px; background: #fff; color: var(--techgrid-ink); font: inherit; font-size: 0.84rem; }
.techgrid-standard-purchase .variations select:focus { outline: 3px solid rgba(0, 123, 120, 0.16); border-color: var(--techgrid-teal); }
.techgrid-standard-purchase .reset_variations { display: inline-block; margin-top: 0.35rem; color: var(--techgrid-teal-dark); font-size: 0.76rem; font-weight: 700; text-decoration: none; }
.techgrid-standard-purchase .reset_variations:hover { color: var(--techgrid-red); }
.techgrid-standard-purchase .single_variation { margin: 0.65rem 0; }
.techgrid-standard-purchase .woocommerce-variation-price { color: var(--techgrid-ink); font-size: 1.05rem; font-weight: 800; }
.techgrid-standard-purchase .woocommerce-variation-description { color: var(--techgrid-ink-soft); font-size: 0.8rem; line-height: 1.5; }
.techgrid-standard-purchase .variations_button { display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem; }
.techgrid-standard-purchase .quantity .qty { min-height: 2.75rem; padding: 0.6rem; border: 1px solid var(--techgrid-border); border-radius: 4px; }
.techgrid-standard-purchase .single_add_to_cart_button { min-height: 2.75rem; flex: 1 1 12rem; }
.techgrid-standard-purchase .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button { cursor: not-allowed; opacity: 0.5; }
.techgrid-product-inquiry { padding: 1.3rem; border: 1px solid #b9d8d5; border-radius: 6px; background: var(--techgrid-teal-pale); }
.techgrid-product-inquiry h2 { margin: 0.4rem 0 0; color: var(--techgrid-ink); font-size: 1.25rem; line-height: 1.25; }
.techgrid-product-inquiry > p { margin: 0.65rem 0 1rem; color: #466165; font-size: 0.86rem; line-height: 1.55; }
.techgrid-product-inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.techgrid-product-inquiry-form label { min-width: 0; }
.techgrid-custom-size-fields { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.techgrid-custom-size-fields[hidden] { display: none; }
.techgrid-product-inquiry-form label span,
.techgrid-inquiry-form label span { display: block; margin-bottom: 0.38rem; color: var(--techgrid-ink); font-size: 0.76rem; font-weight: 750; }
.techgrid-product-inquiry-form .techgrid-button { grid-column: 1 / -1; margin-top: 0.25rem; }
.techgrid-inquiry-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; color: #466165; font-size: 0.72rem; line-height: 1.45; }
.techgrid-inquiry-points li { position: relative; padding-left: 0.8rem; }
.techgrid-inquiry-points li::before { position: absolute; left: 0; content: '•'; color: var(--techgrid-teal-dark); }
.techgrid-product-tabs { margin-top: 4rem; border-top: 1px solid var(--techgrid-border); }
.techgrid-tab-list { display: flex; gap: 1.5rem; overflow-x: auto; border-bottom: 1px solid var(--techgrid-border); }
.techgrid-tab-btn { flex: 0 0 auto; padding: 1rem 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--techgrid-ink-soft); font: inherit; font-size: 0.88rem; font-weight: 750; cursor: pointer; }
.techgrid-tab-btn:hover,
.techgrid-tab-btn.is-active { border-bottom-color: var(--techgrid-teal); color: var(--techgrid-ink); }
.techgrid-tab-panels { max-width: 52rem; padding: 1.5rem 0; color: var(--techgrid-ink-soft); font-size: 0.94rem; line-height: 1.7; }
.techgrid-tab-panel[hidden] { display: none; }
.techgrid-tab-panels .shop_attributes { width: 100%; border-collapse: collapse; }
.techgrid-tab-panels .shop_attributes th,
.techgrid-tab-panels .shop_attributes td { padding: 0.75rem; border-bottom: 1px solid var(--techgrid-border); text-align: left; vertical-align: top; }
.techgrid-tab-panels .shop_attributes th { width: 36%; color: var(--techgrid-ink); font-size: 0.8rem; }
.techgrid-project-support { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; }
.techgrid-project-support h3 { margin: 0 0 0.55rem; color: var(--techgrid-ink); font-size: 1.1rem; }
.techgrid-project-support p { margin: 0; }
.techgrid-project-support ul { margin: 0; padding-left: 1.1rem; }
.techgrid-project-support .techgrid-text-link { grid-column: 1 / -1; }
.techgrid-related-products { margin: 3.5rem 0 0; padding: 3.5rem 0; border-top: 1px solid var(--techgrid-border); }
.techgrid-related-products .techgrid-product-grid { margin: 1.5rem 0 0; }

/* Inquiry page */
.techgrid-inquiry-form-section { margin: 2rem 0; padding: 1.5rem; border: 1px solid var(--techgrid-border); border-radius: 6px; background: #fff; }
.techgrid-inquiry-form-section .techgrid-section-heading { max-width: 40rem; }
.techgrid-inquiry-form-section h2 { margin-top: 0.35rem; font-size: 1.65rem; }
.techgrid-inquiry-context { display: flex; flex-wrap: wrap; gap: 0.5rem 0.85rem; margin: 1.2rem 0; padding: 0.75rem; border-left: 3px solid var(--techgrid-teal); background: var(--techgrid-teal-pale); color: var(--techgrid-ink); font-size: 0.84rem; }
.techgrid-inquiry-context span { color: var(--techgrid-ink-soft); }
.techgrid-inquiry-message { margin: 1rem 0; padding: 0.75rem 0.85rem; border-radius: 4px; font-size: 0.86rem; line-height: 1.5; }
.techgrid-inquiry-success { border: 1px solid #a6d4c3; background: #eaf8f1; color: #166246; }
.techgrid-inquiry-error { border: 1px solid #e9c1bc; background: #fdf0ee; color: #90352d; }
.techgrid-inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.techgrid-inquiry-form label { min-width: 0; }
.techgrid-inquiry-form label b { color: var(--techgrid-red); }
.techgrid-form-wide { grid-column: 1 / -1; }
.techgrid-form-submit { display: flex; justify-content: flex-start; }
.techgrid-form-honeypot { position: absolute !important; left: -9999px !important; overflow: hidden !important; width: 1px !important; height: 1px !important; }
.techgrid-contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 2rem 0; border-top: 1px solid var(--techgrid-border); border-left: 1px solid var(--techgrid-border); background: #fff; }
.techgrid-contact-details > div { display: grid; gap: 0.35rem; min-height: 5.25rem; padding: 0.9rem; border-right: 1px solid var(--techgrid-border); border-bottom: 1px solid var(--techgrid-border); }
.techgrid-contact-details > div:only-child { grid-column: 1 / -1; }
.techgrid-contact-details strong { color: var(--techgrid-ink); font-size: 0.74rem; }
.techgrid-contact-details a,
.techgrid-contact-details span { color: var(--techgrid-ink-soft); font-size: 0.84rem; line-height: 1.5; text-decoration: none; }
.techgrid-contact-details a:hover { color: var(--techgrid-teal-dark); }

.techgrid-product-page + .techgrid-related-products { margin-top: 0; }

@media (max-width: 1024px) {
	.techgrid-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.techgrid-product-layout { grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr); gap: 2rem; }
	.techgrid-catalog-tools { grid-template-columns: minmax(12rem, 1.5fr) minmax(9rem, 1fr) minmax(9rem, 1fr); }
	.techgrid-catalog-tools .techgrid-button { grid-column: 1 / -1; width: max-content; }
}

@media (max-width: 768px) {
	.techgrid-catalog-page,
	.techgrid-product-page { padding-top: 1.5rem; padding-bottom: 2.5rem; }
	.techgrid-catalog-header { margin-top: 1.25rem; }
	.techgrid-catalog-header h1,
	.techgrid-product-summary h1 { font-size: 1.9rem; }
	.techgrid-catalog-tools { grid-template-columns: 1fr 1fr; }
	.techgrid-catalog-search { grid-column: 1 / -1; }
	.techgrid-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	.techgrid-product-card-body { min-height: 13.5rem; padding: 0.85rem; }
	.techgrid-product-layout { grid-template-columns: 1fr; margin-top: 1.25rem; }
	.techgrid-product-summary { max-width: 42rem; }
	.techgrid-inquiry-points { grid-template-columns: 1fr; gap: 0.25rem; }
	.techgrid-product-tabs { margin-top: 2.5rem; }
	.techgrid-project-support { grid-template-columns: 1fr; gap: 1rem; }
	.techgrid-project-support .techgrid-text-link { grid-column: auto; }
	.techgrid-related-products { margin-top: 2.5rem; padding: 2.5rem 0; }
	.techgrid-inquiry-form { grid-template-columns: 1fr; }
	.techgrid-form-wide { grid-column: auto; }
	.techgrid-contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
	.techgrid-catalog-tools { grid-template-columns: 1fr; }
	.techgrid-catalog-search { grid-column: auto; }
	.techgrid-catalog-tools .techgrid-button { width: 100%; }
	.techgrid-product-grid { grid-template-columns: 1fr; }
	.techgrid-product-card-body { min-height: 0; }
	.techgrid-product-inquiry-form { grid-template-columns: 1fr; }
	.techgrid-custom-size-fields { grid-template-columns: 1fr; }
	.techgrid-catalog-result-bar,
	.techgrid-section-heading-row { align-items: flex-start; flex-direction: column; }
	.techgrid-section-heading-row > a { white-space: normal; }
}

/* Site shell */
.site-header { position: sticky; top: 0; z-index: 80; background: #fff; box-shadow: 0 1px 0 rgba(22, 40, 45, 0.1); }
.site-header-bar { background: var(--techgrid-ink); color: #c5d2d2; font-size: 0.72rem; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 2rem; gap: 1rem; }
.site-header-inner a { color: #e8f2f1; text-decoration: none; }
.site-header-inner a:hover { color: #fff; }
.site-header-main { position: relative; background: #fff; }
.site-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 4.75rem; gap: 2rem; }
.site-brand { display: inline-flex; align-items: center; gap: 0.55rem; min-width: 0; color: var(--techgrid-ink); text-decoration: none; }
.site-brand img { display: block; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; border-radius: 4px; background: #fff; object-fit: cover; }
.site-brand span { display: grid; min-width: 0; gap: 0.1rem; }
.site-brand strong { color: var(--techgrid-ink); font-size: 1rem; font-weight: 800; line-height: 1.08; white-space: nowrap; }
.site-brand small { color: var(--techgrid-ink-soft); font-size: 0.62rem; font-weight: 700; line-height: 1.12; text-transform: uppercase; }
.site-nav-links { display: flex; align-items: center; justify-content: center; gap: 1.6rem; }
.site-nav-links a,
.site-nav-contact { color: var(--techgrid-ink-soft); font-size: 0.84rem; font-weight: 700; text-decoration: none; }
.site-nav-links a:hover,
.site-nav-contact:hover { color: var(--techgrid-teal-dark); }
.site-nav-actions { display: flex; align-items: center; gap: 1rem; }
.site-nav-cta { min-height: 2.5rem; padding: 0.58rem 0.85rem; font-size: 0.78rem; white-space: nowrap; }
.site-language-switcher { position: relative; display: block; flex: 0 0 auto; z-index: 90; }
.site-language-switcher .trp-shortcode-switcher__wrapper { position: relative; display: block; width: max-content; }
.site-language-switcher .trp-shortcode-switcher { display: block; width: auto; margin: 0; padding: 0; overflow: visible; border: 0; background: transparent; box-shadow: none; color: var(--techgrid-ink-soft); font-size: 0.76rem; }
.site-language-switcher .trp-shortcode-overlay { position: absolute !important; top: 0; left: 0; z-index: 100; }
.site-language-switcher .trp-current-language-item__wrapper { display: flex; align-items: center; min-height: 2.5rem; padding: 0.32rem 0.42rem; border: 1px solid var(--techgrid-border); border-radius: 4px; background: #fff; }
.site-language-switcher .trp-shortcode-overlay .trp-language-item__current { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0; color: var(--techgrid-ink-soft); line-height: 1.2; white-space: nowrap; pointer-events: auto; cursor: pointer; }
.site-language-switcher .trp-shortcode-overlay .trp-switcher-dropdown-list { min-width: 100%; border: 1px solid var(--techgrid-border); border-top: 0; border-radius: 0 0 4px 4px; background: #fff; box-shadow: 0 10px 18px rgba(22, 40, 45, 0.12); }
.site-language-switcher .trp-shortcode-overlay.is-open .trp-current-language-item__wrapper { border-color: var(--techgrid-teal); border-radius: 4px 4px 0 0; }
.site-language-switcher .trp-shortcode-overlay .trp-switcher-dropdown-list .trp-language-item { min-height: auto; padding: 0.6rem 0.55rem; }
.site-nav-toggle { display: none; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid var(--techgrid-border); border-radius: 4px; background: #fff; color: var(--techgrid-ink); font-size: 1.25rem; }
.site-mobile-menu { display: none; border-top: 1px solid var(--techgrid-border); background: #fff; }
.site-mobile-menu.is-open { display: grid; }
.site-mobile-menu a { padding: 0.9rem max(1rem, calc((100% - 80rem) / 2 + 1rem)); border-bottom: 1px solid #edf1f1; color: var(--techgrid-ink); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.site-mobile-menu a:hover { color: var(--techgrid-teal-dark); background: var(--techgrid-teal-pale); }

/* Home */
.home-hero { position: relative; display: flex; min-height: 32.5rem; height: min(68svh, 40.5rem); align-items: center; overflow: hidden; color: #fff; }
.home-hero-media { position: absolute; inset: 0; background-position: center; background-size: cover; }
.home-hero-overlay { position: absolute; inset: 0; background: rgba(3, 14, 16, 0.37); }
.home-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 2rem; padding-bottom: 2rem; }
.home-hero-inner > * { max-width: 38rem; }
.home-hero-kicker { margin: 0 0 0.85rem; color: #bde5e1; font-size: 0.73rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
.home-hero h1 { margin: 0; color: #fff; font-size: 3.75rem; font-weight: 750; line-height: 1.02; }
.home-hero h1 + p { margin: 1.1rem 0 0; color: #eefbfa; font-size: 1.1rem; line-height: 1.62; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.65rem; }
.home-hero .techgrid-button-primary { background: var(--techgrid-teal); }
.home-hero .techgrid-button-primary:hover { background: #03918d; }
.home-hero .techgrid-button-secondary { border-color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.06); color: #fff; }
.home-hero .techgrid-button-secondary:hover { border-color: #fff; background: #fff; color: var(--techgrid-ink); }
.home-proof { border-bottom: 1px solid var(--techgrid-border); background: #fff; }
.home-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.home-proof-grid > div { display: grid; min-height: 6.75rem; align-content: center; gap: 0.25rem; padding: 1rem 1.25rem; border-right: 1px solid var(--techgrid-border); }
.home-proof-grid > div:first-child { border-left: 1px solid var(--techgrid-border); }
.home-proof-grid strong { color: var(--techgrid-teal-dark); font-size: 1.2rem; line-height: 1.18; }
.home-proof-grid span { color: var(--techgrid-ink-soft); font-size: 0.77rem; line-height: 1.4; }
.home-section { max-width: 82rem; padding-top: 5rem; padding-bottom: 0; }
.home-section-intro { max-width: 42rem; }
.home-section-intro > p:last-child { margin: 0.9rem 0 0; color: var(--techgrid-ink-soft); font-size: 0.96rem; line-height: 1.7; }
.home-solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.home-single-solution { grid-template-columns: minmax(0, 42rem); max-width: 42rem; }
.home-standard-custom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.home-standard-custom-grid .techgrid-product-card { height: 100%; }
.home-standard-custom-grid .techgrid-product-card-image { aspect-ratio: 1.5 / 1; }
.home-custom-solution { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--techgrid-border); border-radius: 6px; background: #fff; color: var(--techgrid-ink); }
.home-custom-solution-media { position: relative; aspect-ratio: 1.5 / 1; overflow: hidden; background: #f1f4f4; }
.home-custom-solution-media img { width: 100%; height: 100%; object-fit: cover; }
.home-custom-solution-media > span { position: absolute; right: 0.8rem; bottom: 0.8rem; padding: 0.35rem 0.5rem; background: rgba(3, 14, 16, 0.82); color: #fff; font-size: 0.68rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.home-custom-solution-body { display: flex; min-height: 12.75rem; flex-direction: column; padding: 1rem; }
.home-custom-solution-body h3 { margin: 0.55rem 0 0.65rem; font-size: 1.08rem; line-height: 1.3; }
.home-custom-solution-summary { margin: 0 0 0.95rem; color: var(--techgrid-ink-soft); font-size: 0.82rem; line-height: 1.55; }
.home-custom-solution-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.home-custom-solution-form label { min-width: 0; }
.home-custom-solution-form label span { display: block; margin-bottom: 0.38rem; color: var(--techgrid-ink); font-size: 0.76rem; font-weight: 750; }
.home-custom-solution-form input,
.home-custom-solution-form select { box-sizing: border-box; width: 100%; min-height: 2.75rem; padding: 0.65rem 0.75rem; border: 1px solid var(--techgrid-border); border-radius: 4px; background: #fff; color: var(--techgrid-ink); font: inherit; font-size: 0.84rem; line-height: 1.35; }
.home-custom-solution-form input:focus,
.home-custom-solution-form select:focus { outline: 3px solid rgba(0, 123, 120, 0.16); border-color: var(--techgrid-teal); }
.home-custom-solution-color,
.home-custom-solution-form .techgrid-button { grid-column: 1 / -1; }
.home-custom-solution-form .techgrid-button { width: 100%; margin-top: 0.15rem; }
.home-custom-solution-note { margin: auto 0 0; padding-top: 0.85rem; border-top: 1px solid #e8eeee; color: var(--techgrid-ink-soft); font-size: 0.72rem; line-height: 1.45; }
.home-solution { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--techgrid-border); border-radius: 6px; background: #fff; color: var(--techgrid-ink); text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.home-solution:hover { border-color: #95bbb7; box-shadow: 0 12px 25px rgba(22, 40, 45, 0.1); transform: translateY(-2px); }
.home-solution img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.home-solution > div { padding: 1rem; }
.home-solution p { margin: 0; color: var(--techgrid-teal-dark); font-size: 0.7rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.home-solution h3 { margin: 0.55rem 0 0.9rem; font-size: 1.08rem; line-height: 1.3; }
.home-solution span { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--techgrid-teal-dark); font-size: 0.8rem; font-weight: 800; }
.home-solution:hover span { color: var(--techgrid-red); }
.home-manufacturing { margin-top: 5rem; background: var(--techgrid-ink); color: #d8e7e5; }
.home-manufacturing-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr); gap: clamp(2.5rem, 7vw, 7rem); max-width: 82rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.home-manufacturing .techgrid-kicker { color: #7dccca; }
.home-manufacturing-copy h2 { max-width: 35rem; margin: 0.65rem 0 0; color: #fff; font-size: 2rem; line-height: 1.18; }
.home-manufacturing-copy p:not(.techgrid-kicker) { max-width: 38rem; margin: 1rem 0 1.25rem; color: #b9cecd; font-size: 0.96rem; line-height: 1.75; }
.home-manufacturing .techgrid-text-link { color: #a9e5e1; }
.home-manufacturing .techgrid-text-link:hover { color: #fff; }
.home-process-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.home-process-list li { display: grid; grid-template-columns: 2.8rem 1fr; gap: 0.9rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(215, 233, 231, 0.18); }
.home-process-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.home-process-list li > span { color: #7dccca; font-size: 0.78rem; font-weight: 800; }
.home-process-list h3 { margin: 0; color: #fff; font-size: 1rem; }
.home-process-list p { margin: 0.3rem 0 0; color: #b9cecd; font-size: 0.83rem; line-height: 1.5; }
.home-product-grid { margin-top: 1.6rem; }
.home-contact-band { margin-top: 5rem; border-top: 1px solid var(--techgrid-border); background: #fff; }
.home-contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 82rem; min-height: 12rem; }
.home-contact-band h2 { max-width: 42rem; margin: 0.55rem 0 0; color: var(--techgrid-ink); font-size: 1.75rem; line-height: 1.22; }

/* Footer */
.site-footer { background: var(--techgrid-ink); color: #c9d9d8; }
.site-footer-cta { border-bottom: 1px solid rgba(206, 226, 224, 0.18); background: #f1f7f6; color: var(--techgrid-ink); }
.site-footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 82rem; min-height: 10rem; }
.site-footer-cta .techgrid-kicker { color: var(--techgrid-teal-dark); }
.site-footer-cta h2 { max-width: 40rem; margin: 0.45rem 0 0; font-size: 1.55rem; line-height: 1.24; }
.site-footer-main { padding: 3.5rem 0; }
.site-footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 2rem; max-width: 82rem; }
.site-footer .site-brand { color: #fff; }
.site-footer .site-brand strong { color: #fff; }
.site-footer .site-brand small { color: #9eb8b6; }
.site-footer-brand > p { max-width: 17rem; margin: 1rem 0; color: #adc1c0; font-size: 0.84rem; line-height: 1.6; }
.site-footer-email,
.site-footer-phone { display: block; width: fit-content; margin-top: 0.5rem; color: #fff; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.site-footer-email:hover,
.site-footer-phone:hover { color: #98ddda; }
.site-footer h3 { margin: 0 0 1rem; color: #fff; font-size: 0.86rem; font-weight: 800; }
.site-footer ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.site-footer li,
.site-footer li a { min-width: 0; }
.site-footer li a { color: #adc1c0; font-size: 0.8rem; line-height: 1.38; text-decoration: none; }
.site-footer li a:hover { color: #fff; }
.site-footer-bottom { border-top: 1px solid rgba(206, 226, 224, 0.18); }
.site-footer-bottom > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; max-width: 82rem; color: #9fb5b4; font-size: 0.72rem; }
.site-footer-bottom span:last-child { display: inline-flex; gap: 1rem; }
.site-footer-bottom a { color: #d7e4e3; text-decoration: none; }
.site-footer-bottom a:hover { color: #fff; }

@media (max-width: 1024px) {
	.site-nav { gap: 1.2rem; }
	.site-nav-links { gap: 1rem; }
	.site-footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 1.25rem; }
}

@media (max-width: 768px) {
	.site-header-inner { min-height: 1.8rem; font-size: 0.65rem; }
	.site-nav { min-height: 4.25rem; grid-template-columns: 1fr auto; gap: 1rem; }
	.site-nav-links,
	.site-nav-contact,
	.site-nav-cta { display: none; }
	.site-language-switcher .trp-language-item__current { padding: 0.32rem 0.38rem; font-size: 0.7rem; }
	.site-nav-toggle { display: inline-flex; }
	.site-brand img { width: 2.25rem; height: 2.25rem; }
	.home-hero { min-height: 29rem; height: 70svh; }
	.home-hero h1 { font-size: 2.65rem; }
	.home-hero h1 + p { max-width: 32rem; font-size: 1rem; }
	.home-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-proof-grid > div:nth-child(3) { border-left: 1px solid var(--techgrid-border); }
	.home-solutions-grid { grid-template-columns: 1fr; }
	.home-standard-custom-grid { grid-template-columns: 1fr; }
	.home-custom-solution-form { grid-template-columns: 1fr; }
	.home-custom-solution-color,
	.home-custom-solution-form .techgrid-button { grid-column: auto; }
	.home-manufacturing { margin-top: 3rem; }
	.home-manufacturing-grid { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; }
	.home-contact-band { margin-top: 3rem; }
	.home-contact-band-inner { min-height: 11rem; padding-top: 2rem; padding-bottom: 2rem; }
	.site-footer-cta-inner { min-height: 9rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
	.site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
	.site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
	.site-header-inner span { display: none; }
	.site-header-inner { justify-content: center; }
	.site-brand strong { font-size: 0.92rem; }
	.home-hero { min-height: 27.5rem; }
	.home-hero h1 { font-size: 2.2rem; }
	.home-hero-actions .techgrid-button { width: 100%; }
	.home-proof-grid { grid-template-columns: 1fr; }
	.home-proof-grid > div,
	.home-proof-grid > div:first-child,
	.home-proof-grid > div:nth-child(3) { min-height: 4.8rem; border-right: 0; border-left: 0; border-bottom: 1px solid var(--techgrid-border); }
	.home-proof-grid > div:last-child { border-bottom: 0; }
	.home-contact-band-inner,
	.site-footer-cta-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
	.home-contact-band .techgrid-button,
	.site-footer-cta .techgrid-button { width: 100%; }
	.site-footer-grid { grid-template-columns: 1fr; }
	.site-footer-brand { grid-column: auto; }
	.site-footer-bottom > div { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 0.75rem; padding-bottom: 0.75rem; }
}

/* ========================================================================
   Rectangular LED product experience v2
   ======================================================================== */
:root {
	--techgrid-ink: #102226;
	--techgrid-ink-soft: #5b6b6e;
	--techgrid-teal: #087f7a;
	--techgrid-teal-dark: #075e5b;
	--techgrid-teal-pale: #e8f4f2;
	--techgrid-red: #d0443e;
	--techgrid-border: #dce5e3;
	--techgrid-surface: #f5f8f7;
}

html { scroll-behavior: smooth; }
body { background: #f5f8f7; color: var(--techgrid-ink); }

.site-header { box-shadow: 0 1px 0 rgba(16, 34, 38, 0.12); }
.site-header-bar { background: #0c1b1e; }
.site-header-inner { min-height: 2.25rem; }
.site-nav { min-height: 5rem; }
.site-nav-links { gap: 1.35rem; }
.site-nav-links a { position: relative; }
.site-nav-links a::after { position: absolute; right: 0; bottom: -0.5rem; left: 0; height: 2px; background: var(--techgrid-teal); content: ''; opacity: 0; transform: scaleX(0.4); transition: opacity 160ms ease, transform 160ms ease; }
.site-nav-links a:hover::after,
.site-nav-links a:focus-visible::after { opacity: 1; transform: scaleX(1); }
.site-nav-cta { min-height: 2.7rem; padding-right: 1rem; padding-left: 1rem; }

/* Full-bleed hero: the product stays in the image while copy remains HTML. */
.home-hero { min-height: 40rem; height: min(43rem, calc(100svh - 7.25rem)); align-items: center; }
.home-hero-picture { position: absolute; inset: 0; display: block; }
.home-hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.home-hero-overlay { background: rgba(4, 15, 19, 0.44); }
.home-hero-inner { max-width: 82rem; padding-top: 3rem; padding-bottom: 3rem; }
.home-hero-inner > * { max-width: 37rem; }
.home-hero-kicker { margin-bottom: 1rem; color: #a8e1dc; font-size: 0.75rem; letter-spacing: 0.08em; }
.home-hero h1 { max-width: 37rem; font-size: 4.2rem; line-height: 1.02; }
.home-hero h1 + p { max-width: 35rem; margin-top: 1.25rem; color: #f0fbfa; font-size: 1.08rem; line-height: 1.65; }
.home-hero-actions { gap: 0.8rem; margin-top: 1.85rem; }
.home-hero .techgrid-button-primary { background: var(--techgrid-teal); }
.home-hero .techgrid-button-primary:hover { background: #0a938e; }
.home-hero .techgrid-button-secondary { border-color: rgba(255, 255, 255, 0.78); background: rgba(4, 15, 19, 0.16); color: #fff; }
.home-hero .techgrid-button-secondary:hover { border-color: #fff; background: #fff; color: var(--techgrid-ink); }

.home-proof { background: #fff; }
.home-proof-grid > div { min-height: 6.4rem; padding: 1rem 1.35rem; }
.home-proof-grid strong { font-size: 1rem; }
.home-proof-grid span { max-width: 12rem; }

.home-section { max-width: 82rem; padding-top: 5.75rem; }
.home-section-intro { max-width: 46rem; }
.home-section-intro h2 { font-size: 2.55rem; line-height: 1.12; }
.home-section-intro > p:last-child { max-width: 42rem; margin-top: 1.05rem; font-size: 1rem; }

.home-product-showcase { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr); margin-top: 2.3rem; overflow: hidden; border: 1px solid var(--techgrid-border); border-radius: 8px; background: #fff; box-shadow: 0 18px 38px rgba(16, 34, 38, 0.08); }
.home-product-showcase-media { position: relative; display: grid; min-height: 31rem; place-items: center; background: #f0f4f3; }
.home-product-showcase-media img { width: 100%; height: 100%; padding: 2rem; object-fit: contain; }
.home-image-label { position: absolute; top: 1rem; left: 1rem; z-index: 1; padding: 0.4rem 0.55rem; background: rgba(16, 34, 38, 0.88); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.2; text-transform: uppercase; }
.home-product-showcase-content { display: flex; min-width: 0; flex-direction: column; padding: 3rem 2.75rem; }
.home-product-showcase-content h3 { max-width: 28rem; margin: 0.55rem 0 0.9rem; color: var(--techgrid-ink); font-size: 1.85rem; line-height: 1.12; }
.home-product-showcase-content > p:not(.techgrid-product-card-category) { margin: 0; color: var(--techgrid-ink-soft); font-size: 0.96rem; line-height: 1.7; }
.home-product-facts,
.home-check-list,
.techgrid-product-benefits,
.techgrid-catalog-product-facts { display: grid; gap: 0.7rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.home-product-facts li,
.home-check-list li,
.techgrid-product-benefits li,
.techgrid-catalog-product-facts li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--techgrid-ink); font-size: 0.83rem; line-height: 1.45; }
.home-product-facts ion-icon,
.home-check-list ion-icon,
.techgrid-product-benefits ion-icon,
.techgrid-catalog-product-facts ion-icon { flex: 0 0 auto; margin-top: 0.1rem; color: var(--techgrid-teal); font-size: 1rem; }
.home-product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; margin-top: auto; padding-top: 2rem; }
.home-product-actions .techgrid-text-link { white-space: normal; }

.home-custom-band { margin-top: 5.75rem; padding: 5.5rem 0; background: var(--techgrid-teal-pale); }
.home-custom-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1.05fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); max-width: 82rem; }
.home-custom-copy h2 { max-width: 35rem; margin: 0.65rem 0 1rem; color: var(--techgrid-ink); font-size: 2.55rem; line-height: 1.12; }
.home-custom-copy > p:not(.techgrid-kicker) { max-width: 34rem; margin: 0; color: #486367; font-size: 0.98rem; line-height: 1.7; }
.home-check-list { gap: 0.85rem; margin-top: 1.65rem; }
.home-check-list li { color: #345257; }
.home-custom-tool { padding: 2rem; border: 1px solid #c7dfdc; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(16, 34, 38, 0.06); }
.home-custom-tool-heading { display: flex; align-items: flex-start; gap: 0.85rem; }
.home-tool-number { display: grid; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--techgrid-ink); color: #fff; font-size: 0.75rem; font-weight: 800; }
.home-custom-tool h3 { margin: 0.35rem 0 0; color: var(--techgrid-ink); font-size: 1.45rem; line-height: 1.2; }
.home-custom-quote { margin-top: 1.6rem; }
.home-custom-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.home-custom-fields label { min-width: 0; }
.home-custom-fields label span { display: block; margin-bottom: 0.4rem; color: var(--techgrid-ink); font-size: 0.76rem; font-weight: 750; }
.home-custom-fields input,
.home-custom-fields select { box-sizing: border-box; width: 100%; min-height: 2.9rem; padding: 0.7rem 0.75rem; border: 1px solid var(--techgrid-border); border-radius: 4px; background: #fff; color: var(--techgrid-ink); font: inherit; font-size: 0.86rem; }
.home-custom-fields input:focus,
.home-custom-fields select:focus { outline: 3px solid rgba(8, 127, 122, 0.16); border-color: var(--techgrid-teal); }
.home-custom-field-wide { grid-column: 1 / -1; }
.home-custom-quote > .techgrid-button { width: 100%; margin-top: 1rem; }
.home-tool-note { margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px solid #e6efed; color: var(--techgrid-ink-soft); font-size: 0.75rem; line-height: 1.45; }

.home-application { margin-top: 0; padding: 5.5rem 0; background: var(--techgrid-ink); color: #d5e7e4; }
.home-application-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); max-width: 82rem; }
.home-application .techgrid-kicker { color: #8ed6d1; }
.home-application-copy h2 { max-width: 33rem; margin: 0.65rem 0 1rem; color: #fff; font-size: 2.35rem; line-height: 1.14; }
.home-application-copy > p:not(.techgrid-kicker) { max-width: 32rem; margin: 0; color: #b6cecb; font-size: 0.96rem; line-height: 1.7; }
.home-application-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.7rem; }
.home-application-tags span { padding: 0.45rem 0.6rem; border: 1px solid rgba(182, 206, 203, 0.34); color: #e6f4f2; font-size: 0.73rem; line-height: 1.3; }
.home-application-media { margin: 0; overflow: hidden; border: 1px solid rgba(214, 236, 233, 0.25); border-radius: 8px; background: #0c1b1e; }
.home-application-media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }

.home-process { padding: 5.5rem 0; background: #fff; }
.home-process .home-section-intro { margin-bottom: 2.1rem; }
.home-process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 82rem; margin: 0; padding: 0; list-style: none; }
.home-process-list li { display: grid; grid-template-columns: 2.8rem 1fr; gap: 0.9rem; min-height: 8rem; padding: 0 2rem; border-left: 1px solid var(--techgrid-border); }
.home-process-list li:first-child { padding-left: 0; border-left: 0; }
.home-process-list li > span { color: var(--techgrid-teal); font-size: 0.8rem; font-weight: 800; }
.home-process-list h3 { margin: 0; color: var(--techgrid-ink); font-size: 1.05rem; line-height: 1.3; }
.home-process-list p { margin: 0.45rem 0 0; color: var(--techgrid-ink-soft); font-size: 0.85rem; line-height: 1.55; }

.home-faq { max-width: 82rem; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.home-faq-list { margin-top: 2rem; border-top: 1px solid var(--techgrid-border); }
.home-faq-list details { border-bottom: 1px solid var(--techgrid-border); }
.home-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; color: var(--techgrid-ink); font-size: 1rem; font-weight: 750; cursor: pointer; list-style: none; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary ion-icon { flex: 0 0 auto; color: var(--techgrid-teal); font-size: 1.2rem; transition: transform 160ms ease; }
.home-faq-list details[open] summary ion-icon { transform: rotate(45deg); }
.home-faq-list details p { max-width: 48rem; margin: -0.35rem 2rem 1.25rem 0; color: var(--techgrid-ink-soft); font-size: 0.9rem; line-height: 1.7; }
.home-contact-band { margin-top: 0; border-top: 1px solid var(--techgrid-border); background: #fff; }
.home-contact-band-inner { min-height: 13rem; max-width: 82rem; }
.home-contact-band h2 { font-size: 2rem; }

/* Single-product catalog landing page. */
.techgrid-single-catalog .techgrid-catalog-header { max-width: 48rem; margin-bottom: 2.5rem; }
.techgrid-single-catalog .techgrid-catalog-header h1 { font-size: 3rem; }
.techgrid-catalog-product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr); overflow: hidden; border: 1px solid var(--techgrid-border); border-radius: 8px; background: #fff; box-shadow: 0 18px 38px rgba(16, 34, 38, 0.07); }
.techgrid-catalog-product-media { display: grid; min-height: 31rem; place-items: center; background: #f0f4f3; }
.techgrid-catalog-product-media img { width: 100%; height: 100%; padding: 2rem; object-fit: contain; }
.techgrid-catalog-product-copy { display: flex; flex-direction: column; padding: 3rem 2.75rem; }
.techgrid-catalog-product-copy h2 { margin: 0.55rem 0 0.9rem; color: var(--techgrid-ink); font-size: 2rem; line-height: 1.12; }
.techgrid-catalog-product-copy > p:not(.techgrid-product-kicker) { margin: 0; color: var(--techgrid-ink-soft); font-size: 0.95rem; line-height: 1.7; }
.techgrid-catalog-product-facts { margin-top: 1.6rem; }
.techgrid-catalog-product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: auto; padding-top: 2rem; }
.techgrid-empty-state { padding: 3rem; border: 1px solid var(--techgrid-border); background: #fff; }
.techgrid-empty-state h2 { margin: 0; color: var(--techgrid-ink); font-size: 1.5rem; }
.techgrid-empty-state p { color: var(--techgrid-ink-soft); }

/* Product detail purchase path. */
.techgrid-product-gallery-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.7rem; }
.techgrid-product-gallery-label > span:last-child { color: var(--techgrid-ink-soft); font-size: 0.74rem; }
.techgrid-product-main-image { border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(16, 34, 38, 0.06); }
.techgrid-product-main-image img { padding: 1.25rem; object-fit: contain; }
.techgrid-product-summary h1 { font-size: 2.8rem; line-height: 1.08; }
.techgrid-product-intro { margin-top: 1.1rem; }
.techgrid-product-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; margin-top: 1.25rem; }
.techgrid-product-benefits li { display: block; padding: 0.65rem; border: 1px solid var(--techgrid-border); background: #fff; font-size: 0.74rem; line-height: 1.4; }
.techgrid-product-benefits ion-icon { display: block; margin: 0 0 0.35rem; font-size: 1.1rem; }
.techgrid-product-path-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--techgrid-border); color: var(--techgrid-ink-soft); font-size: 0.76rem; }
.techgrid-product-path-label span:first-child { color: var(--techgrid-ink); font-weight: 800; }
.techgrid-standard-purchase,
.techgrid-product-inquiry { margin-top: 0.9rem; border-radius: 8px; }
.techgrid-standard-purchase { padding: 1.5rem; }
.techgrid-product-inquiry { padding: 1.5rem; }
.techgrid-standard-purchase h2,
.techgrid-product-inquiry h2 { font-size: 1.35rem; }
.techgrid-standard-purchase > p,
.techgrid-product-inquiry > p { font-size: 0.84rem; }
.techgrid-product-inquiry-form { gap: 0.8rem; }
.techgrid-product-inquiry-form .techgrid-button { min-height: 3rem; }
.techgrid-product-tabs { margin-top: 5rem; }

@media (max-width: 960px) {
	.home-hero { min-height: 37rem; height: min(42rem, calc(100svh - 7.25rem)); }
	.home-hero h1 { font-size: 3.55rem; }
	.home-product-showcase,
	.techgrid-catalog-product { grid-template-columns: 1fr; }
	.home-product-showcase-media,
	.techgrid-catalog-product-media { min-height: 25rem; }
	.home-product-showcase-content,
	.techgrid-catalog-product-copy { padding: 2.5rem; }
	.home-custom-layout { grid-template-columns: 1fr; gap: 2.5rem; }
	.home-application-layout { grid-template-columns: 1fr; gap: 2.5rem; }
	.home-application-copy h2 { max-width: 42rem; }
	.home-process-list { grid-template-columns: 1fr; gap: 1.4rem; }
	.home-process-list li,
	.home-process-list li:first-child { min-height: 0; padding: 0 0 1.4rem; border-right: 0; border-bottom: 1px solid var(--techgrid-border); border-left: 0; }
	.home-process-list li:last-child { padding-bottom: 0; border-bottom: 0; }
	.techgrid-product-layout { grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr); gap: 2rem; }
}

@media (max-width: 768px) {
	.site-nav { min-height: 4.4rem; }
	.home-hero { min-height: 39rem; height: calc(100svh - 6.2rem); align-items: flex-end; }
	.home-hero-picture img { object-position: 63% center; }
	.home-hero-overlay { background: rgba(4, 15, 19, 0.48); }
	.home-hero-inner { padding-top: 2rem; padding-bottom: 2.5rem; }
	.home-hero h1 { font-size: 3rem; }
	.home-hero h1 + p { font-size: 0.98rem; }
	.home-section,
	.home-faq { padding-top: 4rem; }
	.home-section-intro h2,
	.home-custom-copy h2 { font-size: 2.15rem; }
	.home-product-showcase-media,
	.techgrid-catalog-product-media { min-height: 21rem; }
	.home-product-showcase-media img,
	.techgrid-catalog-product-media img { padding: 1.25rem; }
	.home-product-showcase-content,
	.techgrid-catalog-product-copy { padding: 2rem 1.25rem; }
	.home-product-showcase-content h3,
	.techgrid-catalog-product-copy h2 { font-size: 1.55rem; }
	.home-custom-band,
	.home-application,
	.home-process { padding-top: 4rem; padding-bottom: 4rem; }
	.home-custom-tool { padding: 1.25rem; }
	.home-application-copy h2 { font-size: 2.05rem; }
	.home-faq { padding-bottom: 4rem; }
	.home-contact-band-inner { min-height: 11rem; padding-top: 2rem; padding-bottom: 2rem; }
	.techgrid-single-catalog .techgrid-catalog-header h1 { font-size: 2.35rem; }
	.techgrid-product-layout { grid-template-columns: 1fr; margin-top: 1.25rem; }
	.techgrid-product-summary h1 { font-size: 2.35rem; }
	.techgrid-product-benefits { grid-template-columns: 1fr; }
	.techgrid-product-benefits li { display: flex; align-items: center; gap: 0.55rem; }
	.techgrid-product-benefits ion-icon { display: inline-block; margin: 0; }
	.techgrid-product-path-label { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
	.techgrid-product-tabs { margin-top: 3rem; }
}

@media (max-width: 460px) {
	.site-header-inner span { display: none; }
	.home-hero { min-height: 37rem; }
	.home-hero h1 { font-size: 2.45rem; }
	.home-hero-actions .techgrid-button { width: 100%; }
	.home-proof-grid > div { min-height: 5.5rem; }
	.home-custom-fields { grid-template-columns: 1fr; }
	.home-custom-field-wide { grid-column: auto; }
	.home-product-actions,
	.techgrid-catalog-product-actions { align-items: stretch; flex-direction: column; }
	.home-product-actions .techgrid-button,
	.techgrid-catalog-product-actions .techgrid-button { width: 100%; }
	.home-application-tags { align-items: flex-start; flex-direction: column; }
	.home-application-tags span { width: 100%; }
	.home-contact-band-inner,
	.site-footer-cta-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
	.home-contact-band .techgrid-button,
	.site-footer-cta .techgrid-button { width: 100%; }
	.techgrid-single-catalog .techgrid-catalog-header h1 { font-size: 2rem; }
	.techgrid-product-summary h1 { font-size: 2rem; }
}
