/* =========================================================
   WordPress / Contact Form 7 bridges
   Keeps the original static design while letting CF7 and the
   block/classic editor output work inside it.
   ========================================================= */

/* CF7 form shell ------------------------------------------------ */
.wpcf7,
.wpcf7 form {
	margin: 0;
}

.wpcf7 form > p {
	margin: 0;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.wpcf7 .form-row {
	display: flex;
	gap: 18px;
}

.wpcf7 .form-row .form-group {
	flex: 1;
}

.wpcf7 label {
	display: block;
}

.wpcf7 .form-group {
	margin-bottom: 16px;
}

/* Submit button matches the original full-width CTA */
.inquiry-form-panel .wpcf7-submit,
.contact-form-wrapper .wpcf7-submit {
	width: 100%;
	padding: 14px;
	font-size: 1.05rem;
	cursor: pointer;
}

.wpcf7-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.wpcf7 .wpcf7-spinner {
	margin: 0 auto 10px;
}

/* Validation + response messages */
.wpcf7-not-valid-tip {
	color: #ffb4a2;
	font-size: 0.78rem;
	margin-top: 4px;
	display: block;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb4a2;
	color: #ffb4a2;
}

.wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
	color: #fff;
}

.contact-form-wrapper .wpcf7-response-output {
	border-color: var(--color-border);
	color: var(--color-text-main);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450;
}

/* Placeholder styling to match the static inputs */
.wpcf7 ::placeholder {
	color: rgba(100, 116, 139, 0.75);
}

/* Classic editor content inside .article-content */
.article-content > * + * {
	margin-top: 18px;
}

.article-content h2,
.article-content h3 {
	margin-top: 34px;
	margin-bottom: 12px;
}

.article-content ul,
.article-content ol {
	margin: 16px 0 16px 22px;
}

.article-content ul li,
.article-content ol li {
	list-style: disc;
	margin-bottom: 8px;
	color: var(--color-text-muted);
	line-height: 1.75;
}

.article-content ol li {
	list-style: decimal;
}

.article-content blockquote {
	margin: 26px 0;
	padding: 20px 26px;
	border-left: 4px solid var(--color-accent);
	background: var(--color-neutral-light);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	font-style: italic;
	color: var(--color-primary);
}

.article-content img {
	border-radius: var(--radius-md);
	margin: 26px 0;
}

.article-content a {
	color: var(--color-accent);
	text-decoration: underline;
}

/* Pagination (news listing) */
.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 45px;
	flex-wrap: wrap;
}

.pagination .page-numbers,
.pagination .page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	background: var(--color-white);
	color: var(--color-primary);
	font-weight: 600;
	font-size: 0.9rem;
}

.pagination .page-numbers.current,
.pagination .page-btn.active {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

/* WordPress core alignment helpers used by editors */
.alignleft {
	float: left;
	margin: 0 22px 14px 0;
}

.alignright {
	float: right;
	margin: 0 0 14px 22px;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* =========================================================
   Mobile header: the original static pages clipped the logo
   text behind the search button at <=640px.
   ========================================================= */
@media (max-width: 640px) {
	.site-header .header-inner {
		gap: 10px;
	}

	.site-logo {
		flex-shrink: 0;
		gap: 0;
	}

	.site-logo .logo-text {
		display: none;
	}

	.brand-logo-img {
		width: 42px;
		height: 42px;
	}

	.header-actions {
		gap: 8px;
		flex-shrink: 0;
		align-items: center;
	}

	.header-actions .btn {
		padding: 8px 14px !important;
		font-size: 0.78rem !important;
		white-space: nowrap;
	}

	.search-btn-trigger {
		width: 38px;
		height: 38px;
	}

	.mobile-menu-btn {
		width: 38px;
		height: 38px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

/* =========================================================
   Responsive fixes for layouts whose children can't shrink
   (CF7 adds wrappers that widen grid/flex items).
   ========================================================= */
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
	max-width: 100%;
}

@media (max-width: 992px) {
	.contact-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 768px) {
	.wpcf7 .form-row {
		flex-direction: column;
		gap: 0;
	}

	.contact-layout > *,
	.article-layout > *,
	.products-layout > * {
		min-width: 0;
	}

	.contact-info-wrapper,
	.contact-form-wrapper {
		padding: 26px 20px;
	}

	/* Product gallery thumbnails: 4 x 90px + gaps overflowed 390px */
	.gallery-thumbs {
		flex-wrap: wrap;
	}

	.thumb-item {
		width: 72px;
		height: 72px;
	}
}

/* Mobile drawer must start below the real header height (base.css hard-codes 82px). */
@media (max-width: 1024px) {
	.nav-menu {
		
		
		
	}
}

/* =========================================================
   Icon images uploaded through ACF.
   Rendered as a mask so they keep the surrounding colour and
   size, exactly like the FontAwesome glyphs they replace.
   ========================================================= */
.zr-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--zr-icon) center / contain no-repeat;
	mask: var(--zr-icon) center / contain no-repeat;
	vertical-align: -0.125em;
	flex: none;
}

.section-tag .zr-icon {
	width: 0.95em;
	height: 0.95em;
}

.hero-stat-item .zr-icon {
	width: 1.1em;
	height: 1.1em;
}

.advantage-icon .zr-icon,
.strength-icon .zr-icon {
	width: 1.25em;
	height: 1.25em;
}

/* Contexts where the original <i> had its own accent colour. */
.hero-stat-item .zr-icon,
.facility-title .zr-icon {
	color: var(--color-accent);
}

/* =========================================================
   Contact Form 7 controls
   - selects/textarea did not inherit 100% width (shorter than inputs)
   - the native option list inherited white text on white background
   ========================================================= */
.wpcf7 input.form-control,
.wpcf7 select.form-control,
.wpcf7 textarea.form-control {
	width: 100%;
	max-width: 100%;
}

.wpcf7 select.form-control {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
	padding-right: 42px;
	cursor: pointer;
	text-overflow: ellipsis;
}

/* Empty required select reads like a placeholder. */
.wpcf7 select.form-control:invalid {
	color: #94a3b8;
}

/* The popup list is painted by the browser/OS: force dark text on white. */
.wpcf7 select.form-control option {
	color: #1f2937;
	background-color: #ffffff;
}

/* Selected values must stay legible inside dark panels. */
.inquiry-form-panel .wpcf7 select.form-control {
	color: #ffffff;
}

/* Placeholder contrast inside the dark inquiry panel. */
.inquiry-form-panel .wpcf7 .form-control::placeholder {
	color: rgba(255, 255, 255, 0.55);
	opacity: 1;
}

.inquiry-form-panel .wpcf7 select.form-control:invalid {
	color: rgba(255, 255, 255, 0.72);
}

/* Message textarea: CF7 defaults to 10 rows (206px), which dominates the form. */
.wpcf7 textarea.form-control {
	height: 120px;
	min-height: 120px;
	max-height: 240px;
	line-height: 1.6;
	resize: vertical;
}

/* Catalog toolbar: the sort control is now a GET form (server-side ordering). */
.toolbar-right .sort-form {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.toolbar-right .sort-form .sort-select {
	margin-bottom: 0;
}

/* Server-rendered pagination uses the same .page-btn look as before. */
.pagination .page-btn {
	text-decoration: none;
}

.pagination .page-btn.dots {
	box-shadow: none;
	border-color: transparent;
	background: transparent;
}

/* =========================================================
   Product detail: "View Details" in Related Cookware Collections.
   product-single.css turned the label into the primary colour but left
   base.css's primary background, so text and background matched.
   ========================================================= */
.single-product .product-inquire-btn {
	background-color: transparent;
	background-image: none;
	color: var(--color-primary);
	border: 1px solid var(--color-border);
}

.single-product .product-inquire-btn:hover {
	background-color: var(--color-primary);
	background-image: none;
	color: var(--color-white);
	border-color: var(--color-primary);
}

.single-product .product-inquire-btn i {
	color: inherit;
}

/* =========================================================
   CF7 puts a <br> between the label and the control, which adds a
   whole empty line (~26px). Remove it and tighten the rhythm.
   ========================================================= */
.wpcf7 .form-group br {
	display: none;
}

.wpcf7 .form-group label {
	display: block;
	margin: 0 0 7px;
	line-height: 1.4;
}

.wpcf7 .form-group p {
	margin: 0;
	line-height: 1.2;
}

.wpcf7 .wpcf7-form-control-wrap {
	line-height: 0;
}

/* Slightly tighter vertical rhythm between form rows (was 36px). */
.wpcf7 .form-group {
	margin-bottom: 0;
}

.wpcf7 .form-row {
	margin-bottom: 24px;
}

.wpcf7 .form-row:last-of-type {
	margin-bottom: 18px;
}

/* Keep breathing room above the submit button after the margin reset. */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
	margin-top: 16px;
}

/* =========================================================
   Mobile navigation drawer
   - the dropdown was hover-only, so product categories never showed
   - restyle items as a clear, tappable list with an expandable parent
   ========================================================= */
@media (max-width: 1024px) {
	.nav-menu {
		
		gap: 0;
	}

	.nav-item {
		width: 100%;
		
	}

	.nav-item:last-child {
		border-bottom: none;
	}

	.nav-item > .nav-link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		
		
		font-size: 1rem;
	}

	.nav-item > .nav-link .fa-chevron-down {
		font-size: 0.8rem;
		margin-left: 10px;
		transition: transform 0.25s ease;
	}

	.nav-item.mobile-dropdown-open > .nav-link {
		color: var(--color-accent);
	}

	.nav-item.mobile-dropdown-open > .nav-link .fa-chevron-down {
		transform: rotate(180deg);
	}

	.nav-item .dropdown-menu {
		display: none;
		position: static;
		
		
		
		
		
	}

	.nav-item.mobile-dropdown-open .dropdown-menu {
		display: block;
	}

	.nav-item .dropdown-item {
		display: block;
		
		
		line-height: 1.35;
		
	}

	.nav-item .dropdown-item:hover,
	.nav-item .dropdown-item:focus {
		
	}
}

/* The drawer used content-box sizing, so its padding pushed items 20px off-screen
   and hid the expand chevron. */
@media (max-width: 1024px) {
	.nav-menu {
		box-sizing: border-box;
		
		
		overflow-x: hidden;
	}

	.nav-item,
	.nav-item > .nav-link,
	.nav-item .dropdown-menu,
	.nav-item .dropdown-item {
		box-sizing: border-box;
		max-width: 100%;
	}

	.nav-item > .nav-link {
		width: 100%;
	}
}

/* The hero slides are 20px wider than the viewport (full-bleed trick), which
   expanded the mobile layout viewport to 426px and pushed the drawer's
   content off-screen. Clip them instead. */
.hero-carousel-section {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.nav-menu {
		/* 100vw includes the scrollbar width on desktop; 100% does not. */
		width: 100%;
		max-width: 100%;
	}
}

/* Safety net: never allow horizontal scrolling on small screens. */
html {
	overflow-x: hidden;
}

/* On phones the product categories are always visible inside the drawer:
   no hover, no tap, no JS required. */
@media (max-width: 1024px) {
	.nav-item .dropdown-menu,
	.nav-item.mobile-dropdown-open .dropdown-menu {
		display: block;
		position: static;
		visibility: visible;
		opacity: 1;
		transform: none;
		padding: 2px 0 10px 10px;
		margin: 0 0 6px;
		border-left: 2px solid var(--color-accent);
		background: transparent;
		box-shadow: none;
	}

	.nav-item > .nav-link .fa-chevron-down {
		display: none;
	}
}

@media (max-width: 1024px) {
	.nav-item .dropdown-menu {
		
		
	}
}

/* =========================================================
   Mobile drawer v2
   - covers the whole screen so the close button can never be
     hidden behind the header
   - product categories restyled as a soft card
   ========================================================= */
@media (max-width: 1024px) {
	.nav-menu {
		
		
		
		
		z-index: 1200;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.nav-menu::before {
		content: "MENU";
		position: absolute;
		
		
		font-size: 0.74rem;
		letter-spacing: 0.18em;
		font-weight: 700;
		color: var(--color-accent);
	}

	.nav-close-btn {
		position: absolute;
		
		
		width: 40px;
		height: 40px;
		
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 1px solid rgba(44, 51, 56, 0.14);
		border-radius: 50%;
		background: #fff;
		color: var(--color-primary);
		font-size: 1rem;
		line-height: 1;
		cursor: pointer;
		z-index: 2;
	}

	.nav-close-btn:hover {
		background: var(--color-primary);
		color: #fff;
		border-color: var(--color-primary);
	}

	.nav-item {
		border-bottom: 1px solid rgba(44, 51, 56, 0.07);
	}

	.nav-item > .nav-link {
		padding: 14px 2px;
		font-weight: 600;
	}

	.nav-item .dropdown-menu {
		padding: 6px 0 8px;
		margin: 0 0 10px;
		border-left: none;
		border-radius: 8px;
		background: rgba(196, 121, 79, 0.06);
	}

	.nav-item .dropdown-item {
		padding: 10px 14px;
		margin: 0 6px;
		border-radius: 6px;
		
		
		transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
	}

	.nav-item .dropdown-item:hover,
	.nav-item .dropdown-item:focus {
		background: rgba(196, 121, 79, 0.12);
		color: var(--color-accent);
		padding-left: 18px;
	}
}

/* The in-drawer button only exists on phones. */
.nav-close-btn {
	display: none;
}

@media (max-width: 1024px) {
	.nav-close-btn {
		display: flex;
	}
}



/* =========================================================
   Drawer v3 — starts below the header (the drawer lives inside the
   header's stacking context, so covering the header hid its close button).
   The drawer ships its own close button; the header burger hides while open.
   ========================================================= */
@media (max-width: 1024px) {
	.nav-menu {
		top: var(--zr-header-offset, 121px) !important;

		/* Keep the vh line: without it, engines that do not know dvh fall back to
		   base.css' 100vh - 82px while top is already 121px, pushing the last
		   items ~39px below the viewport. */
		height: calc(100vh - var(--zr-header-offset, 121px)) !important;
		height: calc(100dvh - var(--zr-header-offset, 121px)) !important;
		padding: 58px 20px 32px;
	}

	.nav-menu::before {
		top: 22px;
		left: 22px;
	}

	.nav-close-btn {
		top: 12px;
		right: 16px;
	}

	body.zr-menu-open .mobile-menu-btn {
		opacity: 0;
		pointer-events: none;
	}

	/* A closed drawer must not paint anything. It parks at left:-100%, which puts
	   its right edge exactly on x=0, so its 40px box-shadow leaked a soft dark
	   band into the left side of the page. */
	.nav-menu {
		visibility: hidden;
		pointer-events: none;
		transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s;
	}

	.nav-menu.mobile-open {
		visibility: visible;
		pointer-events: auto;
		transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
	}
}

@media (max-width: 1024px) {
	.nav-item .dropdown-menu {
		border: none;
		box-shadow: none;
	}

	.nav-item .dropdown-item {
		color: #3f4750;
		font-size: 0.94rem;
	}

	.nav-item .dropdown-item:active {
		background: rgba(196, 121, 79, 0.16);
	}
}

/* The slide-in reveal starts 60px to the right, which made the section 36px
   wider than a phone viewport (body 426px against a 390px screen). Clip the
   section so the animation cannot widen the document. */
.about-section {
	overflow-x: clip;
}

/* =========================================================
   Article body: keep the editor's own formatting.
   Removed the decorative extras the static design added
   (heading rules, coloured quote box, image shadow/radius)
   and made sure editor alignment / captions / tables work.
   ========================================================= */
.article-content h2 {
	border-bottom: none;
	padding-bottom: 0;
}

.article-content blockquote {
	background: none;
	border-left: 3px solid var(--color-border);
	border-radius: 0;
	padding: 4px 0 4px 20px;
	font-style: normal;
	font-size: 1.05rem;
	color: var(--color-text-main);
}

.article-content blockquote p {
	font-style: normal;
}

.article-content img {
	border-radius: 0;
	box-shadow: none;
	margin: 24px 0;
}

/* Editor output support */
.article-content .has-text-align-center,
.article-content .aligncenter {
	text-align: center;
}

.article-content .has-text-align-right,
.article-content .alignright {
	text-align: right;
}

.article-content .alignleft {
	float: left;
	margin: 6px 24px 18px 0;
}

.article-content .alignright {
	float: right;
	margin: 6px 0 18px 24px;
}

.article-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.article-content figure {
	margin: 24px 0;
}

.article-content figcaption {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	text-align: center;
	margin-top: 8px;
}

.article-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 0.95rem;
}

.article-content th,
.article-content td {
	border: 1px solid var(--color-border);
	padding: 10px 12px;
	text-align: left;
}

.article-content th {
	background: #faf7f4;
	font-weight: 600;
}

/* Keep classic-editor alignment classes working too. */
.article-content .wp-caption {
	max-width: 100%;
}

.article-content .wp-caption-text {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	text-align: center;
}

/* Tables typed in the editor: fill the container and follow the window width. */
table {
	width: 100%;
}

/* The homepage about section carries the page H1; neutralise the UA margin so
   the heading keeps the exact H2 spacing of the original design. */
.about-text-content h1.section-title {
	margin-top: 0;
}

/* =========================================================
   P1 accessibility + robustness pass
   ========================================================= */

/* Keyboard focus: base.css removed the outline from form controls, so restore a
   visible ring for keyboard users only. !important because component rules
   (nav links, buttons) set their own outline/border and win on specificity. */
html body :focus-visible {
	outline: 3px solid #a85e38 !important;
	outline-offset: 3px !important;
}

/* On touch devices "hover" never fires, so the caption has to be visible.
   Showing the full 75% cover would darken the photo itself, so the caption sits
   on a bottom gradient instead and leaves the image readable above it. */
@media (hover: none) {
	.product-oem-tag {
		opacity: 1 !important;
		transform: none !important;
	}

	.gallery-overlay {
		opacity: 1 !important;
		transform: none !important;
		justify-content: flex-end;
		padding: 18px 16px;
		background: linear-gradient(
			to top,
			rgba(31, 36, 40, 0.95) 0%,
			rgba(31, 36, 40, 0.72) 34%,
			rgba(31, 36, 40, 0) 64%
		) !important;
	}

	.gallery-overlay h3 {
		transform: none !important;
		font-size: 1rem;
		margin-bottom: 10px;
	}

	.gallery-overlay .btn {
		transform: none !important;
		padding: 8px 18px;
		font-size: 0.82rem;
	}
}

/* Wide tables typed in the editor stay reachable instead of being clipped. */
.specs-table,
.article-content,
.product-brief-desc,
.about-text-left {
	overflow-wrap: break-word;
}

.specs-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Long unbroken strings (emails, model numbers) must not widen the layout. */
body {
	overflow-wrap: break-word;
}

@media (max-width: 640px) {
	/* Long CTA copy wraps instead of spilling out of the pill. */
	.btn {
		white-space: normal;
		text-align: center;
	}
}

/* Desktop dropdown must open for keyboard users too, not only on hover. */
.nav-item:focus-within .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Screen-reader-only text (labels for icon-only controls). */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Home cards are animated from JS (card.style.animation = 'fadeInUp …').
   The keyframes used to be injected at runtime; keep them in CSS instead. */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Safety net: if the carousel script ever fails, a lone hero slide must still
   show — otherwise the section falls back to its dark background. */
.hero-slide:only-child {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	z-index: 2;
}

/* Skip link: hidden until focused, then pinned to the top-left of the viewport. */
.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 10px 18px;
	margin: 0;
	clip: auto;
	clip-path: none;
	white-space: nowrap;
	background: #1f2428;
	color: #fff;
	font-weight: 600;
	border-radius: 6px;
	z-index: 100000;
}

/* Grid/flex children cannot shrink below their content unless min-width is 0;
   long product names or e-mails used to widen the layout above 768px. */
.contact-layout > *,
.article-layout > *,
.products-layout > *,
.news-body,
.news-card,
.product-info,
.footer-col {
	min-width: 0;
}

/* Older engines do not understand :focus-visible, so mirror it with :focus. */
@supports not selector(:focus-visible) {
	html body a:focus,
	html body button:focus,
	html body input:focus,
	html body select:focus,
	html body textarea:focus {
		outline: 3px solid #a85e38 !important;
		outline-offset: 3px !important;
	}
}

/* The accent ring disappears on the dark header, footer and photo heroes. */
.site-header :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible,
.hero-carousel-section :focus-visible,
.contact-info-panel :focus-visible,
.inquiry-info-panel :focus-visible {
	outline-color: #ffffff !important;
}

/* 404 — WordPress falls back to index.php without this template, which renders
   the news loop and contradicts the "Page Not Found" title. */
.not-found-section {
	padding: 90px 0 110px;
	background: var(--color-white);
}

.not-found-state {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.not-found-state > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: rgba(196, 121, 79, 0.12);
	color: var(--color-accent);
	font-size: 2rem;
}

.not-found-state h2 {
	font-family: var(--font-heading);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	color: var(--color-primary);
	margin-bottom: 12px;
}

.not-found-state > p {
	color: var(--color-text-muted);
	margin-bottom: 28px;
}

.not-found-search {
	max-width: 460px;
	margin: 0 auto 32px;
	text-align: left;
}

.not-found-search input[type="search"] {
	width: 100%;
	font-size: 1rem;
	color: var(--color-primary);
	background: transparent;
}

.not-found-search button {
	flex: 0 0 auto;
}

.not-found-links {
	justify-content: center;
}

/* Breadcrumbs are inline-flex and were clipped once the product title made the
   row wider than a 320px viewport. */
.breadcrumb { flex-wrap: wrap; row-gap: 4px; }

/* A landscape phone is ~375px tall, so a fixed 640px hero covered 171% of the
   screen. Cap the minimum against the viewport height instead. */
.hero-carousel-section {
	min-height: min(640px, 88vh);
}

@media (max-height: 560px) {
	.hero-carousel-section {
		min-height: 360px;
	}
}


/* Below the drawer breakpoint the vertical stack sat on top of body copy —
   a 390px screen left only ~50px of the right edge free, so headings ran under
   the buttons. Turn it into a bottom strip and reserve the space it occupies. */
@media (max-width: 1024px) {
	.floating-contact-bar {
		left: 12px;
		right: 12px;
		bottom: 12px;
		flex-direction: row;
		justify-content: center;
		gap: 10px;
	}

	.floating-btn {
		width: 46px;
		height: 46px;
	}

	.float-tooltip {
		display: none;
	}

	body {
		padding-bottom: 76px;
	}
}

/* The sticky header is opaque, so anchored jumps (#main, in-page links) would
   otherwise land underneath it. --zr-header-offset tracks its live height. */
html {
	scroll-padding-top: calc(var(--zr-header-offset, 121px) + 12px);
}

/* The banner source is 1920x735 (2.61:1) and every srcset candidate keeps that
   ratio, but the section was pinned to 78vh at every width — on a 390px phone
   that scaled the image 4.7x and cropped away 79% of it. Below the desktop
   breakpoint the height now follows the image ratio instead. */
@media (max-width: 1024px) {
	.hero-carousel-section {
		height: auto;
		min-height: 0;
		max-height: none;
		aspect-ratio: 1920 / 735;
	}

	.hero-slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

/* The metrics card used to be pulled 50px up over the banner. Once the banner
   scales with the viewport that hides a third of a phone-sized hero, so below
   the desktop breakpoint it simply sits underneath. */
@media (max-width: 1024px) {
	.metrics-bar-section {
		margin-top: 0;
		padding-top: clamp(24px, 4vw, 40px);
	}
}
