/*
Theme Name: HUATUO Machinery
Theme URI: https://mayimachinery.com/
Author: HUATUO Machinery
Description: A focused product catalogue interface for used construction machinery.
Version: 0.2.2
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: huatuo-machinery
*/

:root {
	--ink: #1e252a;
	--muted: #667078;
	--paper: #f4f5f2;
	--surface: #ffffff;
	--line: #dfe4e6;
	--accent: #d86b2b;
	--accent-dark: #9d431c;
	--accent-soft: #f5e6da;
	--teal: #2f6f73;
	--success: #2c7b58;
	--shadow: 0 14px 34px rgba(30, 37, 42, 0.09);
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Manrope", "Segoe UI", "Microsoft YaHei", sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

body.is-rtl {
	direction: rtl;
}

body.modal-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: #fff;
	border-bottom: 1px solid #e7e8e8;
	box-shadow: 0 4px 14px rgba(30, 37, 42, 0.06);
}

.site-header__top {
	border-bottom: 1px solid #f0f1f1;
}

.site-header__top-inner,
.site-header__main-inner {
	display: flex;
	align-items: center;
	width: min(1440px, calc(100% - 64px));
	margin: 0 auto;
}

.site-header__top-inner {
	justify-content: space-between;
	gap: 24px;
	min-height: 64px;
}

.site-header__main-inner {
	min-height: 86px;
	gap: 32px;
	position: relative;
}

.brand {
	display: grid;
	grid-template-columns: 34px auto;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 9px;
	gap: 1px;
	letter-spacing: 0.08em;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.05;
	white-space: nowrap;
}

.brand-mark {
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 4px;
	background: var(--accent);
	color: #fff;
	font-size: 18px;
	font-style: italic;
	line-height: 1;
}

.brand span {
	grid-column: 2;
	color: var(--accent);
	font-size: 10px;
	letter-spacing: 0.28em;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 38px);
	margin-left: auto;
	color: #111;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.site-nav a {
	position: relative;
	transition: color 160ms ease;
}

.site-nav a::after {
	position: absolute;
	right: 0;
	bottom: -13px;
	left: 0;
	height: 2px;
	background: #22388c;
	content: "";
	opacity: 0;
	transform: scaleX(0.3);
	transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-current {
	color: #22388c;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
	opacity: 1;
	transform: scaleX(1);
}

.nav-chevron {
	margin-left: 4px;
	color: #22388c;
	font-size: 16px;
}

.header-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 292px;
}

.header-search__icon {
	position: absolute;
	left: 17px;
	color: var(--muted);
	font-size: 24px;
	line-height: 1;
	pointer-events: none;
	transform: translateY(-1px);
}

.header-search input {
	width: 205px;
	height: 38px;
	padding: 0 12px 0 42px;
	border: 1px solid #d5d8db;
	border-right: 0;
	border-radius: 0;
	background: #fff;
	color: var(--ink);
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-search input:focus {
	border-color: #22388c;
	background: var(--surface);
	box-shadow: 0 0 0 3px rgba(34, 56, 140, 0.1);
}

.header-search__submit {
	height: 38px;
	padding: 0 17px;
	border: 1px solid #22388c;
	background: #22388c;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.header-search__submit:hover {
	background: #182866;
}

.social-links {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	margin-right: auto;
}

.social-links a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #3c3d3f;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}

.social-links a:hover {
	background: #22388c;
}

.language-picker {
	position: relative;
	margin-left: auto;
}

.language-picker__toggle {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 166px;
	height: 38px;
	border: 0;
	background: #3c3d3f;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.language-picker__flag {
	font-size: 16px;
}

.language-picker__toggle > :last-child {
	margin-left: auto;
	font-size: 18px;
	line-height: 1;
}

.language-picker__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	display: grid;
	min-width: 166px;
	padding: 5px;
	border: 1px solid var(--line);
	background: #fff;
	box-shadow: var(--shadow);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-4px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.language-picker:hover .language-picker__menu,
.language-picker:focus-within .language-picker__menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.language-picker__menu button {
	padding: 9px 11px;
	border: 0;
	background: #fff;
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	text-align: left;
}

.language-picker__menu button:hover,
.language-picker__menu button.is-active {
	background: var(--accent-soft);
	color: var(--accent-dark);
}

.quote-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 142px;
	height: 42px;
	padding: 0 17px;
	background: #22388c;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	white-space: nowrap;
}

.quote-button:hover {
	background: #182866;
}

.mobile-menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-size: 19px;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 0;
	background-color: var(--ink);
	background-image: var(--hero-image, url("assets/ppt-media/image2.jpeg"));
	background-position: center;
	background-size: cover;
	color: #fff;
}

.hero::before {
	position: absolute;
	inset: 0;
	background: rgba(12, 24, 33, 0.73);
	content: "";
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	align-items: end;
	gap: 64px;
	width: min(1440px, calc(100% - 64px));
	margin: 0 auto;
}

.hero__content {
	max-width: 770px;
}

.eyebrow {
	margin: 0 0 14px;
	color: #ec9a64;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 760px;
	margin: 0;
	font-size: 56px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.06;
}

.hero__copy {
	max-width: 610px;
	margin: 22px 0 0;
	color: #e1e7e8;
	font-size: 17px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.button--accent {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.button--accent:hover {
	background: #f08b48;
	border-color: #f08b48;
}

.button--light {
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}

.button--light:hover {
	background: var(--accent-soft);
	border-color: var(--accent-soft);
}

.hero__aside {
	align-self: end;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding-bottom: 34px;
}

.hero-stat {
	padding-top: 18px;
	border-top: 1px solid #556068;
}

.hero-stat strong {
	display: block;
	font-size: 29px;
	font-weight: 700;
	line-height: 1;
}

.hero-stat span {
	display: block;
	margin-top: 8px;
	color: #aeb9bd;
	font-size: 12px;
}

.hero__trust {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin-top: 72px;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(12, 24, 33, 0.58);
}

.hero-trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	padding: 12px max(18px, calc((100vw - 1440px) / 2));
	border-right: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.hero-trust-item:last-child {
	border-right: 0;
}

.hero-trust-item strong {
	color: #f2a16c;
	font-size: 11px;
}

.intro-section {
	padding: 64px 0 68px;
	background: var(--surface);
}

.intro-heading {
	display: grid;
	grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
	align-items: start;
	gap: 38px;
	margin-bottom: 42px;
}

.intro-heading .eyebrow {
	margin-top: 6px;
	color: var(--accent-dark);
}

.intro-heading h2 {
	max-width: 760px;
	margin: 0;
	font-size: 34px;
	line-height: 1.12;
}

.intro-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.intro-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	padding: 24px 0 0;
	border-top: 1px solid var(--line);
}

.intro-number {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.intro-item h3 {
	margin: 2px 0 8px;
	font-size: 17px;
	line-height: 1.2;
}

.intro-item p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.catalog-section {
	padding: 70px 0 100px;
}

.container {
	width: min(1440px, calc(100% - 64px));
	margin: 0 auto;
}

.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin-bottom: 28px;
}

.section-heading h2 {
	margin: 0;
	font-size: 36px;
	line-height: 1.1;
}

.section-heading__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted);
	font-size: 13px;
}

.sort-select,
.filter-field select,
.filter-field input {
	width: 100%;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: var(--surface);
	color: var(--ink);
	outline: none;
}

.sort-select {
	width: 150px;
	padding: 0 12px;
}

.sort-select:focus,
.filter-field select:focus,
.filter-field input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(216, 107, 43, 0.12);
}

.filter-categories {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: -22px -22px 24px;
	padding: 24px 22px 22px;
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.filter-categories__label {
	margin: 0 4px 10px;
	color: #555e63;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.filter-category {
	display: block;
	width: 100%;
	min-height: 50px;
	padding: 13px 14px;
	border: 0;
	border-left: 4px solid transparent;
	border-radius: 4px;
	background: var(--surface);
	color: #566066;
	font-size: 16px;
	font-weight: 800;
	text-align: left;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-category:hover,
.filter-category.is-active {
	background: #e97122;
	border-left-color: #bd5313;
	color: #fff;
}

.catalog-layout {
	display: grid;
	grid-template-columns: 292px minmax(0, 1fr);
	align-items: start;
	gap: 42px;
}

.filter-panel {
	position: sticky;
	top: 104px;
	z-index: 10;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 8px 24px rgba(30, 37, 42, 0.07);
}

.filter-panel__heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.filter-panel__heading h3 {
	margin: 0;
	font-size: 17px;
}

.filter-reset {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 800;
}

.filter-field {
	display: block;
	margin-top: 15px;
}

.filter-field span {
	display: block;
	margin-bottom: 6px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
}

.filter-field select,
.filter-field input {
	padding: 0 11px;
}

.filters-toggle {
	display: none;
	width: 100%;
	margin-bottom: 12px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: var(--surface);
	color: var(--ink);
	font-weight: 800;
}

.catalog-results {
	min-width: 0;
}

.results-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 32px;
	margin-bottom: 18px;
	color: var(--muted);
	font-size: 13px;
}

.results-bar strong {
	color: var(--ink);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.product-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #d9ddda;
}

.product-card__media.is-fallback::after {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #6d777a;
	content: "HUATUO";
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.16em;
}

.product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 250ms ease;
}

.product-card:hover .product-card__media img {
	transform: scale(1.035);
}

.product-card__status {
	position: absolute;
	top: 13px;
	left: 13px;
	padding: 5px 8px;
	border-radius: 3px;
	background: var(--success);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.product-card__status.is-pending {
	background: #6e777a;
}

.product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}

.product-card__type {
	margin: 0 0 7px;
	color: var(--accent-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.product-card h3 {
	min-height: 50px;
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
}

.product-card__summary {
	display: -webkit-box;
	overflow: hidden;
	margin: 10px 0 16px;
	color: var(--muted);
	font-size: 13px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.product-card__meta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	padding: 13px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.product-card__meta div {
	min-width: 0;
}

.product-card__meta span {
	display: block;
	overflow: hidden;
	color: var(--muted);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-card__meta strong {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 800;
}

.product-card__actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
	padding-top: 16px;
}

.button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 40px;
	padding: 9px 13px;
	border: 1px solid var(--ink);
	border-radius: 5px;
	font-size: 12px;
	font-weight: 800;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button--primary {
	flex: 1;
	background: var(--ink);
	color: #fff;
}

.button--primary:hover {
	background: var(--accent);
	border-color: var(--accent);
}

.button--secondary {
	background: transparent;
	color: var(--ink);
}

.button--secondary:hover {
	background: var(--accent-soft);
	border-color: var(--accent);
}

.no-results {
	padding: 48px 24px;
	border: 1px dashed #b9c1c2;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.55);
	color: var(--muted);
	text-align: center;
}

.is-hidden {
	display: none !important;
}

.product-modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(20, 26, 29, 0.68);
}

.product-modal__dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
	width: min(980px, 100%);
	max-height: min(750px, calc(100vh - 48px));
	overflow: auto;
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.product-modal__media {
	min-height: 360px;
	background: #d9ddda;
}

.product-modal__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

.product-modal__content {
	padding: 38px;
}

.product-modal__content h2 {
	margin: 0 0 10px;
	font-size: 34px;
	line-height: 1.1;
}

.product-modal__content p {
	color: var(--muted);
}

.product-modal__specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 26px 0;
}

.product-modal__spec {
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 5px;
}

.product-modal__spec span {
	display: block;
	color: var(--muted);
	font-size: 11px;
}

.product-modal__spec strong {
	display: block;
	margin-top: 3px;
	font-size: 14px;
}

.modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--ink);
	font-size: 22px;
	line-height: 1;
}

.modal-close:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.site-footer {
	padding: 26px 0;
	border-top: 1px solid var(--line);
	background: var(--surface);
	color: var(--muted);
	font-size: 12px;
}

.site-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	width: min(1440px, calc(100% - 64px));
	margin: 0 auto;
}

.product-single {
	padding: 58px 0 100px;
}

.product-single__back {
	display: inline-block;
	margin-bottom: 28px;
	color: var(--accent-dark);
	font-size: 13px;
	font-weight: 800;
}

.product-single__layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
	gap: 44px;
	align-items: start;
}

.product-single__media {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	background: #d9ddda;
}

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

.product-single__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #6d777a;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.16em;
}

.product-single__content {
	padding-top: 20px;
}

.product-single__content h1 {
	margin: 0;
	font-size: 52px;
	line-height: 1.05;
}

.product-single__summary {
	max-width: 580px;
	margin: 22px 0 0;
	color: var(--muted);
	font-size: 17px;
}

.product-single__description {
	max-width: 760px;
	margin-top: 54px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
	.site-header__top-inner,
	.site-header__main-inner {
		width: min(100% - 40px, 960px);
	}

	.site-nav {
		display: none;
	}

	.quote-button {
		margin-left: auto;
	}

	.mobile-menu-toggle {
		display: block;
	}

	.site-header.is-menu-open .site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 10px 20px 16px;
		border-top: 1px solid var(--line);
		background: #fff;
		box-shadow: 0 12px 22px rgba(30, 37, 42, 0.12);
	}

	.site-header.is-menu-open .site-nav a {
		padding: 10px 0;
	}

	.site-header.is-menu-open .site-nav a::after {
		display: none;
	}

	.hero h1 {
		font-size: 46px;
	}

	.intro-heading {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.site-header__top-inner,
	.site-header__main-inner,
	.hero__inner,
	.container,
	.site-footer__inner {
		width: min(100% - 32px, 680px);
	}

	.site-header__top-inner {
		flex-wrap: wrap;
		gap: 12px 18px;
		padding: 12px 0;
	}

	.header-search {
		order: 2;
		width: 100%;
	}

	.social-links {
		display: none;
	}

	.site-header__main-inner {
		min-height: 72px;
		gap: 14px;
	}

	.hero {
		padding: 56px 0 52px;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.hero__aside {
		max-width: 560px;
		padding-bottom: 0;
	}

	.hero__trust {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-trust-item {
		padding: 12px 16px;
	}

	.hero h1 {
		font-size: 40px;
	}

	.catalog-section {
		padding: 48px 0 70px;
	}

	.intro-section {
		padding: 48px 0 54px;
	}

	.intro-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
	}

	.catalog-layout {
		display: block;
	}

	.filters-toggle {
		display: block;
	}

	.filter-panel {
		display: none;
		position: relative;
		top: auto;
		margin-bottom: 18px;
	}

	.filter-panel.is-open {
		display: block;
	}

	.product-modal__dialog {
		grid-template-columns: 1fr;
	}

	.product-single__layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.product-modal__media,
	.product-modal__media img {
		min-height: 240px;
		max-height: 300px;
	}
}

@media (max-width: 560px) {
	.site-header__top-inner,
	.site-header__main-inner,
	.hero__inner,
	.container,
	.site-footer__inner {
		width: calc(100% - 24px);
	}

	.brand {
		font-size: 16px;
	}

	.language-picker__toggle {
		min-width: 138px;
		padding: 0 10px;
		font-size: 12px;
	}

	.header-search input {
		min-width: 0;
		flex: 1;
	}

	.header-search__submit {
		padding: 0 12px;
	}

	.hero h1 {
		font-size: 34px;
	}

	.hero__aside {
		gap: 10px;
	}

	.hero-stat strong {
		font-size: 23px;
	}

	.hero__trust {
		grid-template-columns: 1fr;
	}

	.hero-trust-item {
		min-height: 56px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.hero-trust-item:last-child {
		border-bottom: 0;
	}

	.section-heading h2 {
		font-size: 29px;
	}

	.results-bar {
		align-items: start;
		flex-direction: column;
	}

	.product-grid {
		grid-template-columns: 1fr;
	}

	.product-modal {
		padding: 12px;
	}

	.product-modal__content {
		padding: 28px 20px;
	}

	.product-modal__content h2 {
		font-size: 27px;
	}

	.product-single__content h1 {
		font-size: 38px;
	}

	.site-footer__inner {
		flex-direction: column;
	}
}

/* Homepage direction: dark navigation, bright hero and category strip. */
.site-header {
	background: #132b42;
	border-bottom: 0;
	box-shadow: none;
}

.site-header__top {
	display: none;
}

.site-header__main {
	background: #132b42;
}

.site-header__main-inner {
	min-height: 78px;
	gap: 25px;
}

.brand {
	color: #fff;
}

.brand-mark {
	background: #f58220;
}

.brand span {
	color: #b9c9d8;
}

.site-nav {
	color: #fff;
}

.site-nav a:hover,
.site-nav a.is-current {
	color: #fff;
}

.site-nav a::after {
	background: #f58220;
	bottom: -28px;
}

.nav-chevron {
	color: #f58220;
}

.header-search {
	width: 218px;
	margin-left: auto;
}

.header-search input {
	width: 100%;
	height: 36px;
	padding-left: 38px;
	border: 1px solid #d3dde7;
	border-radius: 3px;
	background: #fff;
	color: var(--ink);
	font-size: 12px;
}

.header-search__icon {
	left: 13px;
	font-size: 20px;
}

.header-search input:focus {
	border-color: #f58220;
	box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.2);
}

.header-search__submit {
	display: none;
}

.language-picker {
	margin-left: 0;
}

.language-picker__toggle {
	min-width: auto;
	height: 36px;
	padding: 0 3px 0 8px;
	background: transparent;
	color: #fff;
	font-size: 13px;
}

.language-picker__flag {
	color: #fff;
	font-size: 20px;
}

.language-picker__toggle > :last-child {
	display: none;
}

.quote-button {
	min-width: 116px;
	height: 36px;
	background: #f58220;
	font-size: 12px;
}

.quote-button:hover {
	background: #ff9a42;
}

.mobile-menu-toggle {
	border-color: rgba(255, 255, 255, 0.28);
	background: transparent;
	color: #fff;
}

.hero {
	min-height: 510px;
	padding: 0;
	background-color: #dce9f3;
	background-position: center right;
	background-size: cover;
	color: #132b42;
}

.hero::before {
	background:
		linear-gradient(90deg, rgba(246, 250, 253, 0.98) 0%, rgba(246, 250, 253, 0.95) 27%, rgba(246, 250, 253, 0.68) 46%, rgba(246, 250, 253, 0.05) 73%, rgba(246, 250, 253, 0) 100%);
}

.hero__inner {
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	min-height: 510px;
}

.hero__content {
	max-width: 680px;
	padding: 54px 0 96px;
}

.hero h1 {
	max-width: 670px;
	color: #132b42;
	font-size: clamp(42px, 4.2vw, 68px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 0.98;
	text-transform: uppercase;
}

.hero__copy {
	max-width: 520px;
	margin-top: 22px;
	color: #536273;
	font-size: 17px;
}

.hero .eyebrow {
	color: #f58220;
}

.hero__actions {
	margin-top: 28px;
}

.hero .button {
	min-height: 48px;
	padding: 12px 20px;
	border-radius: 4px;
	font-size: 13px;
	text-transform: uppercase;
}

.hero .button--accent {
	background: #f58220;
	border-color: #f58220;
}

.hero .button--light {
	border-color: #f58220;
	color: #f58220;
}

.hero .button--light:hover {
	background: #fff3e8;
	border-color: #f58220;
}

.hero__aside {
	display: none;
}

.hero__trust {
	position: absolute;
	bottom: 20px;
	left: max(32px, calc((100vw - 1440px) / 2));
	display: flex;
	grid-template-columns: none;
	width: min(700px, calc(100% - 64px));
	gap: 0;
	margin: 0;
	border-top: 0;
	background: transparent;
}

.hero-trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 22px;
	border-right: 1px solid rgba(19, 43, 66, 0.34);
	color: #19354f;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.hero-trust-item:first-child {
	padding-left: 0;
}

.hero-trust-item:last-child {
	border-right: 0;
}

.hero-trust-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: #19354f;
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
}

.hero-trust-icon--image {
	display: block;
	object-fit: contain;
}

.brand-logo {
	display: block;
	width: auto;
	max-width: 190px;
	height: 44px;
	object-fit: contain;
}

.home-category-section {
	padding: 23px 0 28px;
	background: #fff;
}

.home-category-heading {
	margin-bottom: 8px;
}

.home-category-heading .eyebrow {
	margin: 0;
	color: #19354f;
	font-size: 16px;
	letter-spacing: 0;
}

.home-category-heading .eyebrow::after {
	display: block;
	width: 40px;
	height: 3px;
	margin-top: 8px;
	background: #f58220;
	content: "";
}

.home-category-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border-top: 1px solid #edf0f3;
}

.home-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 142px;
	padding: 10px 12px 4px;
	border: 0;
	border-right: 1px solid #dce3e9;
	background: #fff;
	color: #19354f;
	font-size: 15px;
	font-weight: 800;
	text-align: center;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-category-card:last-child {
	border-right: 0;
}

.home-category-card:hover {
	background: #fff8f1;
	color: #e56d12;
	transform: translateY(-2px);
}

.home-category-card img {
	display: block;
	width: 100%;
	height: 88px;
	object-fit: contain;
}

.home-category-card span {
	display: block;
	margin-top: 4px;
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.site-header__main-inner {
		gap: 16px;
	}

	.site-nav {
		gap: 17px;
		font-size: 13px;
	}

	.header-search {
		width: 165px;
	}

	.quote-button {
		min-width: 104px;
		padding: 0 10px;
	}
}

@media (max-width: 820px) {
	.site-header__main-inner {
		min-height: 70px;
	}

	.site-nav {
		color: var(--ink);
	}

	.site-header.is-menu-open .site-nav {
		background: #fff;
	}

	.header-search {
		display: none;
	}

	.language-picker {
		margin-left: auto;
	}

	.hero {
		min-height: 570px;
		background-position: 62% center;
	}

	.hero::before {
		background: linear-gradient(90deg, rgba(246, 250, 253, 0.97) 0%, rgba(246, 250, 253, 0.88) 52%, rgba(246, 250, 253, 0.18) 100%);
	}

	.hero__inner {
		min-height: 570px;
	}

	.hero__content {
		padding: 52px 0 140px;
	}

	.hero h1 {
		font-size: 43px;
	}

	.hero__trust {
		right: 16px;
		bottom: 18px;
		left: 16px;
		width: auto;
	}

	.hero-trust-item {
		flex: 1;
		padding: 0 10px;
		font-size: 10px;
	}

	.hero-trust-item:first-child {
		padding-left: 0;
	}

	.hero-trust-icon {
		width: 28px;
		font-size: 22px;
	}

	.home-category-grid {
		overflow-x: auto;
		grid-template-columns: repeat(7, 132px);
	}

	.home-category-card {
		min-height: 130px;
		padding-right: 8px;
		padding-left: 8px;
		font-size: 13px;
	}

	.home-category-card img {
		height: 78px;
	}
}

@media (max-width: 560px) {
	.site-header__main-inner {
		width: calc(100% - 24px);
	}

	.brand {
		font-size: 15px;
	}

	.brand-mark {
		width: 30px;
		height: 30px;
	}

	.quote-button {
		display: none;
	}

	.hero {
		min-height: 590px;
	}

	.hero__inner {
		width: calc(100% - 24px);
		min-height: 590px;
	}

	.hero__content {
		padding-top: 48px;
	}

	.hero h1 {
		font-size: 36px;
	}

	.hero__copy {
		font-size: 15px;
	}

	.hero__actions {
		align-items: stretch;
		flex-direction: column;
		max-width: 230px;
	}

	.hero .button {
		width: 100%;
	}

	.hero__trust {
		display: grid;
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.hero-trust-item,
	.hero-trust-item:first-child {
		justify-content: flex-start;
		padding: 0;
		border-right: 0;
	}

	.home-category-heading,
	.home-category-grid {
		width: calc(100% - 24px);
		margin-right: auto;
		margin-left: auto;
	}
}

/* Home category controls */
.home-category-grid {
	position: relative;
}

.home-category-card {
	position: relative;
	padding: 0;
}

.home-category-trigger {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 142px;
	padding: 10px 12px 4px;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 800;
	text-align: center;
}

.home-category-trigger:focus-visible {
	position: relative;
	z-index: 2;
	outline: 3px solid rgba(216, 107, 43, 0.28);
	outline-offset: -3px;
}

@media (max-width: 820px) {
	.home-category-grid {
		overflow-x: auto;
		align-items: start;
		padding-bottom: 2px;
	}

	.home-category-card {
		align-items: stretch;
		min-height: 0;
	}

	.home-category-trigger {
		min-height: 130px;
		padding-right: 8px;
		padding-left: 8px;
		font-size: 13px;
	}

	.home-category-card:hover {
		transform: none;
	}
}
