/* Frigo Service — minimal custom CSS.
   Prefer Kadence native settings (Customizer / Global Styles / block settings).
   Add small, commented rules here ONLY when Kadence genuinely cannot do it.
   Brand colors/typography are NOT defined here — they live in Global Styles. */

/* ---------------------------------------------------------------------------
   Sticky mobile action bar (Call · WhatsApp · Quote).
   Kadence has no native bottom action bar, so this is one of the few justified
   custom components. Shown on mobile/tablet only; hidden on desktop.
   Colours reference the Kadence global palette vars so they stay in sync.
--------------------------------------------------------------------------- */
.frigo-mobile-bar {
	display: none;
}

@media (max-width: 1024px) {
	.frigo-mobile-bar {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		background: var(--global-palette1, #004392); /* Reefer Navy */
		box-shadow: 0 -10px 30px rgba(6, 21, 33, 0.16);
		padding-bottom: env(safe-area-inset-bottom, 0); /* iPhone home indicator */
	}

	.frigo-mobile-bar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-height: 56px;            /* > 44px tap target */
		padding: 8px 4px;
		color: #fff;
		text-decoration: none;
		font-family: Inter, system-ui, sans-serif;
		font-size: 0.75rem;
		font-weight: 600;
		line-height: 1;
	}

	.frigo-mobile-bar__item:focus-visible {
		outline: 3px solid var(--global-palette6, #38b1ff);
		outline-offset: -3px;
	}

	/* The Quote action gets the orange conversion treatment. */
	.frigo-mobile-bar__quote {
		background: var(--global-palette5, #ffb703); /* Action Amber */
		color: #004392;      /* navy text/icon on amber */
	}

	.frigo-mobile-bar__viber {
		background: #7360f2; /* Viber purple — recognised affordance */
	}

	/* Keep page content clear of the fixed bar. */
	body {
		padding-bottom: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.frigo-mobile-bar * { transition: none !important; }
}

/* ---------------------------------------------------------------------------
   theme.json sets a global navy heading colour and navy links, which override
   the Astro design CSS on the home page (washed-out hero text, dark headings
   on dark bands). These targeted rules let the Astro design win where it must.
   Loaded after home.css so they take precedence.
--------------------------------------------------------------------------- */

/* Hero: white headline + copy over the truck (Astro intent). */
.hero h1,
.hero .hero-copy,
.hero .eyeline,
.hero-cred,
.hero-cred strong,
.hero-cred span {
	color: #fff !important;
}

/* Service-proof band is navy: whiten ONLY the intro heading/kicker/copy that
   sit directly on the navy background — NOT the text inside the white cards
   (.proof-card-grid / .service-capture), which must stay navy/slate. */
.proof-section > .proof-grid > div:first-child h2,
.proof-section > .proof-grid > div:first-child .section-kicker,
.proof-section > .proof-grid > div:first-child p {
	color: #fff !important;
}

/* Restore Astro's dark text inside the white cards. */
.proof-section .proof-card-grid h3,
.proof-section .service-capture h3 {
	color: var(--navy-900, #001d40) !important;
}
.proof-section .proof-card-grid p,
.proof-section .service-capture p {
	color: var(--slate, #44576c) !important;
}
.proof-section .service-capture .urgent {
	color: var(--orange-deep, #b45309) !important;
}
.proof-section .service-capture .service-number {
	color: var(--navy, #004392) !important;
}

/* Final CTA band is navy: white heading. */
.final-cta h2,
.final-cta .section-kicker,
.final-cta .final-reassure span {
	color: #fff !important;
}

/* Site footer (Astro, navy): headings + text + links readable. */
.site-footer h2,
.site-footer p,
.site-footer .footer-bottom span {
	color: #dbe7f3;
}
.site-footer a {
	color: #fff;
	text-decoration: none;
}
.site-footer a:hover {
	color: var(--global-palette6, #38b1ff);
}

/* Hero CTAs: the Astro design clamps these buttons at 270px wide, which the
   longer "Browse truck & trailer bodies" / «Δείτε τους ψυκτικούς θαλάμους»
   labels overflow. On desktop let each button size to its label (≥270px so
   the pair stays balanced); ≤900px the Astro full-width rule still applies. */
@media (min-width: 901px) {
	.hero-actions .button {
		width: auto;
		min-width: 270px;
		max-width: 100%;
	}
}

/* Buttons: theme.json forces orange bg on every .wp-block-button — but the
   Astro buttons use their own classes, so guard against Kadence button colour
   bleeding into the secondary/outline hero buttons. */
.hero-actions .button-secondary,
.final-actions .button-secondary {
	background: #fff;
	color: var(--navy, #004392);
}

/* Nav: WordPress wraps menu items in <li>; the Astro design used bare <a>.
   Strip list markers and inline them so the nav matches the original. */
.desktop-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: clamp(12px, 1vw, 18px);
}
.desktop-nav li,
.mobile-nav li {
	list-style: none;
	margin: 0;
}
.desktop-nav li::marker,
.mobile-nav li::marker {
	content: "";
}

/* ---------------------------------------------------------------------------
   Reefer containers page: WooCommerce products as a fixed 2-per-row grid
   (overrides the Astro 3-col carousel grid). Reuses .reefer-card styling.
--------------------------------------------------------------------------- */
.frigo-product-grid {
	width: min(100% - 40px, 1180px);
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(var(--frigo-cols, 4), minmax(0, 1fr));
	gap: 24px;
}
.frigo-product-grid .reefer-card { flex: initial; min-width: 0; }
.frigo-product-grid .reefer-card h3 { font-size: 1.05rem; }
.frigo-product-grid .reefer-card h3 a { color: inherit; text-decoration: none; }
.frigo-product-grid .frigo-pcard__media { display: block; }
.frigo-product-grid .frigo-pcard__price {
	margin: 0;
	color: var(--navy, #004392);
	font-weight: 800;
	font-size: 1.1rem;
}
.frigo-product-grid .frigo-pcard__price del { color: var(--slate, #44576c); font-weight: 500; }
.frigo-product-grid .reefer-body .button { margin-top: auto; }

/* Tablet: 2 per row. Mobile: single column. */
@media (max-width: 1024px) {
	.frigo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.frigo-product-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   GDPR cookie-consent banner (fixed bottom; above mobile action bar).
--------------------------------------------------------------------------- */
.frigo-consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1000;
	background: #fff;
	border: 1px solid var(--border, #c7d8e8);
	border-radius: 10px;
	box-shadow: 0 18px 48px rgba(6, 21, 33, 0.18);
	padding: 16px 18px;
}
.frigo-consent__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.frigo-consent__text {
	margin: 0;
	color: var(--ink, #061521);
	font-size: 0.9rem;
	line-height: 1.45;
	flex: 1 1 320px;
}
.frigo-consent__text a { color: var(--navy, #004392); }
.frigo-consent__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.frigo-consent__btn {
	min-height: 42px;
	padding: 0 18px;
	border-radius: 6px;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	border: 1px solid var(--border, #c7d8e8);
}
/* Accept is the primary action and looks it — filled brand amber, heavier type,
   a lift. "Essential only" stays a real, comfortable button at the SAME height
   and tap target: burying the reject option is itself a dark pattern and is
   penalised the same way tracking-without-consent is. Emphasis, not obstruction. */
.frigo-consent__btn--ghost {
	background: #fff;
	color: var(--navy, #004392);
	font-weight: 600;
}
.frigo-consent__btn--ghost:hover { background: var(--frost, #e6f4f8); }
.frigo-consent__btn--accept {
	background: var(--orange, #ffb703);
	color: #004392;
	border-color: var(--orange, #ffb703);
	font-size: 0.95rem;
	font-weight: 800;
	padding: 0 26px;
	box-shadow: 0 6px 16px rgba(255, 183, 3, 0.4);
}
.frigo-consent__btn--accept:hover { background: var(--orange-bright, #eaa500); }
/* Draw the eye to the bar itself, so fewer visitors scroll past without choosing. */
.frigo-consent {
	border-top: 3px solid var(--orange, #ffb703);
	box-shadow: 0 20px 60px rgba(6, 21, 33, 0.28);
}
.frigo-consent__text { font-size: 0.94rem; }
/* Phone: full-width buttons, accept first in the tap path. */
@media (max-width: 560px) {
	.frigo-consent__actions { display: flex; flex-direction: column-reverse; gap: 8px; width: 100%; }
	.frigo-consent__btn { width: 100%; }
}
/* Lift above the sticky mobile action bar on small screens. */
@media (max-width: 1024px) { .frigo-consent { bottom: 72px; } }

/* ---------------------------------------------------------------------------
   Language switcher (EL / EN) in the header utility cluster.
--------------------------------------------------------------------------- */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
}
.lang-switch .lang-link {
	padding: 6px 8px;
	color: var(--slate, #44576c);
	text-decoration: none;
	border-radius: 6px;
	line-height: 1;
}
.lang-switch .lang-link.is-current { color: var(--navy, #004392); background: var(--frost, #e6f4f8); }
.lang-switch .lang-link:hover { color: var(--navy, #004392); }

/* ---------------------------------------------------------------------------
   Product catalogue pagination.
--------------------------------------------------------------------------- */
.frigo-pagination {
	width: min(100% - 40px, 1180px);
	margin: 32px auto 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}
.frigo-pagination .frigo-page {
	min-width: 42px;
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border: 1px solid var(--border, #c7d8e8);
	border-radius: 6px;
	color: var(--navy, #004392);
	text-decoration: none;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	background: #fff;
}
.frigo-pagination .frigo-page:hover { border-color: var(--navy, #004392); }
.frigo-pagination .frigo-page.is-current {
	background: var(--navy, #004392);
	color: #fff;
	border-color: var(--navy, #004392);
}

/* ---------------------------------------------------------------------------
   Catalogue toolbar: result count + "show N per page" selector.
--------------------------------------------------------------------------- */
.frigo-catalog-bar {
	width: min(100% - 40px, 1180px);
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.frigo-catalog-count {
	margin: 0;
	color: var(--slate, #44576c);
	font-size: 0.9rem;
	font-weight: 600;
}
.frigo-perpage {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--slate, #44576c);
	font-size: 0.9rem;
	font-weight: 600;
}
.frigo-perpage select,
.frigo-filter select {
	min-height: 40px;
	padding: 6px 30px 6px 12px;
	border: 1px solid var(--border, #c7d8e8);
	border-radius: 6px;
	background: #fff;
	color: var(--navy, #004392);
	font-family: Inter, system-ui, sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
}
.frigo-catalog-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.frigo-catalog-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.frigo-filter { display: inline-flex; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 680px) {
	.frigo-catalog-bar { flex-direction: column; align-items: stretch; }
	.frigo-catalog-filters select, .frigo-perpage select { flex: 1; }
}

/* ---------------------------------------------------------------------------
   Larger navigation menu text (Astro default is quite small). Fluid: full
   1rem on wide screens, easing down toward 0.85rem near the 1181px desktop
   cutoff so the long EN/EL labels never collide with the search box.
--------------------------------------------------------------------------- */
.desktop-nav,
.desktop-nav a { font-size: clamp(0.85rem, 0.95vw, 1rem); }

/* ---------------------------------------------------------------------------
   Header search: identical size + behavior on both languages (owner request).
   Desktop (>1180px, where the desktop nav shows): the nav column gets its
   full content width and can never be overlapped — the search absorbs the
   squeeze instead, compressing gracefully (its input clips inside the
   overflow-hidden box) and growing back up to the design's 305px max.
   --------------------------------------------------------------------------- */
.header-search { min-width: 0; flex: 0 1 auto; }
@media (min-width: 1181px) {
	.header-inner { grid-template-columns: auto max-content minmax(0, 1fr); }
	.header-search { flex: 1 1 auto; max-width: 305px; }
}

/* ---------------------------------------------------------------------------
   Live product-suggestions dropdown under the header search. The search box is
   overflow:hidden (for its rounded shape) — make it visible so the absolutely
   positioned dropdown can show below it.
   --------------------------------------------------------------------------- */
.header-search { position: relative; overflow: visible; }
.header-search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 70;
	max-height: min(70vh, 460px);
	overflow-y: auto;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--border, #c7d8e8);
	border-radius: 10px;
	box-shadow: 0 18px 48px rgba(6, 21, 33, 0.18);
	text-align: left;
}
.header-search-results a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 6px;
	color: var(--ink, #061521);
	text-decoration: none;
}
.header-search-results a:hover,
.header-search-results a:focus {
	background: var(--frost, #e6f4f8);
}
.header-search-results img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	flex: 0 0 auto;
	background: #fff;
}
.header-search-results .hs-name { font-weight: 600; font-size: 0.88rem; line-height: 1.25; }
.header-search-results .hs-price { margin-left: auto; color: var(--navy, #004392); font-weight: 700; font-size: 0.82rem; white-space: nowrap; }
.header-search-results .hs-msg { margin: 0; padding: 12px; text-align: center; color: var(--slate, #44576c); font-size: 0.9rem; }

/* ---------------------------------------------------------------------------
   Header logo collapse on scroll (Anthropic-style): full lockup at the top of
   the page, snowflake mark once scrolled. The mark overlays the lockup (so the
   top state keeps its existing clamp size); on .is-scrolled the brand width
   shrinks to the mark, the lockup fades out and the mark fades in.
   --------------------------------------------------------------------------- */
/* Organic morph: smooth decelerating easing; the wordmark gently recedes
   (shrinks toward the left while fading) and the snowflake blooms in from a
   smaller scale — not a flat cross-fade. A soft shadow settles in on scroll. */
.site-header { transition: box-shadow 0.55s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(6, 21, 33, 0.07); }
.site-header .brand { position: relative; transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.site-header .brand-full {
	transform-origin: left center;
	transition: opacity 0.65s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header .brand-mark {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%) scale(0.5);
	transform-origin: left center;
	height: 60px;
	width: auto;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.7s ease, transform 1s cubic-bezier(0.34, 1.4, 0.5, 1), visibility 1s;
}
.site-header.is-scrolled .brand { width: 34px; }
.site-header.is-scrolled .brand-full {
	opacity: 0;
	visibility: hidden;
	transform: scale(0.78) translateX(-8px);
}
.site-header.is-scrolled .brand-mark {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) scale(1);
	transition-delay: 0.12s;
}
@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-header .brand,
	.site-header .brand-full,
	.site-header .brand-mark { transition: none; }
}

/* ---------------------------------------------------------------------------
   Footer logo: exact asset from Figma (white logo on an --ink #061521 card that
   matches the footer background, so it blends seamlessly — no box/line). Drop the
   old white CSS card; size so the logo matches the design (~205px card width).
   --------------------------------------------------------------------------- */
.footer-grid img {
	/* 205px left the "TRANSPORT REFRIGERATION EXPERTS / SINCE 1992" line about
	   three pixels tall — legible only as a smudge. 250px gives the strapline
	   room without letting the mark dominate the column. */
	width: 250px;
	height: auto;
	background: none;
	padding: 0;
	border-radius: 0;
}

/* ---------------------------------------------------------------------------
   Footer contact column — icon-badge rows (per designer): circular icon + text.
   --------------------------------------------------------------------------- */
.footer-contact h2 { text-transform: uppercase; letter-spacing: 1px; }
.footer-contact-list {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.footer-contact-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	line-height: 1.4;
}
.footer-contact-list .fc-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #c7d3de;
}
.footer-contact-list .fc-icon svg { width: 18px; height: 18px; }
.footer-contact-list a { color: inherit; text-decoration: none; }
.footer-contact-list a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------------------
   Footer symmetry: 3 balanced, top-aligned columns — brand (logo + tagline),
   pages (heading + links), contact (heading + icon rows). The two right columns'
   headings align; the brand logo sits on the same top baseline. Desktop only;
   the ≤900px rule in home.css still stacks to one column on mobile.
   --------------------------------------------------------------------------- */
@media (min-width: 901px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr);
		align-items: start;
		gap: clamp(32px, 4vw, 64px);
	}
}
.footer-brand p {
	margin: 14px 0 0;
	max-width: 32ch;
	line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   Footer: line up the page-links column with the contact icon-rows so they share
   the same start height + row rhythm (e.g. "Ανταλλακτικά" aligns with the address
   row, "Ψυκτικοί Θάλαμοι" with hours, etc.). Match the heading→content gap (16px),
   give each link the same 40px row height as the icon rows, and drop the list's
   extra top margin.
   --------------------------------------------------------------------------- */
.footer-contact-list { margin-top: 0; }
.site-footer nav,
.site-footer nav + div { gap: 16px; }
.site-footer nav a {
	min-height: 40px;
	display: flex;
	align-items: center;
}

/* ---------------------------------------------------------------------------
   Contact page: [frigo_contact] icon-badge rows — identical layout to the footer
   contact column, colored for the light frost panel (navy icons on white badges).
   --------------------------------------------------------------------------- */
.frigo-contact-badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.frigo-contact-badges li {
	display: flex;
	align-items: center;
	gap: 14px;
	line-height: 1.4;
	color: var(--ink, #061521);
}
.frigo-contact-badges .fc-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	border: 1px solid var(--border, #c7d8e8);
	color: var(--navy, #004392);
}
.frigo-contact-badges .fc-icon svg { width: 18px; height: 18px; }
.frigo-contact-badges a { color: var(--navy, #004392); text-decoration: none; }
.frigo-contact-badges a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   Nav dropdown (Refrigerated Transportation → truck / trailer bodies).
   wp_nav_menu depth=2 renders children as <ul class="sub-menu"> inside the
   parent <li>. Desktop: hover/focus-within dropdown card (pure CSS, keyboard
   accessible). Mobile: indented sub-list under the parent link.
   --------------------------------------------------------------------------- */
.desktop-nav li.menu-item-has-children { position: relative; }
/* (No caret indicator — owner prefers the parent link without a dropdown arrow.) */
.desktop-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -8px;
	min-width: 280px;
	display: block; /* override the flex row applied to .desktop-nav ul above */
	margin: 0;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--border, #c7d8e8);
	border-radius: 10px;
	box-shadow: 0 18px 48px rgba(6, 21, 33, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 60;
}
.desktop-nav li.menu-item-has-children:hover > .sub-menu,
.desktop-nav li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
/* Invisible hover bridge so the pointer can travel from link to card. */
.desktop-nav .sub-menu::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}
.desktop-nav .sub-menu li { display: block; }
.desktop-nav .sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 6px;
	color: var(--navy, #004392);
	white-space: nowrap;
}
.desktop-nav .sub-menu a:hover { background: var(--frost, #e6f4f8); }
@media (prefers-reduced-motion: reduce) {
	.desktop-nav .sub-menu { transition: none; }
}

/* ---------------------------------------------------------------------------
   Mobile navigation panel — wrangle.ai-style: full-screen white sheet under
   the sticky header. Big ink links, no dividers or decoration; parents with
   children get a right-edge chevron that accordions the sub-pages (JS in
   home.js injects the chevron buttons + animates max-height). home.js also
   toggles [hidden] + body.frigo-nav-open and keeps --frigo-header-h synced.
--------------------------------------------------------------------------- */
.mobile-nav {
	position: fixed;
	top: var(--frigo-header-h, 132px);
	left: 0;
	right: 0;
	/* Explicit height, NOT bottom:0 — the header's backdrop-filter makes it the
	   containing block for this fixed panel, which would collapse a bottom-pinned
	   box. The height calc is correct in both containing-block scenarios. */
	height: calc(100vh - var(--frigo-header-h, 132px));
	height: calc(100dvh - var(--frigo-header-h, 132px));
	z-index: 9; /* under .site-header (10) and the mobile action bar */
	padding: 28px 20px calc(96px + env(safe-area-inset-bottom));
	background: var(--white, #fff);
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	animation: frigo-nav-in 0.18s ease-out;
}
.mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mobile-nav > ul {
	display: flex;
	flex-direction: column;
}
.mobile-nav > ul > li { padding: 2px 0; }
.mobile-nav li.menu-item-has-children {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto; /* label | chevron, never wraps */
	align-items: center;
}
.mobile-nav a {
	display: block;
	padding: 13px 0;
	font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: clamp(1.75rem, 7.4vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.15;
	color: var(--ink, #061521);
}
.mobile-nav a:active { opacity: 0.55; }
/* Chevron toggle (injected by home.js on parents with children). */
.mobile-nav .subnav-toggle {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--slate, #44576c);
	cursor: pointer;
}
.mobile-nav .subnav-toggle svg {
	width: 22px;
	height: 22px;
	transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}
.mobile-nav li.is-open > .subnav-toggle svg { transform: rotate(180deg); }
/* Sub-pages: collapsed accordion, revealed under the parent. */
.mobile-nav .sub-menu {
	grid-column: 1 / -1;
	margin-left: 14px; /* slight indent groups the children under their parent */
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}
.mobile-nav .sub-menu a {
	padding: 10px 0;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--slate, #44576c);
}
.mobile-nav .sub-menu li:last-child a { padding-bottom: 16px; }
@keyframes frigo-nav-in {
	from { opacity: 0; }
}
/* No page scroll behind the open panel; drop the header hairline so the white
   sheet and header read as one continuous surface (as on the reference). */
body.frigo-nav-open { overflow: hidden; }
body.frigo-nav-open .site-header { border-bottom-color: transparent; }
/* Menu button: bare two-line hamburger that morphs to a thin X — no box. */
.menu-button {
	background: transparent;
	border: 0;
	color: var(--ink, #061521);
}
.menu-button span {
	width: 22px;
	transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.15s ease;
}
.menu-button span:nth-child(2) { display: none; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
	.mobile-nav { animation: none; }
	.mobile-nav .sub-menu { transition: none; }
	.mobile-nav .subnav-toggle svg { transition: none; }
	.menu-button span { transition: none; }
}
/* Never render on desktop, even if left open across a resize. */
@media (min-width: 1181px) {
	.mobile-nav { display: none !important; }
}

/* Header logo uses the truly transparent asset (frigo-service-logo-
   transparent.png) — no blend tricks needed; mix-blend-mode couldn't reach
   through the header's backdrop-filter isolation anyway. */

/* ---------------------------------------------------------------------------
   Home: "Our Clients" banner section (replaces the final CTA band).
   --------------------------------------------------------------------------- */
.home-partners,
.home-clients { text-align: center; }
.home-partners h2,
.home-clients h2 { margin: 0 0 28px; }
/* Tighten only the gap BETWEEN the two stacked banners; keep the outer spacing
   (partners↕find-help above, clients↕footer below) at the full section padding. */
.home-partners { padding-bottom: clamp(18px, 2.5vw, 32px); }
.home-clients { padding-top: clamp(18px, 2.5vw, 32px); }
/* Identical display size for both home banners (owner: clients = partners). */
.home-partners img,
.home-clients img {
	width: min(100% - 40px, 1180px);
	height: auto;
	margin: 0 auto;
	display: block;
}

/* ---------------------------------------------------------------------------
   Home "Can't find what you're looking for?" lead section (replaces the old
   service-proof block). Centered heading + subtitle on a frost band; the
   embedded Fluent Form sits in a white card with a full-width orange submit.
   --------------------------------------------------------------------------- */
.find-help { background: var(--frost, #e6f4f8); }
.find-help-grid {
	width: min(100% - 40px, 1080px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}
@media (max-width: 880px) { .find-help-grid { grid-template-columns: 1fr; } }
.find-help-form-col h2 { margin: 0 0 8px; }
.find-help .find-help-sub { margin: 0 0 24px; color: var(--slate, #44576c); font-size: 1.05rem; }
.find-help .fluentform {
	text-align: left;
	background: #fff;
	padding: clamp(20px, 4vw, 36px);
	border-radius: 10px;
	box-shadow: var(--shadow-soft, 0 18px 48px rgba(6, 21, 33, .14));
}
.find-help .fluentform .ff-btn-submit,
.find-help .fluentform button[type="submit"] {
	background: var(--orange, #ffb703) !important;
	border-color: var(--orange, #ffb703) !important;
	color: #004392 !important;
	width: 100%;
	min-height: 48px;
	font-weight: 700;
	border-radius: 6px;
}
.find-help .fluentform .ff-btn-submit:hover,
.find-help .fluentform button[type="submit"]:hover { background: var(--orange-bright, #eaa500) !important; }

/* Service-desk card in this section: reset the old proof-grid placement and
   match the form card (solid white, soft shadow); recolor the eyebrow/number
   since the old .proof-section-scoped rules no longer apply here. */
.find-help .service-capture {
	grid-column: auto;
	grid-row: auto;
	background: #fff;
	border: 1px solid var(--border, #c7d8e8);
	box-shadow: var(--shadow-soft, 0 18px 48px rgba(6, 21, 33, .14));
	align-content: start;
}
.find-help .service-capture .urgent {
	margin: 0;
	color: var(--orange-deep, #b45309);
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .5px;
	text-transform: uppercase;
}
.find-help .service-capture h3 { margin: 0; color: var(--navy, #004392); }
.find-help .service-capture .service-number { color: var(--navy, #004392); }

/* ---------------------------------------------------------------------------
   Navy page heroes: centered text (owner request). Targets the FIRST block of
   inner-page content when it is a navy band — i.e. every page hero (About,
   Refrigerated Transportation, Cooling Units + subpages, Contact, etc.) on
   both languages. The home hero (PHP template, no .entry-content) and the
   mid-page navy CTA bands (not :first-child) are unaffected.
   --------------------------------------------------------------------------- */
.entry-content > .wp-block-group.has-theme-palette-1-background-color:first-child {
	text-align: center;
}
.entry-content > .wp-block-group.has-theme-palette-1-background-color:first-child .wp-block-buttons {
	justify-content: center;
}

/* Commercial terms under the price on quote-only product pages (installed
   price agreed per enquiry). Bold so the footnote is not missed. */
.frigo-quote-note {
	margin: -4px 0 18px;
	color: var(--navy, #004392);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.45;
}

/* Product gallery: signal that the photo opens full-screen, and make the
   magnifier trigger a legible button rather than a bare emoji. */
.woocommerce-product-gallery__image a { cursor: zoom-in; }
.woocommerce-product-gallery__trigger {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: #fff;
	border: 1px solid var(--border, #c7d8e8);
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(6, 21, 33, 0.14);
	font-size: 1.05rem;
	line-height: 1;
	text-decoration: none;
}
/* PhotoSwipe controls need to clear the sticky header + mobile action bar. */
.pswp { z-index: 100000; }

/* ---------------------------------------------------------------------------
   Card row alignment (grid + carousel). The product name is the only
   variable-height element in a card, so a two-line name pushed that card's
   Year / Hours / Serial row below its neighbours'. Reserve two lines for the
   name and the spec rows line up across every card; the quote button already
   pins to the bottom via margin-top:auto. The brand line is always one line.
--------------------------------------------------------------------------- */
.reefer-card .reefer-body > h3 {
	min-height: calc(2 * 1.15em); /* 1.15 = the card h3 line-height */
}
/* Single column on mobile — nothing to align against, so let it shrink. */
@media (max-width: 680px) {
	.reefer-card .reefer-body > h3 { min-height: 0; }
}

/* Serial numbers were breaking mid-word ("TC74212 / 6") because the spec strip
   is three equal columns. Year and Hours are short, so let them size to their
   content and give the serial the remaining width; never split it mid-token. */
.reefer-card .reefer-specs {
	grid-template-columns: minmax(0, auto) minmax(0, auto) minmax(0, 1fr);
}
.reefer-card .reefer-specs dd {
	word-break: normal;
	overflow-wrap: anywhere; /* only if a serial is genuinely too long */
}

/* ---------------------------------------------------------------------------
   Single product title. It inherited the hero H1 scale (up to 5rem) and its
   0.96 line-height — a ratio below 1 means glyphs overflow their line box, so
   on a two-line name the "(2012)" parentheses collided with the row above.
   Product names also carry parentheses and digits, which need more room than a
   display headline. Scoped so the hero keeps its tight, deliberate setting.
--------------------------------------------------------------------------- */
.woocommerce div.product .product_title,
.product_title.entry-title {
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	line-height: 1.15;
	text-wrap: balance;
}

/* ---------------------------------------------------------------------------
   [frigo_map] — the premises map as its own full-width band below the contact
   columns, rather than squeezed inside the details card.
--------------------------------------------------------------------------- */
.frigo-map {
	width: min(100% - 40px, 1200px);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.frigo-map iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 12px;
	/* An iframe carries no intrinsic ratio, so without a floor it collapses to
	   ~150px in some browsers before the inline height applies. */
	min-height: 260px;
	background: var(--frost-soft, #f1f5f9);
}
.frigo-map__dir {
	align-self: start;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--navy, #004392);
}
@media (max-width: 680px) {
	.frigo-map iframe { min-height: 240px; }
}
