/*
Theme Name: Industrial Catalog
Theme URI: https://github.com/example/industrial-catalog
Author: Industrial Catalog Contributors
Author URI: https://github.com/example
Description: A mobile-first, WooCommerce-ready catalogue theme for industrial B2B manufacturers, with three selectable homepage layouts and a full Customizer-driven design system. No page-builder dependency.
Version: 0.3.8
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: industrial-catalog
Tags: e-commerce, custom-colors, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

:root {
	/* Brand palette */
	--color-brand-blue: #1558c4;
	--color-accent: #1e88e5;
	--color-dark-bg: #0b1730;
	--color-dark-text: #10203e;
	--color-light-text: #a9b8d0;
	--color-footer-bg: #060e1e;
	--color-body-bg: #f4f7fb;
	--color-white: #ffffff;
	--color-text-body: #5a6678;
	--color-text-muted: #8a93a3;
	--color-text-secondary: #3c4658;
	--color-border: #e3e9f2;

	/* Typography */
	--font-heading: 'Barlow Semi Condensed', sans-serif;
	--font-title: 'Barlow Semi Condensed', sans-serif;
	--font-body: 'Barlow', Helvetica, Arial, sans-serif;

	/* Corners */
	--radius-button: 5px;
	--radius-chip: 100px;
	--radius-card: 10px;

	/* Layout */
	--gutter: clamp( 24px, 5vw, 64px );
	--section-centering: 0px;
	--gutter-x: max( var( --gutter ), var( --section-centering ) );

	/* Header logo container width per breakpoint (Customizer: Site Identity) */
	--logo-width-mobile: 140px;
	--logo-width-tablet: 180px;
	--logo-width-desktop: 220px;
}

.extended-background-shell {
	padding-inline: var( --gutter-x );
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var( --font-body );
	color: var( --color-text-body );
	background: var( --color-white );
}

.site-shell {
	width: 100%;
}

body.layout-width-boxed {
	background: var( --color-body-bg );
}

body.layout-width-boxed .site-shell {
	max-width: var( --container-max-width, 1240px );
	margin-inline: auto;
	background: var( --color-white );
	box-shadow: 0 0 60px rgba( 0, 0, 0, 0.08 );
}

body.layout-width-content-boxed {
	--section-centering: calc( ( 100% - var( --container-max-width, 1240px ) ) / 2 );
	--gutter-x: max( var( --gutter ), var( --section-centering ) );
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var( --font-heading );
	color: var( --color-dark-text );
}

a {
	color: var( --color-brand-blue );
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.button,
button,
input[type="submit"] {
	border-radius: var( --radius-button );
	&:hover,
	&:focus {
		text-decoration: none;
	}
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 6px;
	width: 30px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.menu-toggle__bar {
	display: block;
	width: 24px;
	height: 2.5px;
	background: var( --color-dark-text );
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.menu-toggle__bar:last-child {
	background: var( --color-accent );
	width: 18px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar--top {
	transform: translateY( 8.5px ) rotate( 45deg );
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar--middle {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar--bottom {
	transform: translateY( -8.5px ) rotate( -45deg );
	width: 24px;
	background: var( --color-dark-text );
}

.nav-quote-trigger__short {
	display: none;
}
.site-header {
	gap: 24px;
}
.primary-navigation {
	margin-left: auto;
}

/* Hamburger navigation: active through tablet, inline nav from 992px up */
@media ( max-width: 991px ) {
	.site-header {
		position: relative;
		gap: 12px;
	}
	.menu-toggle {
		display: flex;
		order: 3;
	}

	/* Doubled class beats .button--primary's later equal-specificity !important padding */
	.nav-quote-trigger.nav-quote-trigger {
		order: 2;
		flex-shrink: 0;
		white-space: nowrap;
		padding: 10px 16px !important;
		font-size: 14px !important;
		margin-left: auto;
	}

	.nav-quote-trigger__full {
		display: none;
	}

	.nav-quote-trigger__short {
		display: inline;
	}

	.primary-navigation {
		display: none;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		z-index: 999;
		background: var( --color-white );
		border-bottom: 1px solid var( --color-border );
		box-shadow: 0 16px 32px rgba( 6, 14, 30, 0.16 );
		padding: 8px var( --gutter-x ) 16px;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.primary-navigation a {
		display: block;
		padding: 12px 4px;
	}
}

@keyframes industrial-catalog-marquee {
	from {
		transform: translateX( 0 );
	}
	to {
		transform: translateX( -50% );
	}
}

.client-marquee {
	background: var( --color-white );
	border-top: 1px solid var( --color-border );
	border-bottom: 1px solid var( --color-border );
	padding: 20px 0;
	overflow: hidden;
}

.client-marquee__track {
	display: flex;
	gap: 40px;
	white-space: nowrap;
	width: max-content;
	animation: industrial-catalog-marquee 30s linear infinite;
}

.client-marquee__item {
	font-weight: 700;
	font-size: 18px;
	color: var( --color-text-muted );
}

.shop-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-block: 18px;
	background: var( --color-white );
	border-bottom: 1px solid var( --color-border );
}

.shop-filters__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.shop-filters__pill:hover,
.shop-filters__pill:active,
.shop-filters__pill:focus {
	text-decoration: none;
	background: var( --color-accent );
	color: var(--color-white);
}
.shop-filters__pill {
	display: inline-block;
	padding: 8px 18px;
	border-radius: var( --radius-chip );
	background: var( --color-body-bg );
	color: var( --color-text-secondary );
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.shop-filters__pill.is-active {
	background: var( --color-accent );
	color: var( --color-white );
}

.shop-results-count {
	font-size: 14px;
	color: #8a93a3;
}

.product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding-block: 48px 0;
}

@media ( min-width: 600px ) {
	.product-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( min-width: 960px ) {
	.product-grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

.product-card {
	border: 1px solid var( --color-border );
	border-radius: var( --radius-card );
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.product-card__image {
	position: relative;
	display: block;
}

.product-card__image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.product-card__category {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var( --color-dark-bg );
	color: var( --color-white );
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: var( --radius-button );
}

.product-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.product-card__title {
	margin: 0;
	font-size: 19px;
}

.product-card__title a {
	color: var( --color-dark-text );
	text-decoration: none;
}

.product-card__description {
	color: var( --color-text-body );
	font-size: 14px;
	flex: 1;
}

.product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid var( --color-border );
	padding-top: 12px;
	margin-top: 8px;
}

.product-card__quote-link,
.product-card__price {
	color: var( --color-accent );
	font-weight: 700;
	text-decoration: none;
}

.product-card__machines {
	font-size: 12.5px;
	color: #8a93a3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.shop-pagination {
	display: flex;
	justify-content: center;
	padding-block: 24px 48px;
}

.shop-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	margin: 0 4px;
	border: 1px solid #d5deeb;
	border-radius: 6px;
	background: var( --color-white );
	font-weight: 700;
	font-size: 15px;
	color: #3c4658;
	text-decoration: none;
	transition: all 0.2s;
}

.shop-pagination .page-numbers:hover {
	border-color: var( --color-accent );
}

.shop-pagination .page-numbers.current {
	background: var( --color-accent );
	border-color: var( --color-accent );
	color: var( --color-white );
}

.shop-pagination .page-numbers.dots {
	border: 0;
	background: none;
}

.shop-pagination .page-numbers.prev,
.shop-pagination .page-numbers.next {
	min-width: auto;
	padding: 0 20px;
	gap: 8px;
}

.shop-empty {
	padding-block: 48px;
	text-align: center;
	color: var( --color-text-muted );
}

.shop-cta-band {
	background: var( --color-brand-blue );
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 32px;
}

.shop-cta-band__heading {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 24px;
	color: var( --color-white );
}

.product-detail-header {
	background: var( --color-dark-bg );
	color: var( --color-white );
	padding-block: 24px 16px;
}

.product-detail-header__breadcrumb {
	color: var( --color-light-text );
	font-size: 13px;
}

.product-detail-header__breadcrumb a {
	color: var( --color-light-text );
}

.product-detail {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	padding-block: 32px;
}

@media ( min-width: 768px ) {
	.product-detail {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr );
		align-items: start;
	}
}

.product-gallery__main {
	border: 1px solid var( --color-border );
	border-radius: var( --radius-card );
	overflow: hidden;
}

.product-gallery__zoom {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.product-gallery__zoom-icon {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba( 11, 23, 48, 0.65 );
	font-size: 18px;
	color: var( --color-white );
	line-height: 1;
}

.product-gallery__main-image {
	width: 100%;
	height: auto;
	display: block;
}

.product-gallery__thumbs-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.product-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 12px;
	flex: 1;
}

.product-gallery__thumb {
	width: 100%;
	height: 96px;
	padding: 0;
	border: 1px solid var( --color-border );
	border-radius: var( --radius-button );
	overflow: hidden;
	cursor: pointer;
	background: none;
}

.product-gallery__thumb.is-hidden {
	display: none;
}

.product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-gallery__thumb.is-active {
	border-color: var( --color-accent );
}

.product-gallery__thumbs-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 38px;
	height: 96px;
	border: 1px solid var( --color-border );
	border-radius: var( --radius-button );
	background: var( --color-white );
	color: var( --color-text-body );
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
}

.product-gallery__thumbs-nav:hover:not( :disabled ) {
	border-color: var( --color-accent );
	color: var( --color-accent );
}

.product-gallery__thumbs-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.product-gallery__thumbs-nav.is-hidden {
	display: none;
}

.product-gallery__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.product-gallery__dots.is-hidden {
	display: none;
}

.product-gallery__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 100px;
	background: var( --color-border );
	cursor: pointer;
	transition: all 0.2s;
}

.product-gallery__dot.is-active {
	width: 26px;
	background: var( --color-accent );
}

.product-gallery--placeholder img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var( --radius-card );
}

.product-gallery-lightbox {
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.85 );
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	z-index: 1000;
	padding: 24px;
}

.product-gallery-lightbox[hidden] {
	display: none;
}

.product-gallery-lightbox__figure {
	text-align: center;
	max-width: 80%;
	max-height: 100%;
}

.product-gallery-lightbox__image {
	max-width: 100%;
	max-height: 90vh;
	display: block;
}

.product-gallery-lightbox__caption {
	color: #c6d2e6;
	font-size: 15px;
	margin-top: 16px;
}

.product-gallery-lightbox__nav {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.12 );
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var( --color-white );
	font-size: 20px;
	flex-shrink: 0;
}

.product-gallery-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: none;
	border: 0;
	color: var( --color-white );
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.product-detail__category {
	display: inline-block;
	background: #e8f0fc;
	color: var( --color-brand-blue );
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 5px 12px;
	border-radius: var( --radius-button );
	margin-bottom: 12px;
}

.product-detail__title {
	font-family: var( --font-heading );
	font-size: 42px;
	line-height: 1.1;
	margin: 0 0 12px;
	color: var( --color-dark-text );
}

.product-detail__excerpt {
	font-size: 16.5px;
	line-height: 1.7;
	color: var( --color-text-body );
	margin-bottom: 24px;
}

.product-chip-group {
	margin-bottom: 16px;
}

.product-chip-group__label {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var( --color-dark-text );
	margin-bottom: 10px;
}

.product-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.product-chip {
	display: inline-flex;
	gap: 4px;
	padding: 6px 14px;
	border-radius: var( --radius-chip );
	background: var( --color-body-bg );
	font-size: 13px;
	color: var( --color-text-secondary );
}

.product-chip.is-selected {
	border: 2px solid var( --color-accent );
	background: var( --color-body-bg );
	color: var( --color-brand-blue );
}

.product-chip--machine {
	background: var( --color-dark-text );
	color: var( --color-white );
	border-radius: var( --radius-button );
}

.product-quote-box {
	border: 1px solid var( --color-border );
	border-radius: var( --radius-card );
	padding: 24px;
	background: var( --color-white );
	box-shadow: 0 8px 24px rgba( 16, 32, 62, 0.06 );
}

.product-quote-box__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.product-quote-box__heading {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 20px;
	color: var( --color-dark-text );
}

.product-quote-box__response-time {
	font-size: 13px;
	color: #8a93a3;
	white-space: nowrap;
}

.product-quote-box__actions {
	display: grid;
	grid-template-columns: auto max-content;
	gap: 12px;
}

.product-quote-box__actions .clear {
	display: none;
}

.product-quote-box__actions .itc-whatsapp-button {
	flex: 0 0 auto;
}

.product-quote-box__sales-line {
	margin-top: 14px;
	font-size: 13.5px;
	color: #8a93a3;
	text-align: center;
}

.itc-whatsapp-button {
	display: block;
	padding: 14px 24px;
	border-radius: var( --radius-button );
	border: 2px solid #22b358;
	background: transparent;
	color: #1a8b44;
	font-weight: 700;
	font-size: 15px;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s;
	align-self: start;
	&:hover,
	&:focus {
		text-decoration: none;
	}
}

.itc-whatsapp-button:hover {
	background: #f0fbf4;
}

/* YITH's own button markup/CSS doesn't match .button--primary; force parity inside the quote box only. */
.product-quote-box__actions .add-request-quote-button {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: var( --color-accent ) !important;
	color: var( --color-white ) !important;
	border: 0 !important;
	font-weight: 700 !important;
	font-size: 16.5px !important;
	padding: 16px 0 !important;
	border-radius: var( --radius-button ) !important;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s;
}

.product-quote-box__actions .add-request-quote-button:hover {
	background: #3d9bef !important;
}

.product-tabs {
	padding-block: 0 32px;
}

.product-tabs__nav {
	display: flex;
	gap: 8px;
	border-bottom: 1px solid var( --color-border );
	margin-bottom: 20px;
}

.product-tabs__tab {
	padding: 12px 20px;
	border: 0;
	background: none;
	font-weight: 700;
	color: var( --color-text-muted );
	cursor: pointer;
	border-bottom: 2px solid transparent;
}

.product-tabs__tab.is-active {
	color: var( --color-dark-text );
	border-bottom-color: var( --color-accent );
}

.product-tabs__panel[hidden] {
	display: none;
}

.spec-table {
	width: 100%;
	border-collapse: collapse;
}

.spec-table th,
.spec-table td {
	text-align: left;
	padding: 10px 16px;
	border-bottom: 1px solid var( --color-border );
	font-size: 14px;
}

.spec-table th {
	width: 40%;
	color: var( --color-text-secondary );
	font-weight: 700;
}

.product-related {
	padding-block: 0 48px;
}

.product-related .related.products > h2 {
	font-family: var( --font-heading );
	color: var( --color-dark-text );
}

.product-related ul.products {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media ( min-width: 768px ) {
	.product-related ul.products {
		grid-template-columns: repeat( 4, 1fr );
	}
}

.product-related ul.products li.product {
	background: var( --color-white );
	border: 1px solid var( --color-border );
	border-radius: var( --radius-card );
	overflow: hidden;
	text-align: left;
	transition: all 0.25s;
	width: 100%;
}

.product-related ul.products li.product:hover {
	box-shadow: 0 16px 36px rgba( 16, 32, 62, 0.12 );
	transform: translateY( -4px );
	border-color: #bcd3f2;
}

.product-related ul.products li.product a.woocommerce-loop-product__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.product-related ul.products li.product img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
	border-radius: 0;
	margin-bottom: 0;
}

.product-related ul.products li.product .woocommerce-loop-product__title {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 18px;
	color: var( --color-dark-text );
	margin: 0;
	padding: 18px 20px;
}

.page-hero {
	background: var( --color-dark-bg );
	color: var( --color-white );
	padding-block: 48px;
}

.page-hero__breadcrumb {
	color: var( --color-light-text );
	font-size: 13px;
	margin-bottom: 10px;
}

.page-hero__breadcrumb a {
	color: var( --color-light-text );
}

.page-hero__title {
	color: var( --color-white );
	margin: 0;
}

.page-hero--decorated {
	position: relative;
	overflow: hidden;
	background-image: radial-gradient( 700px 300px at 80% 0%, rgba( 30, 136, 229, 0.2 ), transparent 60% );
	padding-block: clamp( 40px, 6vw, 56px );
}

.page-hero--decorated::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient( rgba( 255, 255, 255, 0.03 ) 1px, transparent 1px ),
		linear-gradient( 90deg, rgba( 255, 255, 255, 0.03 ) 1px, transparent 1px );
	background-size: 56px 56px;
	z-index: 0;
}

.page-hero--decorated .page-hero__inner {
	position: relative;
	z-index: 1;
}

.page-hero__subtitle {
	font-size: 17px;
	color: var( --color-light-text );
	margin: 0;
	max-width: 660px;
}

.page-hero__title-highlight {
	color: var( --color-accent );
}

.about-story {
	padding-block: 48px;
}

.about-story__eyebrow {
	color: var( --color-brand-blue );
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.about-story__heading {
	font-weight: 800;
	font-size: 38px;
	line-height: 1.1;
	margin: 12px 0 18px;
}

.timeline {
	background: var( --color-body-bg );
	padding-block: clamp( 48px, 6vw, 72px );
}

.timeline__heading {
	text-align: center;
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: clamp( 28px, 3.2vw, 38px );
	color: var( --color-dark-text );
	margin: 0 0 52px;
}

.timeline__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media ( min-width: 768px ) {
	.timeline__list {
		grid-template-columns: repeat( 4, 1fr );
	}
}

.timeline__item {
	position: relative;
}

.timeline__item::before {
	content: "";
	display: block;
	height: 3px;
	border-radius: 2px;
	background: var( --color-accent );
	margin-bottom: 28px;
}

.timeline__item:last-child::before {
	background: linear-gradient( 90deg, var( --color-accent ), transparent );
}

.timeline__item::after {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var( --color-accent );
}

.timeline__item:last-child::after {
	background: var( --color-dark-text );
}

.timeline__year {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 28px;
	color: var( --color-brand-blue );
	margin: 0 0 10px;
}

.timeline__title {
	font-family: var( --font-heading );
	color: var( --color-dark-text );
	font-weight: 700;
	font-size: 19px;
	margin: 0 0 8px;
}

.timeline__description {
	font-size: 15.5px;
	line-height: 1.65;
	color: var( --color-text-body );
	max-width: 44ch;
}

.values-grid {
	padding-block: 48px;
}

.values-grid__eyebrow {
	color: var( --color-brand-blue );
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
}

.values-grid__heading {
	font-weight: 800;
	font-size: 38px;
	text-align: center;
	margin: 10px 0 32px;
}

.values-grid__list {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) );
	gap: 20px;
	max-width: 1000px;
	margin: 0 auto;
}

.value-card {
	background: var( --color-body-bg );
	border-radius: var( --radius-card );
	padding: 24px;
}

.value-card__title {
	margin: 0 0 8px;
	font-size: 17px;
}

.value-card__description {
	margin: 0;
	font-size: 14px;
}

.contact-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	padding-block: 32px;
}

@media ( min-width: 768px ) {
	.contact-layout {
		grid-template-columns: minmax( 0, 3fr ) minmax( 0, 2fr );
		align-items: start;
	}
}

.contact-form-panel {
	background: var( --color-white );
	border: 1px solid var( --color-border );
	border-radius: var( --radius-card );
	padding: 36px 38px;
	box-shadow: 0 8px 24px rgba( 16, 32, 62, 0.05 );
}

.contact-form-panel__heading {
	margin-top: 0;
}

.quote-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.quote-form-field--full {
	grid-column: 1 / -1;
}

.quote-form-field p {
	margin: 0;
}

.quote-form-field label {
	display: block;
	font-weight: 600;
	font-size: 13.5px;
	color: var( --color-dark-text );
	margin-bottom: 7px;
}

.quote-form-field .wpcf7-form-control-wrap {
	display: block;
}

.quote-form-field .wpcf7-form-control {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d5deeb;
	border-radius: 5px;
	padding: 13px 15px;
	font-size: 14.5px;
	color: var( --color-dark-text );
	background: #fbfcfe;
	font-family: inherit;
	outline: none;
	transition: border-color 0.15s;
}

.quote-form-field .wpcf7-form-control:focus {
	border-color: var( --color-accent );
}

.quote-form-field select.wpcf7-form-control {
	appearance: none;
	color: #3c4658;
}

.quote-form-field textarea.wpcf7-form-control {
	resize: vertical;
	min-height: 96px;
}

@media ( max-width: 700px ) {
	.quote-form-grid {
		grid-template-columns: 1fr;
	}
}

.quote-form-footer {
	margin-top: 8px;
}

.quote-form-footer p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.quote-form-footer br {
	display: none;
}

.quote-form-note {
	font-size: 13.5px;
	color: #8a93a3;
}

.quote-form-note + br + .wpcf7-submit {
	margin-left: auto;
}

.quote-form-footer .wpcf7-submit {
	background: var( --color-accent );
	color: var( --color-white );
	border: 0;
	padding: 15px 40px;
	border-radius: 5px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.2s;
}

.quote-form-footer .wpcf7-submit:hover {
	background: #3d9bef;
	box-shadow: 0 12px 28px rgba( 30, 136, 229, 0.35 );
}

.quote-form-cancel {
	margin-left: auto;
	background: none;
	border: 0;
	color: var( --color-text-body );
	font-weight: 600;
	font-size: 15px;
	padding: 14px 22px;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.15s;
	font-family: inherit;
}

.quote-form-cancel:hover {
	background: var( --color-body-bg );
}

.contact-info-panel {
	display: grid;
	gap: 16px;
	align-content: start;
}

.info-card {
	background: var( --color-body-bg );
	border-radius: var( --radius-card );
	padding: 18px 20px;
}

.info-card__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var( --color-text-muted );
	margin-bottom: 4px;
}

.info-card__value {
	color: var( --color-dark-text );
	font-weight: 600;
	white-space: pre-line;
}

.contact-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.contact-social__link {
	padding: 8px 16px;
	border-radius: var( --radius-chip );
	background: var( --color-body-bg );
	color: var( --color-text-secondary );
	font-size: 13px;
	font-weight: 600;
}

.contact-map {
	position: relative;
	padding-block: 0 48px;
}

.contact-map__directions {
	position: absolute;
	/* offsets .contact-map's own bottom padding so the pill sits over the map itself, not the trailing spacer gap */
	bottom: calc( 48px + 20px );
	left: 20px;
	background: var( --color-dark-text );
	color: var( --color-white );
	font-weight: 600;
	font-size: 13.5px;
	padding: 10px 18px;
	border-radius: var( --radius-button );
	text-decoration: none;
}

.contact-map__iframe {
	width: 100%;
	height: 380px;
	border: 0;
	border-radius: var( --radius-card );
	display: block;
}

.industries-list {
	display: grid;
}

.industry-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: center;
	padding-block: 40px;
	background: var( --color-white );
}

.industry-row--reverse {
	background: var( --color-body-bg );
}

@media ( min-width: 768px ) {
	.industry-row {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr );
		padding-block: 64px;
	}

	.industry-row--reverse .industry-row__media {
		order: 2;
	}
}

.industry-row__media img {
	width: 100%;
	height: 360px;
	object-fit: cover;
	display: block;
	border: 1px solid var( --color-border );
	border-radius: var( --radius-card );
	box-sizing: border-box;
}

.industry-row__tagline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var( --color-brand-blue );
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.industry-row__tagline::before {
	content: "";
	width: 24px;
	height: 2px;
	background: var( --color-accent );
	display: inline-block;
}

.industry-row__title {
	margin: 6px 0 12px;
}

.industry-row__description {
	font-size: 15px;
}

.site-footer {
	background: var( --color-footer-bg );
	color: #8a97ad;
	padding-block: clamp( 40px, 6vw, 56px ) 0;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.08 );
}

@media ( min-width: 600px ) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media ( min-width: 960px ) {
	.site-footer__inner {
		grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
		gap: 48px;
	}
}

.site-footer__brand-text {
	display: inline-block;
	background: var( --color-white );
	color: var( --color-dark-bg );
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 18px;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 6px;
	padding: 8px 16px;
}

.site-footer .custom-logo {
	height: 40px;
	width: auto;
	display: block;
}

.site-footer__col--brand .custom-logo-link {
	display: inline-block;
	background: var( --color-white );
	border-radius: 6px;
	padding: 6px 14px;
}

.site-branding {
	max-width: var( --logo-width-mobile );
}

@media ( min-width: 701px ) {
	.site-branding {
		max-width: var( --logo-width-tablet );
	}
}

@media ( min-width: 1025px ) {
	.site-branding {
		max-width: var( --logo-width-desktop );
	}
}

.site-branding .custom-logo {
	max-width: 100%;
	height: auto;
	display: block;
}

.site-branding .custom-logo-link {
	display: inline-block;
	background: var( --color-white );
	border-radius: 6px;
	padding: 6px 14px;
}

.site-footer__tagline {
	font-size: 14px;
	line-height: 1.7;
	color: #8a97ad;
	margin: 18px 0 0;
	max-width: 300px;
}

.site-footer__col-heading {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var( --color-white );
	margin-bottom: 16px;
}

.site-footer .footer-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer .footer-navigation a,
.site-footer__contact a {
	color: #8a97ad;
	text-decoration: none;
	font-size: 14.5px;
	transition: color 0.2s;
}

.site-footer .footer-navigation a:hover,
.site-footer__contact a:hover {
	color: var( --color-white );
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14.5px;
	color: #8a97ad;
}

.site-footer__address {
	font-size: 14.5px;
	line-height: 1.7;
	color: #8a97ad;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: space-between;
	padding: 20px 0;
	font-size: 13px;
	color: #6d7b93;
}

.site-footer__url {
	color: #6d7b93;
	text-decoration: none;
}

.quote-modal[hidden] {
	display: none;
}

.quote-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	box-sizing: border-box;
}

.quote-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba( 6, 14, 30, 0.6 );
	backdrop-filter: blur( 3px );
}

.quote-modal__dialog {
	position: relative;
	background: var( --color-white );
	border-radius: 12px;
	max-width: 760px;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	box-shadow: 0 30px 70px rgba( 6, 14, 30, 0.4 );
}

.quote-modal__header {
	position: relative;
	padding: 32px 40px 26px;
	border-bottom: 1px solid var( --color-border );
}

.quote-modal__eyebrow {
	color: var( --color-brand-blue );
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.quote-modal__title {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 28px;
	color: var( --color-dark-text );
	margin: 0;
}

.quote-modal__subtitle {
	font-size: 14.5px;
	color: var( --color-text-body );
	margin: 8px 0 0;
}

.quote-modal__close {
	position: absolute;
	top: 26px;
	right: 28px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var( --color-body-bg );
	color: var( --color-text-body );
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.15s;
}

.quote-modal__close:hover {
	background: var( --color-border );
	color: var( --color-dark-text );
}

.quote-modal__body {
	padding: 30px 40px 40px;
}

body.has-open-quote-modal {
	overflow: hidden;
}

.about-story__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

@media ( min-width: 900px ) {
	.about-story__grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 64px;
	}
}

.about-story__media img,
.about-story__media-placeholder {
	min-height: 320px;
	width: 100%;
	border-radius: var( --radius-card );
	display: block;
	object-fit: cover;
}

.about-story__media-placeholder {
	background: repeating-linear-gradient( 45deg, #e6edf8 0 14px, #f3f7fd 14px 28px );
	border: 1px solid var( --color-border );
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8a93a3;
	font-family: ui-monospace, monospace;
	font-size: 12px;
	box-sizing: border-box;
}

.clients-strip {
	background: var( --color-dark-text );
	padding-block: 56px;
}

.clients-strip__eyebrow {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #5aa9f0;
	margin-bottom: 22px;
}

.clients-strip__list {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 44px;
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 21px;
	color: var( --color-light-text );
}

.about-cta-band {
	background: var( --color-brand-blue );
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 36px;
}

.about-cta-band__heading {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 26px;
	color: var( --color-white );
	max-width: 640px;
}

/* WooCommerce's own button.button rule (shop, product, cart, checkout pages) shares every
   property below at higher specificity and otherwise wins, so each is marked !important. */
.button--primary {
	display: inline-block;
	background: var( --color-accent ) !important;
	color: var( --color-white ) !important;
	border: 0;
	font-weight: 700;
	font-size: 15px !important;
	padding: 14px 30px !important;
	border-radius: var( --radius-button ) !important;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s;
}

.button--primary:hover {
	/* WooCommerce's own button.button:hover rule otherwise wins on WC-recognized pages */
	background: #3d9bef !important;
	transform: translateY( -2px );
	box-shadow: 0 10px 24px rgba( 30, 136, 229, 0.3 );
}

/* Same WooCommerce override risk as .button--primary above. */
.button--white {
	background: var( --color-white ) !important;
	color: var( --color-brand-blue ) !important;
	border: 0;
	font-weight: 700;
	font-size: 15px !important;
	padding: 14px 30px !important;
	border-radius: var( --radius-button ) !important;
	cursor: pointer;
	transition: all 0.2s;
}

.button--white:hover {
	transform: translateY( -2px );
	box-shadow: 0 10px 24px rgba( 0, 0, 0, 0.25 );
}

.contact-card {
	border-radius: var( --radius-card );
	padding: 26px 28px;
	display: block;
}

.contact-card--sales {
	background: var( --color-dark-text );
}

.contact-card:not( .contact-card--sales ):not( .contact-card--whatsapp ) {
	background: var( --color-white );
	border: 1px solid var( --color-border );
}

.contact-card__label {
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #5aa9f0;
	margin-bottom: 12px;
}

.contact-card__label--light {
	color: var( --color-brand-blue );
}

.contact-card__phone {
	display: block;
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 26px;
	color: var( --color-white );
	text-decoration: none;
}

.contact-card__phone--dark {
	font-size: 24px;
	color: var( --color-dark-text );
}

.contact-card__email {
	font-size: 14.5px;
	color: var( --color-light-text );
	margin-top: 6px;
	a {
		color: var( --color-light-text );
		text-decoration: none;
	}
}

.contact-card__note {
	font-size: 14.5px;
	color: #8a93a3;
	margin-top: 6px;
}

.contact-card__address {
	font-size: 15.5px;
	line-height: 1.7;
	color: #3c4658;
}

.contact-card--whatsapp {
	border: 2px solid #22b358;
	background: #f0fbf4;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	transition: all 0.2s;
}

.contact-card--whatsapp:hover {
	box-shadow: 0 10px 24px rgba( 34, 179, 88, 0.18 );
	text-decoration: none;

	> div {
		transform: translateX( 2px );
		transition: all 0.2s;
	}
}

.contact-card--whatsapp__title {
	font-weight: 700;
	font-size: 17px;
	color: #1a8b44;
}

.contact-card--whatsapp__note {
	font-size: 13.5px;
	color: #5a8a6c;
	margin-top: 2px;
}

.contact-card--whatsapp__arrow {
	font-size: 22px;
	color: #1a8b44;

	&:hover {
		text-decoration: none;
	}
}

.contact-map--placeholder {
	background: repeating-linear-gradient( 45deg, #e6edf8 0 14px, #f3f7fd 14px 28px );
	height: 340px;
	border-radius: var( --radius-card );
	border: 1px solid var( --color-border );
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8a93a3;
	font-family: ui-monospace, monospace;
	font-size: 13px;
}

.industry-row__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
	margin-bottom: 26px;
}

.industry-row__chip {
	background: var( --color-body-bg );
	color: var( --color-brand-blue );
	font-weight: 600;
	font-size: 13.5px;
	padding: 8px 16px;
	border-radius: var( --radius-chip );
}

.industry-row__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.industries-cta-band {
	background: var( --color-brand-blue );
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 34px;
}

.industries-cta-band__heading {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 25px;
	color: var( --color-white );
}

/**
 * Request a Quote page (YITH Request a Quote list table).
 * Unstyled out of the box — reuses WooCommerce's cramped 32px cart-thumbnail
 * rule, so it needs its own sizing here rather than relying on core styles.
 */
.request-quote-content {
	padding-block: 32px;
}

.quote-empty-state {
	max-width: 520px;
	margin: 24px auto;
	padding: 56px 40px;
	background: var( --color-white );
	border: 1px solid var( --color-border );
	border-radius: var( --radius-card );
	text-align: center;
}

.quote-empty-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var( --color-body-bg );
	color: var( --color-accent );
	margin-bottom: 22px;
}

.quote-empty-state__title {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 26px;
	color: var( --color-dark-text );
	margin: 0 0 10px;
}

.quote-empty-state__text {
	font-size: 15.5px;
	line-height: 1.65;
	color: var( --color-text-body );
	margin: 0 0 28px;
}

.quote-empty-state__cta {
	display: inline-block;
}

.ywraq-wrapper #yith-ywrq-table-list {
	width: 100%;
	border-collapse: collapse;
}

.ywraq-wrapper #yith-ywrq-table-list thead th {
	font-family: var( --font-heading );
	font-size: 15px;
	font-weight: 700;
	color: var( --color-dark-text );
	text-align: left;
	padding: 16px 20px;
	border-bottom: 1px solid var( --color-border );
}

.ywraq-wrapper #yith-ywrq-table-list thead th.product-quantity,
.ywraq-wrapper #yith-ywrq-table-list thead th.product-subtotal {
	text-align: right;
}

.ywraq-wrapper #yith-ywrq-table-list td {
	padding: 24px 20px;
	border-bottom: 1px solid var( --color-border );
	vertical-align: middle;
}

.ywraq-wrapper #yith-ywrq-table-list .product-thumbnail img {
	width: 80px;
	max-width: 100%;
	height: auto;
	border-radius: var( --radius-card );
	box-shadow: none;
	display: block;
}

.ywraq-wrapper #yith-ywrq-table-list .product-name a {
	font-weight: 600;
	font-size: 16px;
	color: var( --color-brand-blue );
}

.ywraq-wrapper #yith-ywrq-table-list .product-quantity,
.ywraq-wrapper #yith-ywrq-table-list .product-subtotal {
	text-align: right;
}

.ywraq-wrapper #yith-ywrq-table-list .quantity input {
	width: 60px;
	padding: 8px;
	border: 1px solid var( --color-border );
	border-radius: 6px;
	text-align: center;
}

.ywraq-wrapper #yith-ywrq-table-list .product-remove a {
	color: #d63638;
	padding: 6px 12px;
	width: auto;
	height: auto;
	border-radius: 4px;
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 400;
	display: inline-block;
	white-space: nowrap;
}
.ywraq-wrapper #yith-ywrq-table-list .product-remove a:hover {
	text-decoration: none;
	color: #d63638;
}
.ywraq-wrapper td.actions {
	padding: 20px;
	text-align: right;
}

/* The YITH template omits data-title on this column, so WooCommerce's
   mobile stacked-table layout would otherwise show a bare ": " label. */
@media ( max-width: 768px ) {
	.ywraq-wrapper #yith-ywrq-table-list .product-subtotal::before {
		content: 'Total: ';
	}
}
