/*
Theme Name: Mercasol Protection Lab
Theme URI: https://mercasol.ie/
Author: Mercasol Ireland
Description: A cinematic, high-performance WooCommerce storefront for Mercasol Ireland.
Version: 0.1.0
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: mercasol
*/

:root {
	--ink: #0b0b0a;
	--ink-soft: #171715;
	--graphite: #242321;
	--steel: #6e6a64;
	--mist: #c7c3bb;
	--paper: #f2efe8;
	--paper-deep: #e8e3da;
	--white: #fff;
	--mercasol-red: #981d23;
	--mercasol-red-bright: #bf292f;
	--falu-red: #801818;
	--swedish-gold: #e9a23b;
	--auson-orange: #ea580c;
	--tar: #6b4423;
	--success: #2f6f4e;
	--font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif; /* AUSON-FIX 2026-07-25: match auson.ie */
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* AUSON-FIX 2026-07-25: match auson.ie */
	--container: min(1440px, calc(100vw - 48px));
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--shadow-deep: 0 36px 90px rgba(0, 0, 0, .32);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body::before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
	content: "";
	inset: 0;
	opacity: .16;
	pointer-events: none;
	position: fixed;
	z-index: 9999;
}

body.admin-bar .site-header {
	top: 32px;
}

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

img {
	display: block;
	height: auto;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

:focus-visible {
	outline: 3px solid var(--swedish-gold);
	outline-offset: 4px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.site-shell {
	margin-inline: auto;
	width: var(--container);
}

.site-main {
	overflow: clip;
}

.skip-link {
	background: var(--swedish-gold);
	color: var(--ink);
	font-weight: 800;
	left: 16px;
	padding: 12px 18px;
	position: fixed;
	top: -100px;
	z-index: 10000;
}

.skip-link:focus {
	top: 16px;
}

.site-header {
	background: rgba(11, 11, 10, .9);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	color: var(--white);
	position: sticky;
	top: 0;
	z-index: 1000;
	-webkit-backdrop-filter: blur(20px) saturate(130%);
	backdrop-filter: blur(20px) saturate(130%);
}

.header-utility {
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .72);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .13em;
	padding: 8px 0;
	text-transform: uppercase;
}

.header-utility .site-shell,
.header-main .site-shell {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.utility-proof {
	align-items: center;
	display: inline-flex;
	gap: 9px;
}

.utility-proof::before {
	background: var(--swedish-gold);
	border-radius: 999px;
	box-shadow: 0 0 18px rgba(233, 162, 59, .7);
	content: "";
	height: 7px;
	width: 7px;
}

.utility-links {
	display: flex;
	gap: 24px;
}

.utility-links a:hover {
	color: var(--swedish-gold);
}

.header-main {
	padding: 13px 0;
}

.brand-lockup {
	align-items: center;
	display: flex;
	gap: 13px;
	min-width: 192px;
	position: relative;
}

.brand-symbol {
	filter: drop-shadow(0 10px 18px rgba(152, 29, 35, .3));
	height: 42px;
	object-fit: contain;
	width: auto;
}

.brand-word {
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: .025em;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand-country {
	border-left: 1px solid rgba(255, 255, 255, .25);
	color: rgba(255, 255, 255, .64);
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .18em;
	line-height: 1.3;
	padding-left: 12px;
	text-transform: uppercase;
}

/* AUSON-FIX 2026-07-28: official Noxudol logo stacked above the Mercasol wordmark
   in the shared brand lockup (header + footer). Doubled selector so the height
   also beats WooCommerce's `.woocommerce-page img { height: auto }`. */
.brand-stack {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* width:0 + min-width:100% = the image doesn't set the stack's width; the
   MERCASOL wordmark does, and the Noxudol logo stretches to exactly match it. */
.brand-lockup .brand-noxudol {
	height: auto;
	min-width: 100%;
	width: 0;
}

.brand-stack .brand-word {
	line-height: 1;
}

.primary-navigation ul {
	align-items: center;
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation a {
	border-radius: 99px;
	display: block;
	font-size: .84rem;
	font-weight: 700;
	padding: 10px 13px;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	background: rgba(255, 255, 255, .1);
	color: var(--swedish-gold);
}

.header-actions {
	align-items: center;
	display: flex;
	gap: 7px;
}

.icon-action,
.menu-toggle {
	align-items: center;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;
	color: var(--white);
	display: inline-flex;
	height: 42px;
	justify-content: center;
	position: relative;
	transition: transform .25s var(--ease-out), background .25s ease;
	width: 42px;
}

.icon-action:hover,
.menu-toggle:hover {
	background: rgba(255, 255, 255, .14);
	transform: translateY(-2px);
}

.icon-action svg,
.menu-toggle svg {
	height: 18px;
	width: 18px;
}

.cart-count {
	align-items: center;
	background: var(--swedish-gold);
	border: 2px solid var(--ink);
	border-radius: 999px;
	color: var(--ink);
	display: flex;
	font-size: .62rem;
	font-weight: 900;
	height: 19px;
	justify-content: center;
	position: absolute;
	right: -4px;
	top: -5px;
	width: 19px;
}

.menu-toggle {
	display: none;
}

.hero-lab {
	background:
		linear-gradient(90deg, rgba(5, 5, 4, .9) 0%, rgba(7, 7, 6, .7) 34%, rgba(8, 8, 7, .18) 64%, rgba(8, 8, 7, .08) 100%),
		linear-gradient(180deg, rgba(5, 5, 4, .18) 0%, transparent 36%, transparent 72%, rgba(5, 5, 4, .32) 100%),
		url("assets/images/mercasol-rust-fog-bg-v1.jpg") center / cover no-repeat,
		#080807;
	color: var(--white);
	min-height: 760px;
	overflow: hidden;
	padding: clamp(72px, 9vw, 140px) 0 82px;
	position: relative;
}

.hero-lab::before {
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 72px 72px;
	content: "";
	inset: 0;
	mask-image: linear-gradient(to right, black, transparent 72%);
	position: absolute;
}

.hero-lab::after {
	background-image: url("assets/images/mercasol-range-cutout-v1.png");
	background-position: right 1% bottom 54px;
	background-repeat: no-repeat;
	background-size: min(54vw, 840px) auto;
	content: "";
	filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .42));
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: clamp(40px, 6vw, 100px);
	grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
	position: relative;
	z-index: 2;
}

.hero-grid > * {
	min-width: 0;
}

.eyebrow {
	align-items: center;
	color: var(--swedish-gold);
	display: inline-flex;
	font-size: .72rem;
	font-weight: 900;
	gap: 10px;
	letter-spacing: .18em;
	margin-bottom: 24px;
	max-width: 100%;
	text-transform: uppercase;
}

.eyebrow::before {
	background: currentColor;
	content: "";
	height: 2px;
	width: 32px;
}

.hero-copy h1 {
	font-family: var(--font-display);
	font-size: clamp(4.2rem, 8.2vw, 8.6rem);
	font-stretch: condensed;
	font-weight: 900;
	letter-spacing: -.055em;
	line-height: .82;
	margin: 0;
	max-width: 760px;
	text-transform: uppercase;
}

.hero-copy h1 em {
	color: var(--mercasol-red-bright);
	font-style: normal;
	-webkit-text-stroke: 1px rgba(255,255,255,.1);
}

.hero-intro {
	color: rgba(255, 255, 255, .72);
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	max-width: 620px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
	align-items: center;
	background: var(--mercasol-red);
	border: 1px solid var(--mercasol-red);
	border-radius: 999px;
	color: var(--white);
	display: inline-flex;
	font-size: .78rem;
	font-weight: 900;
	justify-content: center;
	letter-spacing: .08em;
	min-height: 50px;
	padding: 13px 24px;
	text-transform: uppercase;
	transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease;
}

.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover {
	background: var(--mercasol-red-bright);
	box-shadow: 0 14px 34px rgba(152, 29, 35, .3);
	color: var(--white);
	transform: translateY(-3px);
}

.button-outline {
	background: transparent;
	border-color: rgba(255, 255, 255, .32);
}

.button-outline:hover {
	background: rgba(255, 255, 255, .1);
	box-shadow: none;
}

.hero-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 28px;
	margin-top: 46px;
}

.hero-proof span {
	align-items: center;
	color: rgba(255, 255, 255, .66);
	display: inline-flex;
	font-size: .77rem;
	font-weight: 700;
	gap: 8px;
}

.hero-proof span::before {
	background: var(--swedish-gold);
	border-radius: 50%;
	content: "";
	height: 6px;
	width: 6px;
}

.product-stage {
	height: 560px;
	position: relative;
}

.range-portrait {
	display: block;
	inset: 4% 0;
	position: absolute;
}

.marquee {
	background: var(--swedish-gold);
	border-bottom: 1px solid var(--ink);
	border-top: 1px solid var(--ink);
	color: var(--ink);
	overflow: hidden;
	padding: 12px 0;
	white-space: nowrap;
}

.marquee-track {
	align-items: center;
	display: flex;
	gap: 34px;
	min-width: max-content;
	will-change: transform;
}

.marquee-track span {
	font-family: var(--font-display);
	font-size: .84rem;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.marquee-track i {
	background: var(--ink);
	border-radius: 50%;
	display: block;
	height: 6px;
	width: 6px;
}

.section {
	padding: clamp(74px, 9vw, 140px) 0;
}

.section-dark {
	background: var(--ink);
	color: var(--white);
}

.section-heading {
	align-items: end;
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
	margin-bottom: clamp(40px, 6vw, 76px);
}

.section-heading h2,
.trade-copy h2,
.system-copy h2 {
	font-family: var(--font-display);
	font-size: clamp(3.2rem, 6vw, 6.8rem);
	font-stretch: condensed;
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: .88;
	margin: 0;
	text-transform: uppercase;
}

.section-heading p,
.system-copy > p,
.trade-copy > p {
	color: var(--steel);
	font-size: 1.05rem;
	margin: 0;
}

.section-dark .section-heading p,
.section-dark .system-copy > p,
.section-dark .trade-copy > p {
	color: rgba(255,255,255,.62);
}

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

.collection-card {
	background: var(--paper-deep);
	border: 1px solid rgba(11,11,10,.12);
	border-radius: 26px;
	box-shadow: 0 20px 50px rgba(35,30,24,.08);
	min-height: 430px;
	overflow: hidden;
	padding: 32px;
	perspective: 900px;
	position: relative;
	transition: transform .45s var(--ease-out), box-shadow .45s ease;
}

.collection-card:hover {
	box-shadow: 0 34px 80px rgba(35,30,24,.16);
	transform: translateY(-10px);
}

.collection-card::before {
	background: linear-gradient(135deg, rgba(255,255,255,.7), transparent 60%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.collection-index {
	color: var(--mercasol-red);
	font-family: var(--font-display);
	font-size: .84rem;
	font-weight: 900;
	letter-spacing: .15em;
	position: relative;
	z-index: 2;
}

.collection-card h3 {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 3.4vw, 4rem);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: .9;
	margin: 18px 0 12px;
	position: relative;
	text-transform: uppercase;
	z-index: 2;
}

.collection-card p {
	color: var(--steel);
	font-size: .9rem;
	max-width: 260px;
	position: relative;
	z-index: 2;
}

.collection-art {
	background: linear-gradient(145deg, #fff, #d9d4cb);
	border-radius: 22px;
	bottom: -35px;
	box-shadow: var(--shadow-deep);
	height: 235px;
	overflow: hidden;
	position: absolute;
	right: -20px;
	transform: rotate(-8deg) translateZ(30px);
	transition: transform .55s var(--ease-out);
	width: 225px;
}

.collection-card:nth-child(2) .collection-art {
	transform: rotate(6deg) translateZ(30px);
}

.collection-card:nth-child(3) .collection-art {
	transform: rotate(-3deg) translateZ(30px);
}

.collection-card:hover .collection-art {
	transform: rotate(0) translate3d(-20px, -18px, 50px);
}

.collection-art img {
	height: 100%;
	object-fit: cover; /* AUSON-FIX 2026-07-29: square photos letterboxed in the taller frame, showing a white strip */
	width: 100%;
}

.card-link {
	align-items: center;
	bottom: 28px;
	display: flex;
	font-size: .75rem;
	font-weight: 900;
	gap: 8px;
	letter-spacing: .08em;
	position: absolute;
	text-transform: uppercase;
	z-index: 3;
}

.system-grid {
	align-items: center;
	display: grid;
	gap: clamp(50px, 8vw, 130px);
	grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
}

.system-copy ol {
	counter-reset: system;
	list-style: none;
	margin: 42px 0 0;
	padding: 0;
}

.system-copy li {
	border-top: 1px solid rgba(255,255,255,.14);
	counter-increment: system;
	display: grid;
	gap: 16px;
	grid-template-columns: 45px 1fr;
	padding: 20px 0;
}

.system-copy li::before {
	color: var(--swedish-gold);
	content: "0" counter(system);
	font-family: var(--font-display);
	font-weight: 900;
}

.system-copy li strong,
.system-copy li span {
	display: block;
}

.system-copy li strong {
	font-size: .95rem;
}

.system-copy li span {
	color: rgba(255,255,255,.55);
	font-size: .83rem;
	margin-top: 4px;
}

.vehicle-lab {
	background:
		radial-gradient(circle at 50% 46%, rgba(152,29,35,.3), transparent 32%),
		linear-gradient(145deg, #242220, #11110f);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 34px;
	box-shadow: var(--shadow-deep);
	min-height: 560px;
	overflow: hidden;
	padding: 30px;
	position: relative;
}

.vehicle-lab::before {
	background-image:
		linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 40px 40px;
	content: "";
	inset: 0;
	position: absolute;
}

.vehicle-lab::after {
	background: linear-gradient(90deg, transparent, rgba(152, 29, 35, .8), rgba(233, 162, 59, .45), transparent);
	bottom: 23%;
	content: "";
	filter: blur(13px);
	height: 12px;
	left: 10%;
	opacity: .72;
	position: absolute;
	right: 10%;
}

.vehicle-visual {
	filter: drop-shadow(0 32px 28px rgba(0, 0, 0, .58));
	height: auto;
	left: 50%;
	max-height: 72%;
	object-fit: contain;
	position: absolute;
	top: 47%;
	transform: translate(-50%, -50%);
	width: 94%;
	z-index: 2;
}

.protection-hotspot {
	align-items: center;
	background: var(--swedish-gold);
	border: 5px solid rgba(233,162,59,.24);
	border-radius: 50%;
	box-shadow: 0 0 0 12px rgba(233,162,59,.08), 0 0 40px rgba(233,162,59,.35);
	color: var(--ink);
	display: flex;
	font-size: .7rem;
	font-weight: 900;
	height: 38px;
	justify-content: center;
	position: absolute;
	width: 38px;
	z-index: 3;
}

.hotspot-cavity { left: 46%; top: 39%; }
.hotspot-underbody { left: 51%; top: 67%; }
.hotspot-maintenance { right: 13%; top: 49%; }

.lab-key {
	bottom: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	left: 24px;
	position: absolute;
	right: 24px;
	z-index: 4;
}

.lab-key a {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 999px;
	color: rgba(255,255,255,.76);
	font-size: .68rem;
	font-weight: 800;
	padding: 8px 12px;
}

.lab-key a:hover {
	background: var(--white);
	color: var(--ink);
}

.products-showcase {
	background: var(--paper-deep);
}

.products-showcase .products,
.woocommerce ul.products {
	display: grid !important;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); /* AUSON-FIX 2026-07-25: denser cards */
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}

.products-showcase .product,
.woocommerce ul.products li.product {
	background: rgba(255,255,255,.6);
	border: 1px solid rgba(11,11,10,.12);
	border-radius: 16px;
	box-shadow: none;
	float: none !important;
	margin: 0 !important;
	overflow: hidden;
	padding: 0 0 16px !important; /* AUSON-FIX 2026-07-27: full-bleed image, no frame */
	position: relative;
	transition: transform .4s var(--ease-out), box-shadow .4s ease;
	width: auto !important;
}

.products-showcase .product:hover,
.woocommerce ul.products li.product:hover {
	box-shadow: 0 28px 60px rgba(35,30,24,.14);
	transform: translateY(-8px);
}

.woocommerce ul.products li.product a img,
.product-placeholder-image {
	aspect-ratio: 1 / 1; /* AUSON-FIX 2026-07-27: styled photos are square — no cropping */
	background: none;
	border-radius: 0;
	display: block;
	height: auto !important;
	margin: 0 0 12px !important;
	object-fit: cover;
	transition: transform .55s var(--ease-out);
	width: 100% !important;
}

.woocommerce ul.products li.product:hover a img,
.fallback-product:hover .product-placeholder-image {
	transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.fallback-product h3 {
	font-family: var(--font-display);
	font-size: 1rem !important;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.2;
	margin: 0 0 6px !important;
	padding: 0 14px !important;
	text-transform: uppercase;
}

.woocommerce ul.products li.product .price,
.fallback-product .price {
	color: var(--mercasol-red) !important;
	font-size: .95rem !important;
	font-weight: 900 !important;
	margin: 0 14px 14px !important;
}

.woocommerce ul.products li.product .button {
	font-size: .68rem;
	margin-left: 14px;
	min-height: 42px;
	padding: 10px 16px;
}

.fallback-products {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fallback-product {
	background: rgba(255,255,255,.6);
	border: 1px solid rgba(11,11,10,.12);
	border-radius: 24px;
	overflow: hidden;
	padding: 18px 18px 22px;
	transition: transform .4s var(--ease-out), box-shadow .4s ease;
}

.fallback-product p {
	color: var(--steel);
	font-size: .82rem;
	min-height: 52px;
}

.trade-section {
	background:
		linear-gradient(110deg, rgba(152,29,35,.92), rgba(83,18,22,.96)),
		var(--falu-red);
	color: var(--white);
	position: relative;
}

.trade-section::after {
	background: repeating-linear-gradient(-45deg, transparent 0 34px, rgba(255,255,255,.05) 34px 36px);
	content: "";
	inset: 0;
	position: absolute;
}

.trade-grid {
	align-items: center;
	display: grid;
	gap: 70px;
	grid-template-columns: 1fr .85fr;
	position: relative;
	z-index: 2;
}

.trade-copy > p {
	color: rgba(255,255,255,.7);
	margin: 24px 0 32px;
	max-width: 650px;
}

.trade-panel {
	background: rgba(11,11,10,.7);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 28px;
	box-shadow: var(--shadow-deep);
	padding: 32px;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.trade-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.trade-panel li {
	align-items: center;
	border-bottom: 1px solid rgba(255,255,255,.12);
	display: flex;
	font-size: .88rem;
	gap: 12px;
	padding: 15px 0;
}

.trade-panel li::before {
	color: var(--swedish-gold);
	content: "↳";
	font-weight: 900;
}

.site-footer {
	background: var(--ink);
	color: rgba(255,255,255,.68);
	padding: 74px 0 28px;
}

.footer-grid {
	display: grid;
	gap: 50px;
	grid-template-columns: 1.25fr repeat(3, minmax(150px, .55fr));
}

.footer-brand p {
	font-size: .83rem;
	max-width: 370px;
}


.footer-title {
	color: var(--white);
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .14em;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links li {
	margin: 10px 0;
}

.footer-links a {
	font-size: .82rem;
}

.footer-links a:hover {
	color: var(--swedish-gold);
}

.footer-bottom {
	align-items: center;
	border-top: 1px solid rgba(255,255,255,.12);
	display: flex;
	font-size: .72rem;
	justify-content: space-between;
	margin-top: 54px;
	padding-top: 24px;
}

.content-shell,
.woocommerce-page .site-main > .site-shell {
	margin-inline: auto;
	padding-block: 64px 100px;
	width: var(--container);
}

.page-header,
.woocommerce-products-header {
	margin-bottom: 50px;
}

.page-header h1,
.woocommerce-products-header__title,
.product_title,
.entry-title {
	font-family: var(--font-display);
	font-size: clamp(3rem, 6vw, 6.4rem);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: .88;
	text-transform: uppercase;
}

.woocommerce .woocommerce-breadcrumb {
	color: var(--steel);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .08em;
	margin: 0 0 30px;
	text-transform: uppercase;
}

.woocommerce div.product {
	display: grid;
	gap: clamp(40px, 6vw, 90px);
	grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
}

.woocommerce div.product div.images img {
	background: linear-gradient(145deg, #fff, var(--paper-deep));
	border: 1px solid rgba(11,11,10,.1);
	border-radius: 28px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--mercasol-red);
	font-size: 1.5rem;
	font-weight: 900;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
	grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: var(--mercasol-red);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: var(--white);
	border-radius: 14px;
	border-top-color: var(--mercasol-red);
}

.woocommerce table.shop_table {
	background: var(--white);
	border-color: rgba(11,11,10,.1);
	border-radius: 18px;
	overflow: hidden;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .quantity .qty,
.woocommerce select {
	background: var(--white);
	border: 1px solid rgba(11,11,10,.2);
	border-radius: 10px;
	min-height: 46px;
	padding: 10px 12px;
}

@media (max-width: 1120px) {
	.primary-navigation {
		background: rgba(11,11,10,.98);
		border-top: 1px solid rgba(255,255,255,.12);
		display: none;
		left: 0;
		padding: 20px 24px 28px;
		position: absolute;
		top: 100%;
		width: 100%;
	}

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

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

	.primary-navigation a {
		border-radius: 10px;
		font-size: 1rem;
		padding: 13px 14px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.hero-grid,
	.system-grid {
		grid-template-columns: 1fr;
	}

	.hero-copy {
		position: relative;
		z-index: 3;
	}

	.product-stage {
		margin: -40px auto 0;
		max-width: 620px;
		width: 100%;
	}

	.hero-lab::after {
		background-position: center bottom 48px;
		background-size: min(78vw, 760px) auto;
	}

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

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

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	:root {
		--container: min(100% - 28px, 720px);
	}

	body.admin-bar .site-header {
		top: 46px;
	}

	.header-utility .site-shell {
		justify-content: center;
	}

	.utility-links,
	.brand-country,
	.header-actions .account-action {
		display: none;
	}


	.brand-symbol {
		height: 34px;
	}

	.brand-word {
		font-size: 1.15rem;
	}

	.header-main {
		padding: 10px 0;
	}

	.hero-lab {
		background:
			linear-gradient(180deg, rgba(6, 6, 5, .82) 0%, rgba(7, 7, 6, .72) 58%, rgba(7, 7, 6, .28) 76%, rgba(7, 7, 6, .3) 100%),
			url("assets/images/mercasol-rust-fog-bg-v1.jpg") 59% center / auto 100% no-repeat,
			#080807;
		min-height: auto;
		padding-top: 72px;
	}

	.hero-lab::after {
		background-position: center bottom 34px;
		background-size: min(100%, 560px) auto;
	}

	.hero-copy h1 {
		font-size: clamp(3.3rem, 16.5vw, 5rem);
	}

	.hero-intro {
		font-size: .98rem;
	}

	.hero-actions .button {
		width: 100%;
	}

	.hero-proof {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.product-stage {
		height: 410px;
		margin: -22px auto -28px;
		width: 100%;
	}

	.range-portrait {
		inset: 3% 0;
	}

	.section-heading,
	.trade-grid,
	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	.section-heading {
		gap: 18px;
	}

	.section-heading h2,
	.trade-copy h2,
	.system-copy h2 {
		font-size: clamp(3rem, 15vw, 5.4rem);
	}

	.collection-grid,
	.fallback-products {
		grid-template-columns: 1fr;
	}

	.collection-card {
		min-height: 390px;
	}

	.vehicle-lab {
		min-height: 400px;
		padding: 16px;
	}

	.vehicle-visual {
		max-height: 75%;
		top: 43%;
		width: 104%;
	}

	.lab-key {
		bottom: 16px;
		left: 16px;
		right: 16px;
	}

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

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}

@media (max-width: 430px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.product-stage {
		height: 330px;
		margin-bottom: -18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* AUSON-FIX 2026-07-25: category picker on shop pages */
.shop-cat-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 26px 0 4px;
}

.shop-cat-nav a {
	border: 1px solid rgba(20, 18, 16, .22);
	border-radius: 999px;
	color: inherit;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 9px 18px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background .2s, color .2s, border-color .2s;
}

.shop-cat-nav a:hover {
	border-color: #981d23;
	color: #981d23;
}

.shop-cat-nav a.is-active {
	background: #981d23;
	border-color: #981d23;
	color: #fff;
}

/* AUSON-FIX 2026-07-25: product data-sheet link */
.tds-link a {
	align-items: center;
	border: 1px solid rgba(20, 18, 16, .3);
	border-radius: 6px;
	display: inline-flex;
	font-size: .85rem;
	font-weight: 700;
	gap: 8px;
	letter-spacing: .03em;
	padding: 10px 16px;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color .2s, color .2s;
}

.tds-link a::before {
	content: "⭳";
	font-size: 1rem;
}

.tds-link a:hover {
	border-color: #981d23;
	color: #981d23;
}

/* AUSON-FIX 2026-07-27: breathing room for Woo pages inside the shell */
.woo-shell {
	padding-bottom: 60px;
}

/* AUSON-FIX 2026-07-27: Woo's clearfix ::before was occupying the first grid cell */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}

/* AUSON-FIX 2026-07-27: variation add-to-cart was falling back to WP purple */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button.single_add_to_cart_button,
button.wp-element-button {
	background: #981d23 !important;
	border-color: #981d23 !important;
	color: #fff !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
	background: #7a161b !important;
}

/* AUSON-FIX 2026-07-27: short description on cards */
.woocommerce ul.products li.product .loop-excerpt {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: rgba(30, 27, 22, .62);
	display: -webkit-box;
	font-size: .8rem;
	line-height: 1.45;
	margin: 0 0 10px;
	overflow: hidden;
	padding: 0 14px;
}

/* AUSON-FIX 2026-07-27: quote form on enquiry products */
.quote-form-wrap {
	background: rgba(255, 255, 255, .65);
	border: 1px solid rgba(11, 11, 10, .12);
	border-radius: 16px;
	margin-top: 26px;
	padding: 22px;
}

.quote-form-wrap h3 {
	margin: 0 0 4px;
}

.quote-form-note {
	color: rgba(30, 27, 22, .62);
	font-size: .875rem;
	margin: 0 0 14px;
}

.quote-form-wrap .ff-el-form-control {
	background: #fff;
	border: 1px solid rgba(11, 11, 10, .2);
	border-radius: 8px;
	padding: 10px 12px;
	width: 100%;
}

.quote-form-wrap .ff-btn-submit {
	background: #981d23 !important;
	border: none;
	border-radius: 999px;
	color: #fff !important;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 12px 26px;
	text-transform: uppercase;
}

/* AUSON-FIX 2026-07-27: news strip + article pages */
.news-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.news-card {
	background: rgba(255, 255, 255, .65);
	border: 1px solid rgba(11, 11, 10, .12);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	text-decoration: none;
	transition: transform .3s var(--ease-out), box-shadow .3s ease;
}

.news-card:hover {
	box-shadow: 0 20px 44px rgba(35, 30, 24, .12);
	transform: translateY(-5px);
}

.news-card h3 {
	color: #981d23;
	font-size: 1.05rem;
	line-height: 1.3;
	margin: 0;
}

.news-card p {
	color: rgba(30, 27, 22, .68);
	font-size: .85rem;
	line-height: 1.5;
	margin: 0;
}

.content-shell {
	margin-inline: auto;
	max-width: 780px;
	padding: 40px 24px 80px;
	width: var(--container);
}

.content-shell article h2 a {
	color: #981d23;
	text-decoration: none;
}

.content-shell article {
	border-bottom: 1px solid rgba(11, 11, 10, .1);
	margin-bottom: 26px;
	padding-bottom: 22px;
}

.content-shell .entry-content p,
.content-shell .entry-content ul {
	line-height: 1.65;
	margin-bottom: 1em;
}

/* AUSON-FIX 2026-07-28: technical library */
.library-header {
	margin: 44px 0 10px;
	max-width: 720px;
}

.library-header p {
	color: rgba(30, 27, 22, .65);
	margin-top: 10px;
}

.library-group {
	margin: 34px 0;
}

.library-card h3 {
	font-size: .98rem;
}

.library-links {
	display: flex;
	gap: 16px;
}

.card-link-muted {
	opacity: .55;
}

.library-cta {
	align-items: flex-start;
	max-width: 640px;
}

/* AUSON-FIX 2026-07-28: library links must not inherit absolute card-link positioning */
.library-card {
	position: relative;
}

.library-card .card-link {
	bottom: auto;
	left: auto;
	position: static;
	right: auto;
	top: auto;
}

.library-links {
	align-items: center;
	margin-top: auto;
}

/* AUSON-FIX 2026-07-28: article images */
.post-hero img {
	border-radius: 16px;
	height: auto;
	margin-bottom: 26px;
	max-width: 100%;
}

.news-thumb img {
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.content-shell article.archive-item {
	display: flex;
	gap: 22px;
}

.archive-thumb {
	flex: 0 0 180px;
}

.archive-thumb img {
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.archive-body {
	flex: 1;
}

@media (max-width: 640px) {
	.content-shell article.archive-item {
		flex-direction: column;
	}

	.archive-thumb {
		flex: none;
		max-width: 260px;
	}
}

/* AUSON-FIX 2026-07-28: news-card links were escaping the cards (absolute .card-link) */
.news-card {
	position: relative;
}

.news-card .card-link {
	bottom: auto;
	left: auto;
	position: static;
	right: auto;
	top: auto;
}
