/*
Theme Name: Blocksy Child
Theme URI: https://electrovet.shop/
Description: Child theme of Blocksy for ELECTROvet by LEROY Biotech.
Author: Pichinov
Author URI: https://pichinov.com/
Template: blocksy
Version: 1.13.67
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: blocksy-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Bold emphasis = SemiBold (600), not Bold (700). Normal body text is 400, so
   600 keeps a clear contrast while reading lighter than the default bold.
   ========================================================================== */
strong,
b {
	font-weight: 600;
}

/* ==========================================================================
   Logo marquee – Group .ev-marquee > Group .ev-marquee__track (logos twice,
   block gap 24px + right padding 24px so that -50% loops seamlessly)
   No native Blocksy / Gutenberg equivalent: only the scrolling lives here.
   ========================================================================== */

.ev-marquee {
	overflow: hidden;
}
.ev-marquee__track {
	width: max-content;
	animation: ev-marquee 40s linear infinite;
}
.ev-marquee__track > * {
	flex: none;
}
.ev-marquee:hover .ev-marquee__track {
	animation-play-state: paused;
}
@keyframes ev-marquee {
	to {
		transform: translateX(-50%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.ev-marquee__track {
		animation: none;
	}
}
/* Block editor (this file is also loaded there via add_editor_style): no
   scrolling, so the logos can be clicked and edited; scroll sideways to
   reach the ones past the edge. .block-editor-block-list__layout only exists
   in the editor. */
.block-editor-block-list__layout .ev-marquee__track {
	animation: none;
}
.block-editor-block-list__layout .ev-marquee {
	overflow-x: auto;
}

/* ==========================================================================
   YouTube embeds: 10px rounded corners (site-wide). The block wrapper clips
   the iframe with overflow:hidden (reliable on every browser); the iframe
   also gets the radius for browsers that round iframes directly.
   ========================================================================== */
.wp-block-embed.is-provider-youtube .wp-block-embed__wrapper,
.wp-block-embed-youtube .wp-block-embed__wrapper {
	overflow: hidden;
	border-radius: 10px;
}
.wp-block-embed.is-provider-youtube iframe,
.wp-block-embed-youtube iframe,
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"],
iframe[src*="youtu.be"] {
	border-radius: 10px;
}

/* ==========================================================================
   WS Form – "Contact us" (Figma node 4601-13096)
   Fields, labels and button come from the WS Form style "ELECTROvet";
   this block only covers what the Styler can't do.
   Selectors are prefixed with .wsf-form.ev-form because WS Form's CSS
   is printed after this file.
   ========================================================================== */

.wsf-form.ev-form {
	max-width: 736px;
	margin-inline: auto;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

/* 32px column gap (the Styler grid gap, 24px, is kept for rows) */
.wsf-form.ev-form .wsf-fields {
	margin-left: -16px;
	margin-right: -16px;
}
.wsf-form.ev-form .wsf-fields > .wsf-tile {
	padding-left: 16px;
	padding-right: 16px;
}

/* Tabs: the "Inquiry type" radio field */
.wsf-form.ev-form .ev-tabs {
	margin-bottom: 32px;
}
.wsf-form.ev-form .ev-tabs > div:first-child {
	display: flex;
}
.wsf-form.ev-form .ev-tabs [data-row-radio] {
	position: relative;
	flex: 1 1 0;
	margin: 0;
	padding: 0;
}
.wsf-form.ev-form .ev-tabs input[type="radio"].wsf-field {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.wsf-form.ev-form .ev-tabs input[type="radio"].wsf-field + label.wsf-label {
	display: block;
	margin: 0;
	padding: 8px 8px 10px;
	border-bottom: 1px solid #222E44;
	color: #222E44;
	font-size: var(--ev-fs-body);
	font-weight: 400;
	line-height: 28px;
	text-align: center;
	text-transform: uppercase;
}
.wsf-form.ev-form .ev-tabs input[type="radio"].wsf-field:checked + label.wsf-label {
	padding-bottom: 8px;
	border-bottom: 3px solid #80BB2D;
	color: #80BB2D;
	font-weight: 600;
}
.wsf-form.ev-form .ev-tabs input[type="radio"].wsf-field:focus-visible + label.wsf-label {
	outline: 2px solid #222E44;
	outline-offset: 2px;
}

/* Country: half width, alone on its row */
@media (min-width: 576px) {
	.wsf-form.ev-form .ev-field-half-alone > input.wsf-field {
		max-width: calc(50% - 16px);
	}
}

/* Send button: centered, 32px below the last field */
.wsf-form.ev-form .ev-submit {
	margin-top: 8px;
	margin-bottom: 0;
	text-align: center;
}

@media (max-width: 575.98px) {
	.wsf-form.ev-form .ev-tabs input[type="radio"].wsf-field + label.wsf-label {
		font-size: 15px;
		padding-inline: 0; /* "General inquiries" fits on one line down to 360px */
	}
}
/* Both tabs always the same height, so their underlines stay aligned even if
   a label wraps on a very narrow phone. */
.wsf-form.ev-form .ev-tabs [data-row-radio] {
	display: flex;
	flex-direction: column;
}
.wsf-form.ev-form .ev-tabs input[type="radio"].wsf-field + label.wsf-label {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   WooCommerce product collections (Home: Featured products / Best sellers)
   Card = native blocks and settings (Group, Product Image, SKU, Title,
   Summary, Price, Button); only what the blocks can't do lives here.
   ========================================================================== */

/* The product template is a flow layout: Blocksy's content spacing would add
   a bottom margin to every card but the last one, making the last one taller */
.wc-block-product-template.is-layout-flow > .wc-block-product {
	margin-bottom: 0;
}

/* Short description: 2 lines max (Figma product card). The max-height caps the
   box at exactly 2 lines as well: some browsers (seen on a client device) add
   the ellipsis but don't limit the height, so the 3rd line showed, cut by the
   card's bottom edge. 48px = 2 × 24px fallback for browsers without "lh". */
.wc-block-product .wc-block-components-product-summary {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	max-height: 48px;
	max-height: 2lh;
}
.wc-block-product .wc-block-components-product-summary > * {
	display: inline;
	margin: 0;
}

/* Product card titles: 2 lines max with an ellipsis, like the short
   description — on every card: block cards (home, range pages) and the
   classic ones (shop, "You may also need" on product and cart pages). */
.wc-block-product .wp-block-post-title,
.products .product .woocommerce-loop-product__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	max-height: 2lh;
}
/* Block cards: WooCommerce makes the title a flow-root box and its link an
   inline-block, which cuts the text without the ellipsis. */
.wc-block-product .wp-block-post-title {
	display: -webkit-box !important;
}
.wc-block-product .wp-block-post-title a {
	display: inline !important;
}
.wc-block-product .wc-block-components-product-summary > * + *::before {
	content: " ";
}

/* Product Button with the class "ev-cart-button": 48px cart icon button
   (Figma "Add to Cart"); the label stays in the markup for screen readers */
.ev-cart-button .wc-block-components-product-button__button {
	width: 48px;
	min-width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 0;
	font-size: 0;
	line-height: 0;
}
/* ::before is Blocksy's (hidden) button shadow layer: reset before drawing the icon */
.ev-cart-button .wc-block-components-product-button__button::before,
.products[data-products="type-2"] .ct-woo-card-actions .button::before {
	content: "";
	display: block;
	position: static;
	z-index: auto;
	width: 32px; /* Figma "Add to Cart" (4658-20272): 32px icon in the 48px button */
	height: 32px;
	border-radius: 0;
	opacity: 1;
	filter: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000'%3E%3Cpath d='M3 3.9h3.7l2.45 12.2h9.55l2.45-8.3' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.8 3.1v7.9M10.8 7.05h7.95' stroke-width='1.95'/%3E%3Ccircle cx='9.5' cy='20.25' r='1.76' fill='%23000' stroke='none'/%3E%3Ccircle cx='18.5' cy='20.25' r='1.76' fill='%23000' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000'%3E%3Cpath d='M3 3.9h3.7l2.45 12.2h9.55l2.45-8.3' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.8 3.1v7.9M10.8 7.05h7.95' stroke-width='1.95'/%3E%3Ccircle cx='9.5' cy='20.25' r='1.76' fill='%23000' stroke='none'/%3E%3Ccircle cx='18.5' cy='20.25' r='1.76' fill='%23000' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ev-cart-button .wc-block-components-product-button__button.loading::before {
	opacity: .4;
}
/* No "View cart" link under the icon (it pushed the price up): the cart drawer
   opens instead (js/product-button-cart-drawer.js) */
.ev-cart-button > span {
	display: none;
}

/* ==========================================================================
   Shop and product categories (Blocksy: WooCommerce > Product Archives)
   Card type 2, background, radius, shadow, fonts, colors, layers, sidebar,
   sticky sidebar and filters are Customizer / widget settings; only the
   Figma details they can't set live here.
   ========================================================================== */

/* Card: 16px padding and left aligned content (card type 2 centers it) */
.products[data-products="type-2"] .product {
	padding-inline: 16px;
	padding-bottom: 16px;
	--horizontal-alignment: flex-start;
	--text-horizontal-alignment: start;
	/* palette-8 became grey after the palette change and Blocksy's native
	   cardProductBackground doesn't paint the type-2 card: keep them white.
	   Covers shop/category archives + single-product related/upsell grids. */
	background-color: var(--theme-palette-color-7);
}
.products[data-products="type-2"] figure {
	width: calc(100% + 32px);
	margin-inline: -16px;
}

/* Short description: 2 lines max */
.products[data-products="type-2"] .entry-excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.products[data-products="type-2"] .entry-excerpt > * {
	display: inline;
	margin: 0;
}

/* Price and 48px cart icon on one row, without the type 2 separators */
.products[data-products="type-2"] .ct-woo-card-actions {
	width: 100%;
	margin-inline: 0;
	gap: 8px;
	justify-content: space-between;
	border-block: 0;
}
.products[data-products="type-2"] .ct-woo-card-actions:last-child {
	margin-bottom: 0;
}
.products[data-products="type-2"] .ct-woo-card-actions > * {
	flex: 0 0 auto;
	min-height: 0;
	padding: 0;
}
.products[data-products="type-2"] .ct-woo-card-actions .price {
	justify-content: flex-start;
}
.products[data-products="type-2"] .ct-woo-card-actions .price::after {
	content: none;
}
.products[data-products="type-2"] .ct-woo-card-actions .button {
	width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 0;
	font-size: 0;
	line-height: 0;
	border-radius: var(--theme-button-border-radius, 10px);
	color: var(--theme-button-text-initial-color);
	background-color: var(--theme-button-background-initial-color);
}
.products[data-products="type-2"] .ct-woo-card-actions .button:hover {
	color: var(--theme-button-text-hover-color);
	background-color: var(--theme-button-background-hover-color);
}
/* After adding, keep the icon (Blocksy swaps it for "View cart"): the cart drawer opens instead */
.products[data-products="type-2"] .ct-woo-card-actions .button.added {
	display: inline-flex;
}
.products[data-products="type-2"] .ct-woo-card-actions .added_to_cart {
	display: none;
}
/* Mobile: the archive card price is oversized (25px) — bring it down to the
   same size as the home "featured product" cards (the WooCommerce block price,
   ~16.66px). The amount inherits from the .price wrapper. */
@media (max-width: 767.98px) {
	.products[data-products="type-2"] .ct-woo-card-actions .price {
		font-size: 16.66px;
	}
}

/* Range intro (category description): "Learn more →" link as on the home page */
.hero-section .page-description a {
	font-weight: 600;
	text-decoration: underline;
}

/* Home range sections (HF / EZ / B15): soft blue "fond bleu.png" backdrop at
   20% opacity (Figma), consistent across the three sections — replaces the
   ad-hoc vertical gradients (one of which was inverted). */
.ev-range-bg {
	position: relative;
	background-color: #ffffff;
}
.ev-range-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url( ../../uploads/2026/09/fond-bleu.png );
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.2;
	pointer-events: none;
	z-index: 0;
}
.ev-range-bg > * {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Range landing pages (Our Products › HF / EZ / B15 — Figma "Learn more")
   Scoped to .ev-range-page (children of page #1007).
   ========================================================================== */

/* Eyebrow label above the section titles (Figma node 4601-13480) */
.ev-range-page .ev-eyebrow-label {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--theme-palette-color-4);
}
/* Hero "About the range" header — match Figma node 4601-13480 exactly.
   Block is 928×192: H1 40/48 (2 lines), sub 18/28 (2 lines), eyebrow 16/24, 8px gaps. */
.ev-range-page .ev-range-hero h1 {
	margin: 0;
	font-size: var(--ev-fs-h1);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0;
	text-align: center;
	color: var(--theme-palette-color-4);
}
.ev-range-page .ev-range-hero .ev-hero-sub {
	max-width: var(--theme-block-max-width);
	margin: 24px auto;
	font-weight: 400;
	color: var(--theme-palette-color-4);
}

/* Hero "video" placeholder — light panel + centred play button + caption */
.ev-range-page .ev-hero-video {
	position: relative;
	overflow: hidden;
	margin-top: 32px;
}
.ev-range-page .ev-hero-video .wp-block-cover__inner-container {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 22px;
}
.ev-range-page .ev-hero-video__caption {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--theme-palette-color-4);
}
.ev-range-page .ev-hero-video::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 44%;
	width: 72px;
	height: 72px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--theme-palette-color-4);
	box-shadow: 0 8px 30px rgba( 0, 0, 0, 0.18 );
}
.ev-range-page .ev-hero-video::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 44%;
	transform: translate(-38%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent #ffffff;
	z-index: 1;
}

/* Green-check list (matches the home checklist) */
.ev-range-page .ev-checklist {
	list-style: none;
	margin: 18px 0;
	padding: 0;
}
.ev-range-page .ev-checklist li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 34px;
	line-height: 1.5;
}
.ev-range-page .ev-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	background: url(img/check.png) center / contain no-repeat;
}

/* ==========================================================================
   Underlined "arrow" links ("Learn more", "Buy the Pack", "View our Brochure"…)
   — site-wide, on both markups the site uses: the .ev-arrow-link paragraphs
   and the home/contact paragraphs carrying an inline text-decoration:underline.
   NOT the primary buttons. Navy text + the Figma arrow icon, over a full-width
   underline that sits a bit lower and thicker. On hover the text + arrow turn
   green and the underline fills green from left to right. The literal "→" is
   stripped from the content; the arrow is this icon so currentColor can tint
   it green on hover. The underline is a 2-layer gradient (green overlay grown
   left→right via background-size over a static navy base). */
.ev-arrow-link a,
p[style*="text-decoration:underline"] > a,
.hero-section .page-description a[href*="/our-products/"] {
	display: inline-block;
	font-weight: 600;
	font-size: var(--ev-fs-body);
	line-height: 28px;
	color: var(--theme-palette-color-4) !important;
	text-decoration: none !important;
	--has-link-decoration: 0;
	padding-bottom: 8px;
	background-image:
		linear-gradient(var(--theme-palette-color-2), var(--theme-palette-color-2)),
		linear-gradient(var(--theme-palette-color-4), var(--theme-palette-color-4));
	background-repeat: no-repeat;
	background-position: left 100%, left 100%;
	background-size: 0% 3px, 100% 3px;
	transition: background-size 0.45s ease, color 0.3s ease;
}
.ev-arrow-link a::after,
p[style*="text-decoration:underline"] > a::after,
.hero-section .page-description a[href*="/our-products/"]::after {
	content: "";
	display: inline-block;
	width: 22px;
	height: 16px;
	margin-left: 8px;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask: url(img/arrow-right.svg) no-repeat center / contain;
	        mask: url(img/arrow-right.svg) no-repeat center / contain;
}
.ev-arrow-link a:hover,
p[style*="text-decoration:underline"] > a:hover,
.hero-section .page-description a[href*="/our-products/"]:hover {
	color: var(--theme-palette-color-2) !important;
	background-size: 100% 3px, 100% 3px;
}

/* Rounded section images */
.ev-range-page .ev-round-img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* ==========================================================================
   Home checklists (range sections): rows are native flex groups with a 20px
   check icon (icon-check.svg, wp-image-965) + a paragraph. The native
   align-items:center drifts once an item wraps to two lines. Align the icon
   on the FIRST line instead (same feel as the range-page .ev-checklist).
   ========================================================================== */
.wp-block-group:has(> figure > img.wp-image-965) {
	align-items: flex-start;
}
.wp-block-group > figure:has(> img.wp-image-965) {
	margin: 0;
	/* centre the 20px icon on the first text line (line-height 27px) */
	margin-top: 3px;
	flex: none;
	line-height: 0;
}
.wp-block-group:has(> figure > img.wp-image-965) > p {
	margin: 0;
}

/* ==========================================================================
   Footer widget titles ("Customer service", "Follow our activities"): these
   are block headings (h3.wp-block-heading), whose heading colour ignores
   Blocksy's footerWidgetsTitleColor variable. Force palette-7 (white).
   ========================================================================== */
.ct-footer .widget-title {
	color: var(--theme-palette-color-7);
}

/* Media that bleeds into the section background on the right, behind the text
   (Figma node 5164-17609 — B15 electrodes section). The image sits in the
   right column but is absolutely positioned so it extends to the viewport edge. */
.ev-range-page .ev-media-bleed {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
/* The image sits behind everything (z-index below the text and product cards),
   large enough to run down behind the products (Figma 854x958, Darken). The
   section is an isolated stacking context so z-index:-1 stays inside it.
   Its containing block is the full-width section itself, so right:0 = the
   viewport edge, as in the mockup (1440 frame: x 587→1441). top:-65px = the
   mockup's 72px section padding − 137px image offset; the section clips it,
   so the green connector starts right at the top edge, under the grey band. */
.ev-range-page .ev-media-bleed .ev-bleed-img {
	position: absolute;
	z-index: -1;
	top: -65px;
	right: 0;
	width: min(59.3vw, 854px);
	height: auto;
	margin: 0;
	pointer-events: none;
}
.ev-range-page .ev-media-bleed .ev-bleed-img img {
	width: 100%;
	height: auto;
	border-radius: 0;
	mix-blend-mode: darken;
}
@media (max-width: 900px) {
	.ev-range-page .ev-media-bleed .ev-bleed-img {
		position: static;
		top: auto;
		right: auto;
		width: 100%;
	}
	.ev-range-page .ev-media-bleed .ev-bleed-img img {
		mix-blend-mode: normal;
	}
}

/* B15 hero: centre the (resized) hero image inside its full-width figure */
.ev-range-page .ev-range-hero figure.wp-block-image img {
	margin-inline: auto;
}

/* Applications "Additional Resources" card */
.ev-range-page .ev-appli-card {
	height: 100%;
}
.ev-range-page .ev-appli-card .ev-note {
	color: #8a8f99;
}

/* Breadcrumb (Home › Our Products › range), aligned with the 1120 content. No
   padding: its text then sits exactly where the product pages' native
   breadcrumb does (the theme container already gives the mobile side margin). */
.ev-range-page .ev-range-crumbs {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0;
	font-size: 13px;
	text-transform: uppercase;
	color: var(--theme-palette-color-4);
}
.ev-range-page .ev-range-crumbs a {
	color: var(--theme-palette-color-4);
	text-decoration: none;
}
.ev-range-page .ev-range-crumbs a:hover {
	color: var(--theme-palette-color-2);
}
.ev-range-page .ev-range-crumbs .ev-sep {
	margin: 0 8px;
	color: var(--theme-palette-color-4);
}
.ev-range-page .ev-range-crumbs__current {
	font-weight: 700;
	color: var(--theme-palette-color-4);
}

/* Hero "video" placeholder — outline the panel so it reads as a media slot */
.ev-range-page .ev-hero-video {
	border: 1px solid #d9d9d9;
}

/* Hide the default Blocksy page title (the hero H1 lives in the content) */
.ev-range-page .page-title,
.ev-range-page .entry-card-meta {
	display: none;
}

/* Product Collection grid styled like the shop cards (Figma): white rounded
   card + shadow, full-bleed image, navy title/price and a 48px navy cart-icon
   button with the price on the same row. Scoped to the range pages. */
.ev-range-page .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ev-range-page .wc-block-product-template.columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.ev-range-page .wc-block-product-template.columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 999px) {
	.ev-range-page .wc-block-product-template,
	.ev-range-page .wc-block-product-template.columns-3,
	.ev-range-page .wc-block-product-template.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 600px) {
	.ev-range-page .wc-block-product-template,
	.ev-range-page .wc-block-product-template.columns-2,
	.ev-range-page .wc-block-product-template.columns-3,
	.ev-range-page .wc-block-product-template.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px;
	}
}
.ev-range-page .wc-block-product-template > li.product {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0 16px 18px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba( 34, 46, 68, 0.1 );
	overflow: hidden;
	text-align: left;
}
.ev-range-page .wc-block-product-template li.product .wc-block-components-product-image {
	width: calc(100% + 32px);
	margin: 0 -16px 14px;
}
.ev-range-page .wc-block-product-template li.product .wc-block-components-product-image img {
	display: block;
	width: 100%;
	height: auto;
}
.ev-range-page .wc-block-product-template li.product .wp-block-post-title,
.ev-range-page .wc-block-product-template li.product h2,
.ev-range-page .wc-block-product-template li.product h3 {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	color: var(--theme-palette-color-4);
}
.ev-range-page .wc-block-product-template li.product .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}
/* SKU eyebrow above the title (Figma) — drop the block's "SKU:" prefix */
.ev-range-page .wc-block-product-template li.product .ev-card-sku {
	margin: 0 0 4px;
	font-size: 13px;
	line-height: 1.3;
	color: var(--theme-palette-color-4);
}
.ev-range-page .wc-block-product-template li.product .ev-card-sku .wp-block-post-terms__prefix {
	display: none;
}
.ev-range-page .wc-block-product-template li.product .ev-card-sku .sku {
	color: inherit;
}
/* Start of the short description — plain grey, 2 lines max (the line clamp on
   .wc-block-components-product-summary is defined earlier). No price / cart. */
.ev-range-page .wc-block-product-template li.product .ev-card-summary {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--theme-palette-color-4);
}
.ev-range-page .wc-block-product-template li.product .ev-card-summary,
.ev-range-page .wc-block-product-template li.product .ev-card-summary * {
	font-weight: 400;
	text-decoration: none;
}
.ev-range-page .wc-block-product-template li.product .ev-card-summary p {
	margin: 0;
}

/* Single product "You may also need" (related) heading centered — Blocksy only
   exposes its font and colour, not the alignment */
.related.products > .ct-module-title,
.up-sells.products > .ct-module-title {
	text-align: center;
}

/* ==========================================================================
   Single product summary — "Compatible with" logos + "Request a Quote"
   (Figma product sheet). No native attribute image / quote flow, so both are
   rendered by the child theme (functions.php); only their look lives here.
   ========================================================================== */

.ev-spec-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0;
	font-size: 16px;
	line-height: 24px;
}
.ev-spec-row__label {
	font-weight: 600;
	text-transform: uppercase;
	color: var(--theme-palette-color-4);
}
.ev-compatible__logos {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.ev-compatible__logo {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: contain;
}
.ev-warranty__value {
	color: var(--theme-palette-color-4);
}
/* Thin divider under "Compatible with" and "Warranty" (Figma). Blocksy's own
   single-product divider layers are disabled, so these two rows carry the lines. */
.single-product div.product .ev-compatible,
.single-product div.product .ev-warranty {
	margin-bottom: 0;
	padding-bottom: 18px;
	border-bottom: 1px solid #d9d9d9;
}
.single-product div.product .ev-warranty {
	padding-top: 4px;
}
/* ...and a matching grey line ABOVE the first spec row. The general-sibling
   rule clears it on any following spec row so the line never doubles up. */
.single-product div.product .ev-spec-row {
	border-top: 1px solid #d9d9d9;
	padding-top: 16px;
}
.single-product div.product .ev-spec-row ~ .ev-spec-row {
	border-top: 0;
	padding-top: 4px;
}

/* Purchase area (Figma product sheet): a 2-column grid inside Blocksy's
   .ct-cart-actions wrapper — QUANTITY (label + stepper) on the left, PRICE
   (label + amount) on the right, then Request a Quote + Add to Cart below.
   Grid areas place each item, so DOM order (labels come after the stepper,
   injected on woocommerce_after_add_to_cart_quantity) does not matter. The
   same grid drives the out-of-stock block rendered from functions.php. */
.single-product div.product .ct-cart-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"qlabel plabel"
		"qty    price"
		"quote  cart";
	align-items: center;
	column-gap: 24px;
	row-gap: 12px;
	width: 100%;
	/* space above the QUANTITY/PRICE block, matching the rhythm above Warranty */
	margin-top: 16px;
}
.single-product div.product .ct-cart-actions .ev-lbl {
	margin: 0;
	align-self: end;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	/* same style as the "Compatible with" label (.ev-spec-row__label) */
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: uppercase;
	color: var(--theme-palette-color-4);
}
.single-product div.product .ct-cart-actions .ev-lbl--qty {
	grid-area: qlabel;
}
.single-product div.product .ct-cart-actions .ev-lbl--price {
	grid-area: plabel;
}
.ev-price__info {
	flex: none;
}
/* Info tooltip on the PRICE "i" icon (right-anchored so it never overflows the
   viewport). Shown on hover and keyboard focus. */
.ev-price__info-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: #9aa3b2;
	cursor: help;
}
.ev-price__info-wrap::after {
	content: attr(data-tip);
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	width: max-content;
	max-width: 240px;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--theme-palette-color-7);
	border: 1px solid var(--theme-palette-color-8);
	color: var(--theme-palette-color-4);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	text-align: center;
	text-transform: none;
	white-space: normal;
	box-shadow: 0 6px 20px rgba( 0, 0, 0, 0.18 );
	opacity: 0;
	visibility: hidden;
	transform: translateX( -50% ) translateY( 4px );
	transition: opacity 0.15s ease, transform 0.15s ease;
	pointer-events: none;
	z-index: 20;
}
.ev-price__info-wrap::before {
	content: "";
	position: absolute;
	bottom: calc(100% + 4px);
	left: 50%;
	border: 6px solid transparent;
	border-top-color: var(--theme-palette-color-7);
	opacity: 0;
	visibility: hidden;
	transform: translateX( -50% );
	transition: opacity 0.15s ease;
	pointer-events: none;
	z-index: 20;
}
.ev-price__info-wrap:hover::after,
.ev-price__info-wrap:focus-visible::after {
	opacity: 1;
	visibility: visible;
	transform: translateX( -50% ) translateY( 0 );
}
.ev-price__info-wrap:hover::before,
.ev-price__info-wrap:focus-visible::before {
	opacity: 1;
	visibility: visible;
}
.single-product div.product .ct-cart-actions .quantity {
	grid-area: qty;
	margin: 0;
	justify-self: start;
	border-radius: 10px;
}
.single-product div.product .ct-cart-actions .ev-price__amount {
	grid-area: price;
	font-family: "Poppins", sans-serif;
	font-size: var(--ev-fs-h2);
	font-weight: 600;
	line-height: 44px;
	color: var(--theme-palette-color-4);
}
.single-product div.product .ct-cart-actions .ev-price__amount .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}
.single-product div.product .ct-cart-actions .ev-request-quote.button {
	grid-area: quote;
	margin: 16px 0 0; /* a little space below the Quantity/Price row (Figma) */
	width: 100%;
	padding-inline: 16px;
	white-space: nowrap;
	text-align: center;
	border: 2px solid var(--theme-palette-color-4);
	color: var(--theme-palette-color-4);
	background: transparent;
}
.single-product div.product .ct-cart-actions .ev-request-quote.button:hover {
	color: var(--theme-palette-color-7) !important;
	background: var(--theme-palette-color-2) !important;
	border-color: var(--theme-palette-color-2) !important;
}
.single-product div.product .ct-cart-actions .single_add_to_cart_button {
	grid-area: cart;
	margin: 16px 0 0; /* a little space below the Quantity/Price row (Figma) */
	width: 100%;
	padding-inline: 16px;
	white-space: nowrap;
}

/* Out-of-stock (Figma): greyed-out stepper + a disabled "Out of Stock" button,
   Request a Quote and the price stay. Same grid as the in-stock actions. */
.single-product div.product .ct-cart-actions.ev-oos-actions .quantity {
	opacity: 0.45;
	pointer-events: none;
}
.single-product div.product .ev-out-of-stock.button {
	grid-area: cart;
	margin: 0;
	width: 100%;
	padding-inline: 16px;
	white-space: nowrap;
	background: #e7eaf0;
	color: #9aa3b2;
	cursor: not-allowed;
	pointer-events: none;
}

/* Availability is shown by the Add to Cart / Out of Stock button, so hide the
   textual "In stock" / "Out of stock" line (Figma shows no such text). */
.single-product div.product .stock {
	display: none;
}

/* Price now lives in the QUANTITY / PRICE row, so hide Blocksy's price layer
   directly under the title. */
.single-product div.product .summary > .price,
.single-product div.product .entry-summary > .price {
	display: none;
}

/* Narrow screens: the two buttons stay side by side (client 2026-11-24), with
   a smaller side padding so "Request a Quote" fits on one line. */
@media (max-width: 480px) {
	.single-product div.product .ct-cart-actions {
		column-gap: 16px;
	}
	.single-product div.product .ct-cart-actions .ev-request-quote.button,
	.single-product div.product .ct-cart-actions .single_add_to_cart_button {
		padding-inline: 8px !important;
		white-space: nowrap;
	}
}

/* ==========================================================================
   Single product page — background gradient, image borders, tabs, breadcrumb
   (Figma product sheet). Tab colours and breadcrumb font are Customizer
   settings; the rest is here.
   ========================================================================== */

/* Product sheet gradient: white at the top → #F1F4F8 lower down; the sections
   below (You may also need, Need more information) stay on #F1F4F8 */
body.single-product {
	background-color: #f1f4f8;
	background-image: linear-gradient( 180deg, #ffffff 0%, #f1f4f8 100% );
	background-repeat: no-repeat;
	background-size: 100% 1600px;
}

/* Eyebrow above the title: range (left) + SKU (right), uppercase */
.ev-eyebrow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 21px;
	text-transform: uppercase;
}
.ev-eyebrow__cat {
	font-weight: 600;
	color: var(--theme-palette-color-4);
	text-decoration: none;
}
.ev-eyebrow__cat:hover {
	color: var(--theme-palette-color-2);
}
.ev-eyebrow__sku {
	color: var(--theme-palette-color-4);
}

/* Gallery: 1px #D9D9D9 border + 10px radius on the main image and thumbnails */
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce div.product .flexy-items img,
.woocommerce div.product .flexy-pills img {
	border: 1px solid #d9d9d9;
	border-radius: 10px;
}
/* Selected thumbnail: a single, darker (navy) border to mark the active image.
   Blocksy stacks its own active indicator on top of the #d9d9d9 border (double
   border); collapse it to one by overriding the border and removing any shadow. */
.woocommerce div.product .flexy-pills li.active img,
.woocommerce div.product .flexy-pills .active img {
	border-color: var(--theme-palette-color-4);
	box-shadow: none;
}

/* Tabs: every tab is an equal-width column, so the active tab's green underline
   spans the whole column (Figma). Blocksy only offers left/center/right and
   draws no visible underline by default (0px border), so we make each li a flex
   column and paint the underline with ::after. Colours follow the brand green. */
.woocommerce-tabs[data-type] .tabs {
	display: flex;
	width: 100%;
	gap: 0;
}
.woocommerce-tabs[data-type] .tabs li {
	flex: 1 1 0;
	margin: 0;
	text-align: center;
}
.woocommerce-tabs[data-type] .tabs {
	/* trait under the non-selected tabs = same navy as the inactive titles
	   (the active tab's green indicator sits on top of it) */
	border-bottom: 1px solid var(--theme-palette-color-1) !important;
}
.woocommerce-tabs[data-type] .tabs li a {
	display: block;
	position: relative;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: var(--ev-fs-body);
	line-height: 28px;
	letter-spacing: 0;
	text-transform: uppercase;
	padding-bottom: 12px !important; /* bring the title down closer to the trait */
}
/* Non-selected tabs: Regular (400); the active one is SemiBold (600). */
.woocommerce-tabs[data-type] .tabs li:not(.active) > a {
	font-weight: 400;
}
.woocommerce-tabs[data-type] .tabs li.active > a {
	font-weight: 600;
}
.woocommerce-tabs[data-type] .tabs li.active > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: #80bb2d;
}

/* Breadcrumb (Figma): uppercase, all navy #222E44 (client 2026-11-24), green
   on hover, the current page (last item) bold 700. The navy colour and the
   bold last item apply to every breadcrumb of the site. */
.single-product .ct-breadcrumbs,
.single-product .ct-breadcrumbs a,
.single-product .ct-breadcrumbs span {
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 400;
}
.ct-breadcrumbs,
.ct-breadcrumbs a,
.ct-breadcrumbs span,
.ct-breadcrumbs .ct-separator {
	color: var(--theme-palette-color-4) !important;
}
.ct-breadcrumbs a:hover {
	color: var(--theme-palette-color-2) !important;
}
.ct-breadcrumbs .last-item,
.ct-breadcrumbs .last-item span {
	font-weight: 700 !important;
}

/* ==========================================================================
   Cart page (native block Cart) — Figma node 4601-12705.
   2-step progress bar (rendered by functions.php) + white "SUMMARY" card.
   WooCommerce Blocks are React-rendered; these target their stable classes.
   First pass — refine against the live front.
   ========================================================================== */

/* --- Progress steps (Cart -> Checkout). Steps are circle-width so the
   connector line touches the circles; labels sit absolutely underneath. --- */
.ev-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 480px;
	margin: 8px auto 56px;
}
.ev-step {
	position: relative;
	flex: 0 0 auto;
	width: 36px;
	display: flex;
	justify-content: center;
}
.ev-step__num {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}
.ev-step--current .ev-step__num,
.ev-step--done .ev-step__num {
	background: var(--theme-palette-color-4);
	color: var(--theme-palette-color-7);
}
.ev-step--todo .ev-step__num {
	background: transparent;
	color: var(--theme-palette-color-4);
	border: 3px solid var(--theme-palette-color-4);
}
.ev-step__label {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 16px;
	line-height: 28px;
	font-weight: 600;
	text-align: center;
	color: var(--theme-palette-color-4);
}
/* Labels stay navy whether the step is done, current or still to do (not grey). */
.ev-step--todo .ev-step__label {
	color: var(--theme-palette-color-4);
}
.ev-step__line {
	flex: 1 1 auto;
	height: 3px;
	background: var(--theme-palette-color-4);
}
/* Mobile: a shorter bar, so the line isn't full width and the circles and
   their labels ("Checkout") keep clear of the screen edges. */
@media (max-width: 767.98px) {
	.ev-steps {
		max-width: 220px;
	}
}
/* Mobile: the whole element at the mobile scale (16px desktop text → 13px,
   client 2026-11-30): smaller circles, numbers, labels, line and outline. */
@media (max-width: 689.98px) {
	.ev-steps {
		max-width: 190px;
		margin-bottom: 44px;
	}
	.ev-step {
		width: 28px;
	}
	.ev-step__num {
		width: 28px;
		height: 28px;
		font-size: 13px;
	}
	.ev-step--todo .ev-step__num {
		border-width: 2px;
	}
	.ev-step__label {
		top: calc(100% + 6px);
		font-size: 13px;
		line-height: 20px;
	}
	.ev-step__line {
		height: 2px;
	}
}

/* --- My Account: navigation panel white (Blocksy default is palette-8 grey) --- */
.woocommerce-account .ct-acount-nav {
	--account-nav-background-initial-color: var(--theme-palette-color-7);
}

/* --- Line items table (left column) --- */
.wp-block-woocommerce-cart-items-block .wc-block-cart-items__header {
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--theme-palette-color-4);
	border-bottom: 1px solid #d9d9d9;
}
.wp-block-woocommerce-cart-items-block .wc-block-cart-items__row {
	border-bottom: 1px solid #d9d9d9;
}
.wp-block-woocommerce-cart-items-block .wc-block-cart-item__image img {
	border: 1px solid #d9d9d9;
	border-radius: 10px;
}
.wp-block-woocommerce-cart-items-block .wc-block-cart-item__product-name {
	font-weight: 600;
	color: var(--theme-palette-color-4);
}
.wp-block-woocommerce-cart-items-block .wc-block-cart-item__prices,
.wp-block-woocommerce-cart-items-block .wc-block-cart-item__total {
	color: var(--theme-palette-color-4);
}

/* --- SUMMARY card (right column). Anchored on the order-summary block wrapper
   (server-rendered, reliable), not the JS-only inner classes. --- */
.wp-block-woocommerce-cart-order-summary-block {
	background: var(--theme-palette-color-7);
	border: 1px solid #d9d9d9;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba( 34, 46, 68, .1 );
	padding: 24px;
}
/* "SUMMARY" heading */
.wp-block-woocommerce-cart-order-summary-heading-block {
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #d9d9d9;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--theme-palette-color-4);
}
/* Totals rows: navy labels + values */
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__label,
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__value {
	color: var(--theme-palette-color-4);
}
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__value {
	font-weight: 600;
}
/* TOTAL row emphasised */
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item__label,
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item__value {
	font-size: var(--ev-fs-body);
	font-weight: 700;
}
/* Proceed to checkout: full-width navy button */
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button {
	width: 100%;
	justify-content: center;
	background: var(--theme-palette-color-4);
	color: var(--theme-palette-color-7);
	border-radius: 10px;
	font-weight: 600;
}

/* ==========================================================================
   Block checkout — the field boxes and the summary/address/terms separators
   lost their colour after the palette swap (their border-color resolves to an
   invisible value). Force a visible palette-8 (#D9D9D9) border everywhere.
   ========================================================================== */
/* Form fields: a clear 1px box (targeted by element + the country/region
   select's own class, so WooCommerce's class structure/version doesn't matter) */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout .wc-blocks-components-select__select,
.woocommerce-checkout textarea,
.woocommerce-checkout input[type="checkbox"] {
	border: 1px solid var(--theme-palette-color-8) !important;
}
/* ...but NOT the country/region combobox WRAPPER: it would double up with the
   inner <select>'s own border and look thicker than the other fields. */
.woocommerce-checkout .wc-blocks-components-select {
	border: 0 !important;
}
/* Summary rows, saved-address card and the terms separator (the exact Blocksy
   selectors whose border-color chained to an invisible variable) */
.wp-block-woocommerce-cart .wc-block-cart :is(table.wc-block-cart-items, .wc-block-cart-items tr td, .wc-block-components-totals-wrapper, .wp-block-woocommerce-cart-order-summary-totals-block),
.wc-block-checkout__sidebar :is(.wp-block-woocommerce-checkout-order-summary-block, .wc-block-components-totals-wrapper, .wp-block-woocommerce-checkout-order-summary-totals-block),
.wc-block-checkout__main :is(.wc-block-components-address-card, .wc-block-checkout__terms.wc-block-checkout__terms--with-separator) {
	border-color: var(--theme-palette-color-8) !important;
}

/* ==========================================================================
   Cart page — classic cart shortcode, tailored to Figma node 4601-12705.
   Columns ITEMS / QUANTITY / PRICE, SKU above the name, the native Blocksy
   quantity stepper (same as the product page), and a white "Summary" card.
   Header/label text is set in CSS (::after) to avoid clashing with the same
   WooCommerce strings used on other pages.
   ========================================================================== */

/* --- Items table --- */
.woocommerce-cart .woocommerce-cart-form table.shop_table { border: 0; }
.woocommerce-cart .shop_table thead th {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--theme-palette-color-1);
	vertical-align: bottom;
	line-height: 1.2;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--theme-palette-color-4);
}
.woocommerce-cart .shop_table thead th.product-name::after,
.woocommerce-cart .shop_table thead th.product-subtotal::after {
	display: inline-block;
	vertical-align: bottom;
	line-height: 1.2;
}
.woocommerce-cart .shop_table thead th.product-name { font-size: 0; }
.woocommerce-cart .shop_table thead th.product-name::after { content: "Items"; font-size: 13px; }
.woocommerce-cart .shop_table thead th.product-subtotal { font-size: 0; }
.woocommerce-cart .shop_table thead th.product-subtotal::after { content: "Price"; font-size: 13px; }
.woocommerce-cart .shop_table thead th.product-remove { font-size: 0; }

.woocommerce-cart .shop_table tbody td {
	border-top: 0;
	border-bottom: 1px solid #d9d9d9;
	vertical-align: middle;
}
.woocommerce-cart .product-thumbnail img,
.woocommerce-cart .product-thumbnail .ct-media-container {
	border-radius: 10px !important;
}
.woocommerce-cart .product-thumbnail img { border: 1px solid #d9d9d9; }
.woocommerce-cart .product-thumbnail .ct-media-container { overflow: hidden; }
/* Unit price under the product name is redundant (the PRICE column shows the
   line total) — hide it. */
.woocommerce-cart td.product-name .price,
.woocommerce-cart td.product-name .woocommerce-Price-amount,
.woocommerce-cart td.product-name .ct-product-multiply-symbol {
	display: none;
}
.woocommerce-cart .product-name .ev-cart-sku {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	color: #666666;
}
.woocommerce-cart .product-name a {
	font-weight: 600;
	color: var(--theme-palette-color-4);
	text-decoration: none;
}
.woocommerce-cart .product-subtotal {
	font-weight: 700;
	color: var(--theme-palette-color-4);
}
.woocommerce-cart .product-quantity { text-align: center; }
.woocommerce-cart .product-remove a.remove { color: #9aa3b2 !important; }

/* --- Summary card (.cart_totals) --- */
.woocommerce-cart .cart_totals {
	display: flex;
	flex-direction: column;
	background: var(--theme-palette-color-7);
	border: 0;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba( 34, 46, 68, .1 );
	padding: 24px;
}
.woocommerce-cart .cart_totals > h2 {
	order: 1;
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--theme-palette-color-1);
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--theme-palette-color-4);
}
.woocommerce-cart .cart_totals .ev-cart-count { order: 2; }
.woocommerce-cart .cart_totals > table { order: 3; margin: 0; }
.woocommerce-cart .cart_totals .wc-proceed-to-checkout,
.woocommerce-cart .cart_totals > .checkout-button { order: 4; }

.ev-cart-count {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 4px;
	color: var(--theme-palette-color-4);
}
.ev-cart-count__val { font-weight: 600; }

.woocommerce-cart .cart_totals table.shop_table { border: 0; width: 100%; }
/* kill Blocksy's native per-row border (a short line that doubled ours) */
.woocommerce-cart .cart_totals table tr { --theme-table-border-width: 0; }
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
	border: 0;
	padding: 8px 0;
	color: var(--theme-palette-color-4);
}
.woocommerce-cart .cart_totals td { text-align: right; font-weight: 600; }
/* full-width divider under Subtotal (on the cells so it spans the whole row) */
.woocommerce-cart .cart_totals tr.cart-subtotal th,
.woocommerce-cart .cart_totals tr.cart-subtotal td { border-bottom: 1px solid #d9d9d9; }
/* Row labels (left) read regular; only the values (right) are semibold. */
.woocommerce-cart .cart_totals tr.cart-subtotal th { font-weight: 400; }
/* "TOTAL (excl. taxes)" is now real, selectable text (gettext), kept on one line */
.woocommerce-cart .cart_totals tr.order-total th {
	white-space: nowrap;
	font-size: 16px;
	font-weight: 600;
}
.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td {
	padding-top: 16px;
	border-bottom: 0 !important; /* exception: last row keeps no line under it */
}
.woocommerce-cart .cart_totals tr.order-total td { font-size: 16px; font-weight: 600; }

/* Divider under the Total, then the CTA — full width like the others */
.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
	margin-top: 16px;
	padding: 16px 0 0;
	border-top: 1px solid #d9d9d9;
}
.woocommerce-cart .cart_totals .checkout-button {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--theme-palette-color-4);
	color: var(--theme-palette-color-7);
	border-radius: 10px;
	font-weight: 600;
}

/* The native cart coupon field is moved into the summary (below), so hide the
   one in the items-table actions row. */
.woocommerce-cart .woocommerce-cart-form .coupon {
	display: none !important;
}
/* The coupon is now in the summary and quantities auto-update, so the whole
   cart "actions" row is redundant — hiding it also removes the duplicate grey
   line it drew under the items (the "two lines"). */
.woocommerce-cart .woocommerce-cart-form tr:has(> td.actions) {
	display: none !important;
}

/* Summary "Promo code" row: a collapsible toggle (label + "+") that reveals the
   coupon field, between Subtotal and TOTAL. The row's own divider sits under it
   (the Subtotal divider sits above it). */
.woocommerce-cart .cart_totals tr.ev-promo-row td {
	padding: 0 !important;
	border-bottom: 1px solid #d9d9d9 !important;
}
.ev-promo__toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 12px 0;
	background: none;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	color: var(--theme-palette-color-4);
}
/* "+" / "−" drawn as two centred bars (glyph-independent, so it sits exactly
   on the label's vertical centre). */
.ev-promo__plus {
	position: relative;
	display: inline-block;
	flex: none;
	width: 18px;
	height: 18px;
}
.ev-promo__plus::before,
.ev-promo__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: currentColor;
	transform: translate(-50%, -50%);
}
.ev-promo__plus::before { width: 16px; height: 2px; } /* horizontal bar */
.ev-promo__plus::after { width: 2px; height: 16px; } /* vertical bar */
.ev-promo__toggle.is-open .ev-promo__plus::after { display: none; } /* "−" */
.ev-promo__form {
	display: flex;
	gap: 8px;
	padding: 0 0 12px;
}
.ev-promo__form[hidden] {
	display: none !important;
}
.ev-promo__input {
	flex: 1 1 auto;
	box-sizing: border-box;
	margin: 0;
	height: 50px !important;      /* match the Apply button height */
	padding: 0 16px;
	border: 1px solid #d9d9d9;
	border-radius: 10px !important; /* match the Apply button radius */
}
.ev-promo__apply.button {
	flex: 0 0 auto;
	margin: 0;
	border-radius: 10px;
}

/* Shipping/taxes note under "Proceed to checkout" (ⓘ icon + text) */
.woocommerce-cart .cart_totals .ev-cart-note {
	order: 5;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #666666; /* icon (stroke=currentColor) + text share this grey */
}
.ev-cart-note__i {
	flex: none;
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   Product tables (Description imports + Specifications). Keep them inside the
   content column (same left/right margins as the rest of the product page:
   capped at --theme-block-max-width and centred), and use a TRANSPARENT
   background with plain borders — no grey/white zebra. The imported PrestaShop
   tables also carry inline float/fixed-width that we neutralise.
   ========================================================================== */
.woocommerce-Tabs-panel table,
.wc-tab table,
.woocommerce-product-details__short-description table,
.woocommerce-product-attributes {
	float: none !important;
	width: 100% !important;
	max-width: var(--theme-block-max-width) !important;
	height: auto !important;
	margin: 0 auto 1em !important;
	border-collapse: collapse;
	table-layout: auto;
	background: transparent !important;
}
.woocommerce-Tabs-panel table th,
.woocommerce-Tabs-panel table td,
.wc-tab table th,
.wc-tab table td,
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
	background: transparent !important;
	border: 1px solid var(--theme-palette-color-8);
	padding: 10px 14px;
	vertical-align: top;
}

/* ==========================================================================
   Cart "You may also need" (4 related products, rendered by functions.php with
   the shop's type-2 cards). Centred heading comes from the .related.products
   rule above; force a 4-column grid like the product page.
   ========================================================================== */
.ev-cart-related {
	margin-top: 48px;
	clear: both;
}
.ev-cart-related .products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px;
	margin: 0;
}
@media (max-width: 999.98px) {
	.ev-cart-related .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
	.ev-cart-related .products { grid-template-columns: 1fr !important; }
}
/* Cart page only: the "You may also need" heading in Poppins 25/32 (Figma). */
.ev-cart-related > .ct-module-title {
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	font-size: var(--ev-fs-h3);
	line-height: 32px;
	letter-spacing: 0;
	text-align: center;
}
/* Cart page only: each line price (product-subtotal) in 18/24 semibold. */
.woocommerce-cart-form .cart_item td.product-subtotal .woocommerce-Price-amount {
	font-weight: 600;
	font-size: var(--ev-fs-body);
	line-height: 24px;
	letter-spacing: 0;
}

/* ==========================================================================
   "You may also need" cards (product page .related + cart .ev-cart-related):
   square (1:1) product images that scale with the column width, radius kept.
   NB: only the IMAGE is squared — the link wraps image+title+price, so touching
   it broke the layout (big gap under the title).
   ========================================================================== */
.related.products li.product img.wp-post-image,
.ev-cart-related li.product img.wp-post-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 10px;
}

/* ==========================================================================
   Contact page (#37): remove the underline on the e-mail and phone links
   (Blocksy's global link decoration is a background-image, not text-decoration).
   ========================================================================== */
.page-id-37 .ev-info a,
.page-id-37 a[href^="mailto:"],
.page-id-37 a[href^="tel:"] {
	text-decoration: none !important;
	background-image: none !important;
	--has-link-decoration: 0;
}
/* Keep the phone number on a single line on desktop (it was wrapping after
   "…86"). The column is wide enough — only the inter-group spaces were breaking. */
.page-id-37 a[href^="tel:"] {
	white-space: nowrap;
}

/* ==========================================================================
   Product page "You may also need": full-width white band with generous
   vertical breathing room (Figma: 72px top/bottom, content centred).
   ========================================================================== */
.single-product .related.products {
	background: var(--theme-palette-color-7);
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	max-width: 100vw; /* overrides the is-layout-constrained child cap */
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: 32px;
	padding: 72px 0;
	box-sizing: border-box;
	overflow: hidden;
}
/* keep the heading + grid within the content column, centred */
.single-product .related.products > .ct-module-title,
.single-product .related.products > .products {
	max-width: var(--theme-block-max-width);
	margin-inline: auto;
	padding-inline: 16px;
	box-sizing: border-box;
}
/* clean 4-col grid (Blocksy's default uses negative gutters that overflowed) */
.single-product .related.products > .products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	float: none;
}
@media (max-width: 999.98px) {
	.single-product .related.products > .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.single-product .related.products > .products { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Out-of-stock product: Request a Quote / Out of Stock buttons the same size
   as the in-stock buttons (they were shorter).
   ========================================================================== */
.single-product div.product .ct-cart-actions .ev-request-quote.button,
.single-product div.product .ct-cart-actions .single_add_to_cart_button,
.single-product div.product .ev-out-of-stock.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding-block: 12px;
}

/* ==========================================================================
   Archive / category / related cards (type-2): the whole card is clickable
   (stretched link overlay); the price + cart button stay above it. Out-of-
   stock cards show a greyed-out action button (like the OOS product page).
   ========================================================================== */
.products[data-products="type-2"] li.product {
	position: relative;
}
/* Whole card clickable: stretch the TITLE link over the card. The title <a>
   lives in an <h2> with no overflow:hidden, unlike the image link nested in the
   figure (whose overlay would get clipped to the image). */
.products[data-products="type-2"] li.product .woocommerce-loop-product__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.products[data-products="type-2"] li.product .ct-woo-card-actions,
.products[data-products="type-2"] li.product .ct-woo-card-actions *,
.products[data-products="type-2"] li.product .added_to_cart {
	position: relative;
	z-index: 2;
}
.products[data-products="type-2"] li.product.outofstock .ct-woo-card-actions .button {
	background: #e7eaf0 !important;
	color: #9aa3b2 !important;
	pointer-events: none;
	cursor: not-allowed;
}

/* Featured products collection cards (range pages): whole card clickable, and
   the description bottom-aligned (same as the shop cards). */
.wc-block-product-template li.product {
	position: relative;
}
.wc-block-product-template li.product .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
/* …but the cart button stays above that overlay (hover + click), like the
   shop cards' actions. */
.wc-block-product-template li.product .wp-block-woocommerce-product-button {
	position: relative;
	z-index: 2;
}
/* Descriptions sit at the bottom so they line up across the grid regardless of
   title length (all product cards). Target the SUMMARY WRAPPER (the flex child),
   not the inner text node. Some collections (home "Best sellers") wrap the card
   in an inner group, so it must fill the stretched grid cell for the auto margin
   to have room. */
.wc-block-product-template li.product .wp-block-woocommerce-product-summary,
.products[data-products="type-2"] li.product .entry-excerpt {
	margin-top: auto !important;
}
.wc-block-product-template li.product > .wp-block-group {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}
/* Home "Best sellers" & co nest sku+title+description in a flex-grow:0 group,
   with price/button in a sibling. Let that group grow so the description (its
   last child, margin-top:auto) drops to the bottom, just above the price. */
.wc-block-product-template li.product .wp-block-group:has(> .wp-block-woocommerce-product-summary) {
	flex-grow: 1;
}
/* Reserve 2 lines for the archive card title so a 1- vs 2-line title never
   shifts the bottom-aligned description out of line across the grid. */
.products[data-products="type-2"] li.product .woocommerce-loop-product__title {
	min-height: 48px; /* 2 × 24px line-height */
}
/* B15 range page: cap the featured products at 4 (one row). */
body.page-id-1010 .wp-block-woocommerce-product-collection li.product:nth-child(n + 5) {
	display: none;
}

/* ==========================================================================
   Home "Discover our featured Packs" cards: base shadow is set on the blocks
   (rgba(34,46,68,.10)); add the hover state (25%).
   ========================================================================== */
.ev-pack-card {
	transition: box-shadow 0.2s ease;
}
.ev-pack-card:hover {
	box-shadow: 0 4px 20px 0 rgba(34, 46, 68, 0.25) !important;
}

/* Same hover-shadow deepening on every WooCommerce product card site-wide
   (shop / archive, "You may also need", featured products in the range pages).
   They already carry the base shadow rgba(34,46,68,.10); lift it to .25. */
li.product {
	transition: box-shadow 0.2s ease;
}
li.product:hover {
	box-shadow: 0 4px 20px 0 rgba(34, 46, 68, 0.25) !important;
}

/* ==========================================================================
   WS Form "Contact us" inquiry tabs: green (palette-2) on hover (text + the
   underline), smooth transition; Send button green on hover.
   ========================================================================== */
.wsf-form.ev-form .ev-tabs label.wsf-label {
	transition: color 0.2s ease, border-color 0.2s ease, padding 0.2s ease, font-weight 0.2s ease;
}
.wsf-form.ev-form .ev-tabs input[type="radio"].wsf-field:hover + label.wsf-label,
.wsf-form.ev-form .ev-tabs input[type="radio"].wsf-field:focus-visible + label.wsf-label {
	color: #80BB2D;
	border-bottom-color: #80BB2D;
}
.wsf-form.ev-form .ev-submit .wsf-button:hover,
.wsf-form.ev-form .ev-submit button[type="submit"]:hover,
.wsf-form.ev-form button.wsf-button[type="submit"]:hover {
	background-color: #80BB2D !important;
	border-color: #80BB2D !important;
}

/* ==========================================================================
   Find my Vet (page #53): rounded map + info-icon alignment.
   ========================================================================== */
/* Round the WHOLE widget (search bar top corners, map bottom-left, list
   bottom-right) by clipping the outer container. */
#asl-storelocator.storelocator-main {
	border-radius: 10px;
	overflow: hidden;
}
/* "Clinics equipped…" note: align the icon-info.svg (wp-image-128) with the
   first line of the paragraph (it sat too low vs the text). */
.wp-block-group:has(> figure > img.wp-image-128) {
	align-items: flex-start;
}
.wp-block-group > figure:has(> img.wp-image-128) {
	margin: 2px 0 0;
	flex: none;
	line-height: 0;
}
.wp-block-group:has(> figure > img.wp-image-128) > p {
	margin: 0;
}

/* Find my Vet: stores/countries list — green text on hover (ASL items are
   <li class="asl-country-li"><a class="colisiond">Country</a>). */
#asl-storelocator .asl-country-li a,
#asl-storelocator .sl-list li a {
	transition: color 0.15s ease;
}
#asl-storelocator .asl-country-li:hover a,
#asl-storelocator .asl-country-li a:hover,
#asl-storelocator .sl-list li:hover > a {
	color: var(--theme-palette-color-2) !important;
}

/* ==========================================================================
   Home hero: the animals image (wp-image-960) should read ~732px like the
   mock-up. Rebalance the two hero columns (text ~35% / image ~65%), bottom-
   align the animals, and let the image fill up to 732px. Desktop only.
   ========================================================================== */
@media (min-width: 768px) {
	/* Keep the text column at 50% (do NOT move it); the image column stays 50%
	   too and bottom-anchors its image. */
	.home .wp-block-columns:has(img.wp-image-959) > .wp-block-column:has(img.wp-image-959),
	.home .wp-block-columns:has(img.wp-image-960) > .wp-block-column:has(img.wp-image-960),
	.home .wp-block-columns:has(img.wp-image-958) > .wp-block-column:has(img.wp-image-958) {
		align-self: flex-end;
	}
	/* Enlarge the animal/material images beyond their column — overflow toward
	   the centre and the page margin — without narrowing the text column. */
	.home figure:has(> img.wp-image-959),
	.home figure:has(> img.wp-image-960),
	.home figure:has(> img.wp-image-958) {
		margin: 0;
		width: 120%;
		max-width: none;
		margin-left: -10%;
	}
}
.home img.wp-image-959,
.home img.wp-image-960,
.home img.wp-image-958 {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

/* ==========================================================================
   Shop/archive badges styled like the home custom "New!" tag (green pill,
   white text, radius 10), placed on the RIGHT. "Sold out" keeps its own
   colour but takes the same pill shape.
   ========================================================================== */
.ct-woo-badges {
	left: auto !important;
	right: 15px !important;
	align-items: flex-end !important;
	text-align: right;
}
.ct-woo-badge-new,
.out-of-stock-badge {
	height: auto !important;   /* Blocksy pins it to 28px; let it grow to ~36px like the home tag */
	border-radius: 10px;
	padding: 6px 12px;
	font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);
	font-weight: 600;
	line-height: 24px;
	clip-path: none;
}
.ct-woo-badge-new {
	background-color: var(--theme-palette-color-2) !important;
	color: var(--theme-palette-color-7) !important;
}
/* "Sold out" badge: light grey pill (#e7eaf0, same as the sold-out cart button
   below it), grey text (#9ba4b3, same grey as the sold-out cart icon), sentence case. The label text is literally "SOLD OUT", so
   lowercase it and re-capitalise the first letter to render "Sold out". */
.out-of-stock-badge {
	background-color: #e7eaf0 !important;
	color: #9ba4b3 !important;
	text-transform: lowercase;
	display: inline-block !important; /* ::first-letter is ignored on flex boxes */
}
.out-of-stock-badge::first-letter {
	text-transform: uppercase;
}

/* Checkout coupon field (block): match the input height + radius to the Apply
   button (54px / radius 10), like the cart's promo field. */
.wc-block-components-totals-coupon .wc-block-components-text-input input {
	height: 54px !important;
	border-radius: 10px !important;
}

/* WS Form selects: the whole control shows the pointer cursor (not only the top) */
.wsf-form.ev-form select,
.wsf-form.ev-form .wsf-select,
.wsf-form.ev-form .wsf-field--select,
.wsf-form.ev-form [data-type="select"] select {
	cursor: pointer;
}

/* Footer menu: the genuinely current page link (the one you're actually on)
   turns green + SemiBold. "About us" points to /contact-us/#about-leroy-biotech,
   so Blocksy flags it "current" on the whole Contact page — that anchor
   false-positive keeps the normal white/400 (only the real target goes green). */
.ct-footer .menu-item.current-menu-item > a[href*="#"],
.ct-footer .menu-item.current-menu-ancestor > a[href*="#"],
.ct-footer .ct-menu-link[aria-current][href*="#"] {
	color: var(--theme-palette-color-7) !important;
}
.ct-footer .menu-item.current-menu-item > a:not([href*="#"]),
.ct-footer .menu-item.current_page_item > a:not([href*="#"]),
.ct-footer .ct-menu-link[aria-current="page"]:not([href*="#"]) {
	color: var(--theme-palette-color-2) !important;
	font-weight: 600 !important;
}
.ct-footer .menu-item > a:hover,
.ct-footer .ct-menu-link:hover {
	color: var(--theme-palette-color-2) !important;
}

/* Header menu: the current page link is already green (Blocksy active colour) —
   also make it SemiBold when selected. */
.ct-header .menu-item.current-menu-item > a:not([href*="#"]),
.ct-header .menu-item.current_page_item > a:not([href*="#"]),
.ct-header .ct-menu-link[aria-current="page"]:not([href*="#"]) {
	font-weight: 600 !important;
}

/* Home: in the range section that holds the animals image, bring the products
   grid closer to the (tall) image — the product group had a 64px top margin. */
.home .ev-range-bg:has(img.wp-image-960) > .wp-block-group:last-child {
	margin-top: 24px !important;
}

/* ==========================================================================
   Side cart (offcanvas #woo-cart-panel): solid separators like the cart page,
   not Blocksy's dashed ones (suggested products / subtotal / buttons / items).
   ========================================================================== */
#woo-cart-panel .ct-suggested-products--mini-cart,
#woo-cart-panel .woocommerce-mini-cart__total,
#woo-cart-panel .woocommerce-mini-cart__buttons {
	border-top-style: solid !important;
	border-top-color: #d9d9d9 !important;
}

/* Side cart "View cart" button: outline style like the product page
   "Request a Quote" (transparent, navy border + text). "Checkout" stays
   the filled navy primary. */
#woo-cart-panel .woocommerce-mini-cart__buttons a.button:not(.checkout) {
	background: transparent !important;
	border: 2px solid var(--theme-palette-color-4) !important;
	color: var(--theme-palette-color-4) !important;
}
#woo-cart-panel .woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
	background: var(--theme-button-background-hover-color) !important;
	border-color: var(--theme-button-background-hover-color) !important;
	color: var(--theme-button-text-hover-color) !important;
}

/* ==========================================================================
   Range pages (B15 / EZ / HF) "featured products" collection: match the
   product-page "You may also need" card typography — SKU 14px (no "SKU:"
   prefix), title 16px/600, description 16px/400. The collection is built
   from WooCommerce Product Collection blocks whose preset font-size classes
   (.has-medium-font-size / .has-small-font-size) ship !important, hence the
   !important overrides here.
   ========================================================================== */
.ev-range-page .wp-block-woocommerce-product-collection .wc-block-components-product-sku {
	font-size: 14px !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}
.ev-range-page .wp-block-woocommerce-product-collection .wc-block-components-product-sku .wp-block-post-terms__prefix {
	display: none !important;
}
.ev-range-page .wp-block-woocommerce-product-collection .wp-block-post-title {
	margin-top: 8px !important; /* breathing room under the tight-leading SKU */
}
.ev-range-page .wp-block-woocommerce-product-collection .wp-block-post-title,
.ev-range-page .wp-block-woocommerce-product-collection .wp-block-post-title a {
	font-size: 16px !important;
	line-height: 1.25 !important; /* 1 clipped the descenders of the 2-line clamp */
}
.ev-range-page .wp-block-woocommerce-product-collection .wc-block-components-product-summary,
.ev-range-page .wp-block-woocommerce-product-collection .wc-block-components-product-summary * {
	font-size: 16px !important;
	line-height: 24px !important;
}

/* ==========================================================================
   Find my Vet (page 53): the 6 key-figure blocks are a Gutenberg Grid block
   (3 columns on desktop). On mobile, show them 2 per row instead of stacking.
   ========================================================================== */
@media (max-width: 767.98px) {
	body.page-id-53 .wp-block-group.is-layout-grid:has(.wp-block-group.is-vertical) {
		grid-template-columns: 1fr 1fr !important;
	}
}

/* The product-category "Learn more" link uses the underlined arrow-link style
   (added to the .ev-arrow-link selector group above); only the spacing above it
   is set here so it sits apart from the description. */
.hero-section .page-description a[href*="/our-products/"] {
	margin-top: 0;
}

/* ==========================================================================
   Checkout order summary: match the cart summary separators — a navy (colour 1)
   line just under the "Order summary" heading, and grey lines between the
   product line items.
   ========================================================================== */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
	border-bottom: 0 !important;
	position: relative;
}
/* Navy line inset 16px on each side, so it is as short as the grey product
   lines below (which are inset by the summary's own padding). */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	border-bottom: 1px solid var(--theme-palette-color-1);
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item {
	border-bottom: 1px solid #d9d9d9 !important;
	padding-bottom: 12px !important; /* space between the product and its line */
	margin-bottom: 16px !important;  /* space after the line, before the next product */
}
/* No line under the last product. */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item:last-child {
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/* ==========================================================================
   "Check" list style: bullets replaced by the home circle-check icon. Opt in
   per list with the "Check" list style (block editor) or class="ev-check"
   (classic HTML, e.g. a product short description).
   ========================================================================== */
ul.ev-check,
ul.is-style-ev-check {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
ul.ev-check li,
ul.is-style-ev-check li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 8px;
}
ul.ev-check li::before,
ul.is-style-ev-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	background: url(img/check.png) center / contain no-repeat;
}

/* "Read more" under the product short description (arrow-link style): sits
   close under the short description, and uses a down-arrow icon (anchors to the
   description tab below) instead of the right arrow. Hover-green is inherited
   from .ev-arrow-link (the icon is a currentColor mask). */
.single-product .ev-readmore {
	margin-top: 2px;
}
.ev-readmore a::after {
	width: 16px;
	height: 16px;
	-webkit-mask-image: url(img/arrow-down.svg);
	        mask-image: url(img/arrow-down.svg);
}

/* ==========================================================================
   "Need more information?" CTA paragraph: instead of a hard <br> (which forces
   an ugly break on mobile), keep the original desktop two-line shape — wraps
   right after "any" — with a max-width, and let mobile wrap naturally.
   ========================================================================== */
.ev-cta-text {
	max-width: 440px; /* between the "…any" line (421px) and "…any questions," (506px) */
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 767.98px) {
	.ev-cta-text {
		max-width: none;
	}
}

/* ==========================================================================
   Footer (mobile): tighten the space under the "Customer service" and "Follow
   our activities" widget titles. The "Customer service" gap is the following
   menu's margin-top; the "Follow our activities" gap is the title group's flex
   row-gap.
   ========================================================================== */
@media (max-width: 767.98px) {
	#footer nav.footer-menu-inline {
		margin-top: 10px;
	}
	#footer .wp-block-group.is-vertical:has(> .widget-title) {
		row-gap: 10px;
	}
}

/* ==========================================================================
   Product description "Items included": the check list shown over two columns
   (Figma). The title is a small uppercase eyebrow; each column is its own
   ul.ev-check. Stacks to one column on mobile.
   ========================================================================== */
.ev-items-title {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	color: var(--theme-palette-color-4);
	margin: 0 0 12px;
}
.ev-items-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 48px;
	align-items: start;
}
.ev-items-2col ul.ev-check {
	margin: 0;
}
@media (max-width: 600px) {
	.ev-items-2col {
		grid-template-columns: 1fr;
	}
}

/* The ⚠ warning emoji is rendered as the branded warning icon (product content
   and ACF WYSIWYG tabs such as "Cleaning"). Editors just type the emoji. */
.ev-warning-icon {
	display: inline-block;
	width: 20px;
	height: 18px;
	vertical-align: -0.2em;
	background: url(img/warning.png) center / contain no-repeat;
}

/* Checkout "Promo code" toggle: a + at the RIGHT (– when open), drawn as two
   centered bars exactly like the cart's .ev-promo__plus, instead of the chevron.
   The label stays on the left. */
.wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
	display: none;
}
.wc-block-components-totals-coupon .wc-block-components-panel__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}
.wc-block-components-totals-coupon .wc-block-components-panel__button::before,
.wc-block-components-totals-coupon .wc-block-components-panel__button::after {
	content: "";
	position: absolute;
	top: 50%;
	background: currentColor;
}
.wc-block-components-totals-coupon .wc-block-components-panel__button::before {
	right: 1px;
	width: 16px;
	height: 2px;
	transform: translateY(-50%);
}
.wc-block-components-totals-coupon .wc-block-components-panel__button::after {
	right: 8px;
	width: 2px;
	height: 16px;
	transform: translateY(-50%);
}
.wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"]::after {
	display: none; /* + becomes – when open */
}

/* Home pack cards (HF / EZ / B15): hovering a card turns its title green. */
.ev-pack-card .wp-block-heading {
	transition: color 0.25s ease;
}
.ev-pack-card:hover .wp-block-heading {
	color: var(--theme-palette-color-2);
}
/* The whole card links to the pack product (like the product cards), through
   an empty link laid over the card (blocksy_child_pack_card_link() in
   functions.php): hovering the card no longer hovers "Buy the Pack", only the
   button itself does. Both buttons stay on top, with their own links, and are
   centred. Only the pack cards get that link: the product cards that share
   .ev-pack-card (Product Collection) keep their add-to-cart button as is. */
.ev-pack-card:has(.wp-block-buttons) {
	position: relative;
}
.ev-pack-card__link {
	position: absolute;
	inset: 0;
	z-index: 3;
}
.ev-pack-card .wp-block-buttons {
	position: relative;
	z-index: 4;
}
.ev-pack-card .wp-block-buttons {
	justify-content: center;
}

/* Mobile shop-filter offcanvas + the account (login) popup: white background
   instead of the grey palette-8 default surface. */
#woo-filters-panel .ct-panel-inner,
.ct-account-modal {
	background-color: var(--theme-palette-color-7) !important;
}
/* Login popup fields: match the contact-form field style — 2px grey border,
   10px radius, white background, navy 16px text. (Padding left as-is so the
   password field keeps room for its show-password icon.) */
#account-modal input[type="text"],
#account-modal input[type="email"],
#account-modal input[type="password"] {
	border: 2px solid var(--theme-palette-color-8) !important;
	border-radius: 10px !important;
	background-color: var(--theme-palette-color-7) !important;
	color: var(--theme-palette-color-4);
	font-size: 16px;
}

/* Contact page (37): the 4 reassurance cards (Collaborative / Innovative / …)
   go 2-up on mobile instead of stacking, with smaller icons so they fit. */
@media (max-width: 767.98px) {
	body.page-id-37 .wp-block-group.is-layout-grid:has(> .wp-block-group.has-background.is-vertical) {
		grid-template-columns: 1fr 1fr !important;
		gap: 16px !important;
	}
	body.page-id-37 .wp-block-group.is-layout-grid:has(> .wp-block-group.has-background.is-vertical) img {
		width: 56px !important;
		height: auto !important;
	}
}

/* Range hero buttons (View Catalog + Buy the Pack) on EZ / HF / B15: one
   consistent size, matching the home "Buy the Pack" buttons (18px / 27 line /
   16px padding → 59px tall). "View Catalog" otherwise kept the default size. */
.ev-range-page .ev-range-hero .wp-block-button__link {
	font-size: var(--ev-fs-button) !important;
	line-height: 27px !important;
	padding: 16px !important;
}
/* The outline "View Catalog" has a 2px border (+4px tall); give the filled
   "Buy the Pack" a transparent 2px border so both buttons are the same height. */
.ev-range-page .ev-range-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	border: 2px solid transparent !important;
}

/* ==========================================================================
   Mobile product gallery: when a product has more than 3 images, show the
   thumbnails as ONE scrollable row of 3 (instead of wrapping to show them all),
   with prev/next arrows. JS adds the .ev-gallery-scroll class + the arrows only
   when there are more than 3 thumbnails. Desktop keeps its vertical thumbs.
   ========================================================================== */
.ev-thumb-arrow {
	display: none;
}
/* Tablets (690–999px): same as mobile — main image on top without arrows,
   the thumbnails as a horizontal strip below it (client 2026-11-30), instead of
   Blocksy's left column (data-thumbs="left" from 690px). */
@media (min-width: 690px) and (max-width: 999.98px) {
	.woocommerce-product-gallery[data-thumbs="left"] .flexy {
		margin-inline-start: 0;
	}
	.woocommerce-product-gallery[data-thumbs="left"] .flexy-pills {
		position: relative;
		inset: auto;
		height: auto;
		--pills-direction: row;
		--thumbs-left-spacing: calc(var(--thumbs-spacing, 15px) / 2);
		--thumbs-right-spacing: calc(var(--thumbs-spacing, 15px) / 2);
		--thumbs-container-margin: 0 calc(var(--thumbs-spacing, 15px) / -2);
	}
	.woocommerce-product-gallery[data-thumbs="left"] .flexy-pills [data-flexy] {
		max-height: none;
	}
	.woocommerce-product-gallery[data-thumbs="left"] .flexy-pills [class*="flexy-arrow"]:not(.ev-thumb-arrow) {
		display: none !important;
	}
}
@media (max-width: 999.98px) {
	.woocommerce-product-gallery .flexy-pills.ev-gallery-scroll {
		position: relative;
	}
	.woocommerce-product-gallery .flexy-pills.ev-gallery-scroll ol {
		flex-wrap: nowrap !important;
		margin: 0 30px;
		padding: 0;
		gap: 16px; /* Figma 7592-2799: 16px between the thumbnails */
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		scrollbar-width: none;
	}
	.woocommerce-product-gallery .flexy-pills.ev-gallery-scroll ol::-webkit-scrollbar {
		display: none;
	}
	.woocommerce-product-gallery .flexy-pills.ev-gallery-scroll ol > li {
		flex: 0 0 calc((100% - 32px) / 3) !important;
		margin: 0 !important;
		padding-inline: 0 !important; /* Blocksy's 7.5px side padding made the visible gap 31px */
		scroll-snap-align: start;
	}
	/* The gallery wrapper clips with overflow:hidden (the main slider is clipped
	   by .flexy-view instead), which hid the thumbnail arrows — allow them to
	   show when the scrollable thumb strip is active. */
	.woocommerce-product-gallery:has(.flexy-pills.ev-gallery-scroll) {
		overflow: visible;
	}
	.ev-gallery-scroll .ev-thumb-arrow {
		display: flex !important;
		visibility: visible !important; /* Blocksy hides .flexy-pills buttons by default */
		align-items: center;
		justify-content: center;
		position: absolute;
		top: calc(50% + 7.5px); /* centred on the thumbnails: each li has a 15px top padding */
		transform: translateY(-50%);
		width: 24px;
		height: 30px;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
		cursor: pointer;
		z-index: 10;
	}
	/* Chevron = the Downloads icon (img/chevron.svg, a DOWN chevron) masked so it
	   takes the navy colour, then rotated per direction: +90deg → points left
	   (prev), -90deg → points right (next). */
	.ev-gallery-scroll .ev-thumb-arrow::before {
		content: "";
		width: 16.36px; /* rotated: 9 × 16.36 bare navy chevron (Figma 7592-2799) */
		height: 9px;
		background-color: var(--theme-palette-color-4);
		-webkit-mask: url(img/chevron.svg) center / contain no-repeat;
		        mask: url(img/chevron.svg) center / contain no-repeat;
	}
	.ev-gallery-scroll .ev-thumb-arrow--prev {
		left: 0;
	}
	.ev-gallery-scroll .ev-thumb-arrow--prev::before {
		transform: rotate(90deg);
	}
	.ev-gallery-scroll .ev-thumb-arrow--next {
		right: 0;
	}
	.ev-gallery-scroll .ev-thumb-arrow--next::before {
		transform: rotate(-90deg);
	}
	/* No big arrows over the main image on mobile: the thumbnail chevrons (and
	   swiping) are enough. */
	.woocommerce-product-gallery .flexy-arrow-prev,
	.woocommerce-product-gallery .flexy-arrow-next {
		display: none !important;
	}
}

/* ==========================================================================
   Find My Vet (Agile Store Locator): adapt the widget to the site style. The
   plugin exposes its palette as CSS variables, so the teal-green (#57bc90) is
   swapped for the site green (palette-2) and the grey/black text for navy
   (palette-4); the search header is dark blue (palette-1). The selected list item no longer gets the green hover (no
   green-on-green).
   ========================================================================== */
.asl-cont.asl-template-1 {
	--sl-primary: var(--theme-palette-color-2) !important;
	--sl-secondary: var(--theme-palette-color-4) !important;
	--sl-header: var(--theme-palette-color-1) !important; /* search header: dark blue */
	--sl-search-btn-bg: var(--theme-palette-color-2) !important;
	--sl-action-btn-bg: var(--theme-palette-color-2) !important;
	--sl-highlighted-list-color: var(--theme-palette-color-2) !important;
	--asl-mrk-infobox-clr: var(--theme-palette-color-2) !important;
	--sl-infobox-a: var(--theme-palette-color-2) !important;
	--sl-list-title: var(--theme-palette-color-4) !important;
	--sl-color: var(--theme-palette-color-4) !important;
	--sl-infobox-color: var(--theme-palette-color-4) !important;
}
/* Collapsed list rows: navy text (the label sits in a <span> that otherwise
   keeps the green accent). */
.asl-cont .sl-list li.item-state > a.colisiond,
.asl-cont .sl-list li.item-state > a.colisiond span,
.asl-cont .sl-list li.item-state > button.colisiond,
.asl-cont .sl-list li.item-state > button.colisiond span {
	color: var(--theme-palette-color-4) !important;
}
.asl-cont .sl-list li.item-state > a.colisiond:hover,
.asl-cont .sl-list li.item-state > a.colisiond:hover span,
.asl-cont .sl-list li.item-state > button.colisiond:hover,
.asl-cont .sl-list li.item-state > button.colisiond:hover span {
	color: var(--theme-palette-color-2) !important;
}
/* Selected / expanded rows have a green background — make their text white so it
   stays legible instead of green-on-green (this was the issue on a selected
   city). It stays white on hover too. */
.asl-cont .sl-list li.item-state > a:not(.colisiond),
.asl-cont .sl-list li.item-state > a:not(.colisiond) span,
.asl-cont .sl-list li.item-state > button:not(.colisiond),
.asl-cont .sl-list li.item-state > button:not(.colisiond) span {
	color: #fff !important;
}
/* White rule under "Search Location" (on the dark blue header). */
.asl-cont .Filter_section .search_filter > label {
	border-bottom-color: #fff !important;
}
/* "Locations" bar: light blue like the "Need more information?" block, navy
   title, and no store count (the count and its ": " are hidden). */
.asl-cont .Num_of_store {
	background-color: var(--theme-palette-color-6) !important;
}
.asl-cont .Num_of_store > span {
	font-size: 0;
}
.asl-cont .Num_of_store .sl-head-title {
	font-size: 13px;
	color: var(--theme-palette-color-4) !important;
}
.asl-cont .Num_of_store .count-result {
	display: none;
}
/* Map clusters: always orange, whatever the count (same orange as the pins). */
.asl-cont .asl-cluster-1,
.asl-cont .asl-cluster-2,
.asl-cont .asl-cluster-3 {
	--cluster-color: #ff9b00 !important;
}

/* Header cart: a plain navy cart icon (24px, transparent background), matching
   the search icon, on mobile and desktop alike (the navy-square button is no
   longer used). The count badge is kept; green on hover. */
.ct-header-cart .ct-icon-container > svg {
	display: none;
}
.ct-header-cart .ct-icon-container::before {
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	background-color: var(--theme-palette-color-4);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3.5h2.2l3.1 12h10.8L20.8 7H5.1'/%3E%3Ccircle cx='8.3' cy='19.8' r='1.3' fill='%23000' stroke='none'/%3E%3Ccircle cx='17' cy='19.8' r='1.3' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3.5h2.2l3.1 12h10.8L20.8 7H5.1'/%3E%3Ccircle cx='8.3' cy='19.8' r='1.3' fill='%23000' stroke='none'/%3E%3Ccircle cx='17' cy='19.8' r='1.3' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	transition: background-color 0.2s ease;
}
.ct-header-cart .ct-cart-item:hover .ct-icon-container::before,
.ct-header-cart .ct-cart-item:focus-visible .ct-icon-container::before {
	background-color: var(--theme-palette-color-2);
}

/* ==========================================================================
   Mobile: "You may also need" related products 2-up (like the 2-column shop),
   instead of a single column.
   ========================================================================== */
@media (max-width: 600px) {
	.related.products .products,
	.ev-cart-related .products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}
}
/* Mobile: "You may also need" (product pages and cart) as the home's swipe
   slider (one card and a half, running to the right edge with a fade) instead
   of the 2-up grid above. Same specificity as that rule, so it wins by order. */
@media (max-width: 767.98px) {
	.related.products .products {
		display: flex !important;
		gap: 16px !important;
		width: calc(100% + (100vw - 100%) / 2);
		max-width: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		padding: 12px 32px 12px 0;
		margin-block: -12px !important;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
		        mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
	}
	.related.products .products::-webkit-scrollbar {
		display: none;
	}
	.related.products .products > li.product {
		flex: 0 0 calc((100% - 16px) / 1.5);
		max-width: none;
		width: auto;
		margin: 0;
		scroll-snap-align: start;
	}
	/* Product pages: the section is already full width, so the slider keeps
	   that width and starts at the page gutter instead (snap included). */
	.single-product .related.products .products {
		width: 100%;
		padding-left: calc((100vw - var(--theme-container-edge-spacing, 88vw)) / 2);
		scroll-padding-left: calc((100vw - var(--theme-container-edge-spacing, 88vw)) / 2);
	}
}

/* ==========================================================================
   "Products" mega menu (native Blocksy Pro, 3 columns, Dropdown Width =
   Custom 888px, centred). Figma: a white box with 10px corners, padding
   48 / 48 / 72 / 48, 3 columns of 232px 48px apart; each range a grey uppercase
   heading over navy links. Blocksy paints the dropdown navy and renders every
   row at 12px/#d9d9d9, so the panel is restyled here. The ct-mega-menu-*
   classes are added only on the desktop header menu (never the offcanvas).
   ========================================================================== */
.ct-mega-menu-custom-width > .sub-menu {
	grid-template-columns: repeat(3, 232px) !important;
	justify-content: center;
	column-gap: 48px;
	padding: 48px 48px 72px !important;
	background-color: var(--theme-palette-color-7) !important;
	border-radius: 10px !important;
	box-shadow: 0 4px 20px rgba(34, 46, 68, 0.12) !important;
}
/* Right-aligned with the header content (under the account / cart icons)
   instead of centred on "Products", which pushed the 888px box against the
   screen edge on 1000–1300px wide screens. */
nav > ul > .ct-mega-menu-custom-width {
	position: static !important; /* Blocksy anchors it to the item (data-submenu) when it guesses an overflow */
}
nav > ul > .ct-mega-menu-custom-width > .sub-menu {
	--theme-submenu-inline-offset: 0px !important;
	left: auto !important;
	right: calc((100% - min(var(--theme-container-edge-spacing, 90vw), var(--theme-normal-container-max-width, 1120px))) / 2) !important;
}
.ct-mega-menu-custom-width > .sub-menu > li {
	padding: 0 !important; /* column = title 21px + 24px + list 100px = 145px (Figma) */
}
/* Column heading = the range name (its own level-2 link → the range page) */
.ct-mega-menu-custom-width > .sub-menu > li > a {
	display: block;
	color: #8a94a6 !important;
	font-family: "Poppins", sans-serif;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
	display: flex !important;
	align-items: center;
	width: 232px; /* Figma: column content 232px wide */
	max-width: 100%;
	padding: 0 0 12px !important;
	margin-bottom: 16px;
	border: 0 !important;
	border-bottom: 1.5px solid #d9d9d9 !important; /* grey divider under the range title (Figma 7417-7762) */
	border-radius: 0 !important;
	background: none !important;
	pointer-events: none; /* the range titles are labels, not links */
	cursor: default;
}
/* Range links (level-3) */
/* Links list: 232px wide, 3 links of 28px with 8px between = 100px high */
.ct-mega-menu-custom-width > .sub-menu .sub-menu {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 232px;
	max-width: 100%;
	margin: 0;
	padding: 0;
}
.ct-mega-menu-custom-width > .sub-menu .sub-menu a {
	display: block;
	color: var(--theme-palette-color-4) !important;
	font-family: "Poppins", sans-serif;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 28px !important;
	letter-spacing: 0;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
.ct-mega-menu-custom-width > .sub-menu .sub-menu a:hover {
	color: var(--theme-palette-color-2) !important;
}
/* No per-row separators inside the columns */
.ct-mega-menu-custom-width > .sub-menu .sub-menu li {
	border: 0 !important;
	margin: 0;
}

/* ==========================================================================
   Mobile offcanvas menu (Figma 7417-7715 / 7658 / 7701): a WHITE drawer with
   navy rows + dividers, a logo/close header, and a drill-down. Tapping Products
   or Account slides a full sub-panel in (its own back + title + close header);
   Blocksy's inline accordion is replaced by the drill-down JS. Scoped to
   #offcanvas so the desktop header menu is untouched.
   ========================================================================== */
#offcanvas .ct-panel-inner {
	background: var(--theme-palette-color-7) !important;
	position: relative;
	overflow: hidden;
	width: 100vw !important; /* the drawer fills the whole screen */
	max-width: 100vw !important;
}
/* Top-align the content (Blocksy centres the offcanvas vertically) and make the
   menu full width so the rows, dividers and chevrons span the drawer. */
#offcanvas .ct-panel-content,
#offcanvas .ct-panel-content-inner {
	justify-content: flex-start !important;
	align-items: stretch !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
}
#offcanvas .mobile-menu {
	width: 100%;
	margin: 0 !important;
	text-align: left;
}
#offcanvas .mobile-menu > ul {
	width: 100%;
	align-items: stretch;
}
/* Drawer header: logo (left) + close (right), with a full-width rule below it */
#offcanvas .ct-panel-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 14px 20px;
	border-bottom: 1px solid #bababa; /* full-width rule between logo and menu */
}
#offcanvas .ev-mm-logo {
	margin-right: auto;
	display: flex;
	align-items: center;
}
#offcanvas .ev-mm-logo img {
	height: 32px;
	width: auto;
	display: block;
}
#offcanvas .ct-toggle-close {
	color: var(--theme-palette-color-4) !important;
}
/* Blocksy's drawer icons carry an explicit white fill (for the dark default
   drawer); recolour them navy so they show on the white panel. */
#offcanvas .ct-toggle-close svg,
#offcanvas .ct-toggle-close svg path,
#offcanvas .mobile-menu .ct-toggle-dropdown-mobile svg,
#offcanvas .mobile-menu .ct-toggle-dropdown-mobile svg path {
	fill: var(--theme-palette-color-4) !important;
}
/* Main menu rows */
#offcanvas .mobile-menu > ul {
	padding: 0;
	margin: 0;
}
/* Row divider: 1.5px #D9D9D9, inset so it starts at the label and ends at the
   row's right content edge (level with the arrow). It is drawn on the ROW
   CONTENT, never on the <li> — the top-level <li> must stay position:static so
   its drill sub-panel keeps anchoring to the full-height drawer, not the row. */
#offcanvas .mobile-menu > ul > li > .ct-sub-menu-parent,
#offcanvas .mobile-menu > ul > li > .ct-menu-link {
	position: relative;
}
#offcanvas .mobile-menu > ul > li > .ct-sub-menu-parent::after,
#offcanvas .mobile-menu > ul > li > .ct-menu-link::after {
	content: "";
	position: absolute;
	left: 20px;
	right: 44px; /* ends level with the arrow's right edge (366px divider on 430px) */
	bottom: 0;
	height: 1.5px;
	background: #d9d9d9;
}
#offcanvas .mobile-menu .ct-menu-link {
	color: var(--theme-palette-color-4) !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 28px !important;
	letter-spacing: normal !important;
	padding: 16px 20px 8px !important; /* smaller bottom padding → the divider sits closer under the label */
}
/* Space below each divider before the next item (Figma: the rule sits close
   under its label, with a gap below it). */
#offcanvas .mobile-menu > ul > li {
	margin-bottom: 10px;
}
#offcanvas .mobile-menu .ct-sub-menu-parent {
	display: flex;
	align-items: center;
}
#offcanvas .mobile-menu .ct-sub-menu-parent > a {
	flex: 1;
	min-width: 0; /* let the label shrink so the toggle never overflows the row (keeps the arrow level with the divider end) */
}
#offcanvas .mobile-menu .ct-sub-menu-parent {
	max-width: 100%;
	box-sizing: border-box;
}
/* Parent "drill" indicator = the Downloads arrow icon (img/arrow-right.svg),
   centred on the row (replaces Blocksy's chevron). */
#offcanvas .mobile-menu .ct-toggle-dropdown-mobile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px !important;
	min-width: 18px !important;
	height: 18px;
	margin-right: 44px; /* arrow's right edge 44px from the edge = level with the divider end (366px divider on 430px) */
	padding: 0 !important;
	background: none;
	border: 0;
}
#offcanvas .mobile-menu .ct-toggle-dropdown-mobile svg {
	display: none;
}
#offcanvas .mobile-menu .ct-toggle-dropdown-mobile::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	background: url(img/arrow-right.svg) center / contain no-repeat;
}
/* Drill sub-panel: a full-drawer white panel that slides in from the right */
#offcanvas .mobile-menu > ul > li.menu-item-has-children > ul.sub-menu {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	background: var(--theme-palette-color-7);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	z-index: 6;
	display: block !important; /* Blocksy collapses sub-menus with display:none */
	max-height: none !important;
	visibility: visible !important;
	opacity: 1 !important;
}
#offcanvas .mobile-menu > ul > li.ev-mm-open > ul.sub-menu {
	transform: translateX(0);
}
/* Sub-panel header: back + title + close (sticky while the list scrolls) */
#offcanvas .ev-mm-subhead {
	display: flex;
	flex-direction: row; /* Blocksy forces column on offcanvas menu items */
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 14px 20px;
	border-bottom: 1px solid #bababa;
	position: sticky;
	top: 0;
	background: var(--theme-palette-color-7);
	z-index: 1;
}
#offcanvas .ev-mm-subhead .ev-mm-title {
	flex: 1;
	text-align: center;
	font-size: var(--ev-fs-body);
	font-weight: 600;
	color: var(--theme-palette-color-4);
}
#offcanvas .ev-mm-back {
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	cursor: pointer;
	flex: 0 0 auto;
	background: url(img/arrow-left.svg) center / 18px no-repeat; /* the Downloads arrow icon (left), not a chevron */
}
#offcanvas .ev-mm-close {
	position: relative;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	flex: 0 0 auto;
}
#offcanvas .ev-mm-close::before,
#offcanvas .ev-mm-close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 17px;
	height: 2px;
	background: var(--theme-palette-color-4);
}
#offcanvas .ev-mm-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}
#offcanvas .ev-mm-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
/* Sub-panel (Figma 7417-7658): a 1.5px #D9D9D9 divider sits ONLY under
   "View all Products" and under each grey range title — never between or under
   the product links. */
#offcanvas .mobile-menu ul.sub-menu > li {
	position: relative;
}
#offcanvas .mobile-menu ul.sub-menu > li.ev-mm-section::after {
	content: "";
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 0;
	height: 1.5px;
	background: #d9d9d9;
}
/* A little space below each range-title divider before its first link. */
#offcanvas .mobile-menu ul.sub-menu > li.ev-mm-section {
	margin-bottom: 10px;
}
/* First item of each sub-panel ("View all Products" / "My account") sits at the
   same level as "Products"/"Account" on the main menu — the main menu content
   has a 25px top padding that the absolutely-positioned sub-panel doesn't get. */
#offcanvas .mobile-menu ul.sub-menu > .ev-mm-subhead + li {
	margin-top: 25px;
}
#offcanvas .mobile-menu ul.sub-menu > .ev-mm-subhead + li > .ct-menu-link {
	padding-top: 16px !important;
}
/* "View all Products" + the product links: Poppins 400 / 16 / 28. */
#offcanvas .mobile-menu ul.sub-menu .ct-menu-link {
	font-family: "Poppins", sans-serif !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 28px !important;
	letter-spacing: normal !important;
	padding: 6px 20px !important;
}
/* Grey range titles: Poppins 400 / 14 / 100% / uppercase, not clickable. A gap
   above (separating from the previous links) and a tight divider below. */
#offcanvas .mobile-menu ul.sub-menu > li.ev-mm-section > a,
#offcanvas .mobile-menu ul.sub-menu > li.ev-mm-section > .ct-menu-link {
	color: #666666 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-transform: uppercase;
	letter-spacing: normal !important;
	padding: 24px 20px 10px !important;
	pointer-events: none;
	cursor: default;
}

/* ==========================================================================
   Shop "Our Products" intro divider: keep it light grey (#d9d9d9) and push it
   lower, so there is more breathing room under the title (Figma). The intro
   (content block #978) shows on the shop and on the product-category pages.
   ========================================================================== */
:is(.post-type-archive-product, .tax-product_cat) .entry-content > .wp-block-group.alignfull > hr.wp-block-separator.is-style-wide {
	margin-top: 26px !important;
	background-color: #d9d9d9 !important;
	color: #d9d9d9 !important;
}

/* ==========================================================================
   Side cart (offcanvas): cart item titles AND the "Suggested Products" card
   titles share one style (12px, semi-bold), so the two lists match (cart was
   15px/500, suggested 14px/600). The SKU added before the name for the cart
   page (blocksy_child_cart_item_sku) is not shown here.
   ========================================================================== */
#woo-cart-panel .mini_cart_item a.product-title,
#woo-cart-panel .ct-suggested-products--mini-cart .ct-product-title {
	font-size: 12px !important;
	font-weight: 600 !important;
}
#woo-cart-panel .ev-cart-sku {
	display: none;
}

/* ==========================================================================
   B15 range page, "Go Further" section (.ev-media-bleed, only on B15): in the
   mockup it sits flush under the grey band above, with the electrodes image
   starting right at that edge. Blocksy gives every .entry-content child a
   24px margin-bottom (--theme-content-spacing), which left a white strip
   between the grey band and the image — remove it on the block before.
   ========================================================================== */
.ev-range-page .entry-content > :has(+ .ev-media-bleed) {
	margin-bottom: 0;
}

/* Mobile: the electrodes image (wp-image-1038) stacks under the text. The PNG
   is opaque, its electrodes start at the very top and its lower ~40% is plain
   white: crop to the top 3:2 (all the electrodes, none of the white), and
   pull the column up to cancel the 24px columns row-gap above it. Scoped to
   this image so EZ/HF are untouched. */
@media (max-width: 900px) {
	.ev-range-page .ev-media-bleed .ev-bleed-img img.wp-image-1038 {
		aspect-ratio: 3 / 2;
		object-fit: cover;
		object-position: center top;
	}
	.ev-range-page .ev-media-bleed .wp-block-column:has(img.wp-image-1038) {
		margin-top: -24px;
	}
}

/* ==========================================================================
   Find my Vet H1 "Find professionals equipped with ELECTROvet EZ": no hard
   <br> (on mid-size screens it left "with" alone on its own line). The desktop
   break after "with" comes from this max-width instead, in em so it follows the
   clamp() font size: "…equipped with" = 16.8em, "…with ELECTROvet" = 22.9em.
   Narrower screens wrap naturally ("ELECTROvet EZ" is kept together by an nbsp).
   ========================================================================== */
.ev-fmv-title {
	max-width: 18em;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Find my Vet claim H2: the claim is split into two word groups (span.ev-line, page content): one
   line each on desktop, as in the mockup; on narrower screens each group
   wraps into balanced lines, so no word is left alone. (A width alone cannot
   do it: the 2nd line, ~1062px at 35px, is longer than the 1st + "with".) */
.ev-fmv-claim .ev-line {
	display: inline-block;
	text-wrap: balance;
}

/* Home hero: the intro paragraph under the H1 is 608px wide in the mockup
   (Figma 7417-8077), so it wraps after "veterinary" and "innovations". */
.home .wp-block-cover .wp-block-heading + p {
	max-width: 608px;
}
/* Home hero, mobile and iPad Mini (client mock-up 2026-11-24): the devices of
   the header image on top (cropped on them, fading into the background), then
   the title, text and button centred below. */
@media (max-width: 899.98px) {
	.home .wp-block-cover:has(> .wp-image-1206) {
		flex-direction: column;
		padding-top: 0 !important;
		background-color: #ecf1f5;
	}
	.home .wp-block-cover > .wp-image-1206 {
		position: relative !important;
		width: calc(100% + 32px) !important;
		height: auto !important;
		max-width: none;
		margin: 0 -16px 8px;
		aspect-ratio: 4 / 3;
		object-position: 94% 0 !important;
		-webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
		mask-image: linear-gradient(to bottom, #000 70%, transparent);
	}
	.home .wp-block-cover:has(> .wp-image-1206) .wp-block-cover__inner-container,
	.home .wp-block-cover:has(> .wp-image-1206) .wp-block-heading {
		text-align: center;
	}
	.home .wp-block-cover:has(> .wp-image-1206) .wp-block-buttons {
		justify-content: center;
	}
}

/* ==========================================================================
   Home, mobile (client feedback 2026-10-21). The featured-products slider is
   also used on the 3 range pages (B15 / EZ / HF).
   ========================================================================== */
@media (max-width: 767.98px) {
	/* "Why us" strengths (Reactive support, Worldwide network, Fast shipping,
	   3-year warranty): 2 per row instead of stacking. */
	.ev-why-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px !important; /* 32px on desktop; 16px on mobile, like every grid */
	}

	/* Featured products of each range: a horizontal swipe slider showing one
	   card and a half — the cut card tells the visitor there is more to swipe.
	   Card = (width − 16px gap) / 1.5. The vertical padding keeps the cards'
	   shadow from being clipped by the scroll container. The collection's group
	   sits in a WP vertical group (column flex with flex-wrap: wrap): a wrapping
	   flex line takes the width of its widest item — the whole row of cards — so
	   cap the group and the collection to their container's width. */
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection,
	:is(.home, .ev-range-page) .wp-block-group:has(> .wp-block-woocommerce-product-collection) {
		max-width: 100%;
	}
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template {
		display: flex !important;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		padding-block: 12px;
		margin-block: -12px;
	}
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template::-webkit-scrollbar {
		display: none;
	}
	/* The slider runs to the right edge of the screen (the page gutter on each
	   side = (100vw − 100%) / 2) and fades out there, so the cut card blends
	   into the edge instead of stopping at a margin. The end padding lets the
	   last card scroll clear of the fade. */
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template {
		width: calc(100% + (100vw - 100%) / 2);
		max-width: none;
		padding-inline-end: 32px;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
		        mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
	}
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template > li {
		flex: 0 0 calc((100% - 16px) / 1.5);
		max-width: none;
		scroll-snap-align: start;
	}

	/* References (SKU) on a single line: 12px fits the longest one
	   (GHT-ELECTROVET-EZ-V4.0 = 153px) in a card down to 360px-wide phones;
	   nowrap + ellipsis as a safety net on even narrower screens. */
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-components-product-sku {
		font-size: 12px !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

/* ==========================================================================
   Range pages + shop / product-category archives, mobile: references (SKU) on
   a single line, like the home (12px, nowrap). The cards are 2 per row here
   (~117–127px of text): the short ACC-… and the HF/B15 pack references fit
   whole; longer ones (GHT-ELECTROVET-EZ-V4.0) end with an ellipsis. The SKU is
   a flex item of the card: without max-width it keeps its full text width and
   runs past the card edge (cut, no ellipsis).
   ========================================================================== */
@media (max-width: 767.98px) {
	.ev-range-page .wp-block-woocommerce-product-collection .wc-block-components-product-sku,
	:is(.post-type-archive-product, .tax-product_cat) .products li.product .ct-product-sku {
		font-size: 12px !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		min-width: 0;
		max-width: 100%;
	}
}

/* ==========================================================================
   Product page tabs, mobile: same row as desktop instead of Blocksy's stacked
   column, scrolled sideways by hand when the tabs don't fit (scrollbar
   hidden). Each tab takes its text width and grows to fill when there's room;
   the next tab peeks at the edge so the scroll is noticeable.
   A scroll container clips anything drawn outside its padding box, so the navy
   trait is an inset shadow (not the border) and the active tab's green line
   sits at bottom 0 — it covers the trait, like on desktop.
   ========================================================================== */
@media (max-width: 767.98px) {
	.woocommerce-tabs[data-type] .tabs {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		border-bottom: 0 !important;
		box-shadow: inset 0 -1px 0 var(--theme-palette-color-1);
		padding-inline: 11px; /* + the tabs' 12px = the page content's 23px edge */
	}
	.woocommerce-tabs[data-type] .tabs::-webkit-scrollbar {
		display: none;
	}
	.woocommerce-tabs[data-type] .tabs li {
		flex: 1 0 auto;
		width: auto;
	}
	.woocommerce-tabs[data-type] .tabs li a {
		font-size: 14px;
		line-height: 20px;
		white-space: nowrap;
		padding: 16px 12px 10px !important;
	}
	.woocommerce-tabs[data-type] .tabs li.active > a::after {
		bottom: 0;
	}
}

/* ==========================================================================
   My account. Menu text + icons in navy (palette 1): Blocksy colours both with
   --account-nav-text-initial-color, which defaults to palette 3 (#000 here).
   ========================================================================== */
.ct-acount-nav {
	--account-nav-text-initial-color: var(--theme-palette-color-1);
}
/* "My account" back link on the sub-pages (functions.php): mobile only. */
.ev-account-back {
	display: none;
}
/* Mobile (Blocksy's account breakpoint, where its menu stacks above the
   content). Account home: the menu becomes 2×2 clickable boxes under the
   greeting — Orders, Addresses, Account details, Log out (Dashboard is this
   page; Downloads is always empty, no product is downloadable). Sub-pages: the
   menu is replaced by the back link. */
@media (max-width: 689.98px) {
	.ev-account-home .ct-woo-account {
		display: flex;
		flex-direction: column;
	}
	.ev-account-home .woocommerce-MyAccount-content {
		order: 1;
	}
	.ev-account-home .ct-acount-nav {
		order: 2;
		margin: 8px 0 0;
		background: none;
		box-shadow: none;
		border-radius: 0;
		overflow: visible;
	}
	.ev-account-home .woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		margin: 0;
		padding: 0;
	}
	.ev-account-home .woocommerce-MyAccount-navigation-link--dashboard,
	.ev-account-home .woocommerce-MyAccount-navigation-link--downloads {
		display: none;
	}
	.ev-account-home .woocommerce-MyAccount-navigation ul li a {
		flex-direction: column;
		justify-content: center;
		gap: 12px;
		height: auto;
		min-height: 128px;
		padding: 20px 12px;
		background: var(--theme-palette-color-7);
		border: 0;
		border-radius: 10px;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
		font-family: "Poppins", sans-serif;
		font-size: 16px;
		line-height: 20px;
		font-weight: 600;
		text-align: center;
		color: var(--theme-palette-color-1);
	}
	.ev-account-home .woocommerce-MyAccount-navigation ul li a:before {
		margin: 0;
		width: auto;
		font-size: 28px;
	}
	.ev-account-home .woocommerce-MyAccount-navigation ul li:hover a {
		background: var(--theme-palette-color-7);
		color: var(--theme-palette-color-2);
	}

	.ev-account-sub .ct-acount-nav {
		display: none;
	}
	.ev-account-sub .ev-account-back {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-bottom: 24px;
		font-family: "Poppins", sans-serif;
		font-size: 16px;
		line-height: 24px;
		font-weight: 600;
		color: var(--theme-palette-color-1);
		text-decoration: none;
		--has-link-decoration: var(--false);
	}
	.ev-account-sub .ev-account-back::before {
		content: "";
		width: 18px;
		height: 18px;
		background: url(img/arrow-left.svg) center / 18px no-repeat;
	}
}

/* ==========================================================================
   Products page (Figma "Filtre"): one section per range + filter sidebar
   ([ev_shop_filters], blocksy_child_shop_sections() in functions.php).
   ========================================================================== */
.ev-shop-sections .hero-section {
	display: none;
}
.ev-shop-section + .ev-shop-section {
	margin-top: 48px;
	padding-top: 64px;
	border-top: 1px solid #d9d9d9;
}
.ev-shop-section__head {
	margin-bottom: 32px;
	color: var(--theme-palette-color-4);
}
.ev-shop-section__eyebrow {
	margin: 0;
	/* same fluid size as the "PRODUCTS" eyebrow above (WordPress fluid type) */
	font-size: var(--ev-fs-h4);
	font-weight: 600;
	line-height: 28px;
	text-transform: uppercase;
}
.ev-shop-section__title {
	margin: 0 0 16px;
	font-size: var(--ev-fs-h3);
	font-weight: 500;
	line-height: 1.3;
	color: var(--theme-palette-color-4);
}
.ev-shop-section__desc p {
	margin: 0;
}
.ev-shop-section__desc.ev-arrow-link a {
	display: table;
	margin-top: 16px;
}
.ev-shop-section__empty {
	margin: 0;
	color: #666666;
}

/* Sidebar */
.ev-filters {
	display: flex;
	flex-direction: column;
	gap: 48px;
	font-size: 16px;
	line-height: 24px;
}
.ev-filters a {
	color: #666666;
	text-decoration: none;
	--has-link-decoration: var(--false);
}
.ev-filters a:hover {
	color: var(--theme-palette-color-2);
}
.ev-filters .is-active {
	color: var(--theme-palette-color-2);
	font-weight: 600;
}
.ev-filters__all {
	align-self: flex-start;
}
.ev-filters__title {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 8px;
	padding: 0 0 10px;
	border: 0;
	border-bottom: 1px solid #d9d9d9;
	background: none;
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
	text-transform: uppercase;
	color: var(--theme-palette-color-4);
	cursor: pointer;
}
.ev-filters__title .ct-icon {
	flex: 0 0 auto;
	fill: currentColor;
	transition: transform 0.2s ease;
}
.ev-filters__group.is-collapsed .ev-filters__title .ct-icon {
	transform: rotate(180deg);
}
.ev-filters__group.is-collapsed .ev-filters__list {
	display: none;
}
.ev-filters__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ev-filters__list a {
	display: inline-block;
	padding-block: 2px;
}
/* Round checkboxes: empty circle, green check-circle when on */
.ev-filters__check {
	position: relative;
	padding-left: 20px;
}
.ev-filters__check::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 14px;
	height: 14px;
	box-sizing: border-box;
	border: 1px solid #666666;
	border-radius: 50%;
}
.ev-filters__check.is-active::before {
	border: 0;
	background: var(--theme-palette-color-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ev-filters .ev-filters__check.is-active {
	font-weight: 400;
}
.ev-filters__error {
	margin: 4px 0 0 20px;
	font-size: 14px;
	line-height: 20px;
	color: #d0021b;
}
.ev-filters__reset {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-transform: uppercase;
}
.ev-filters a.ev-filters__reset {
	color: var(--theme-palette-color-4);
}
.ev-filters__reset::before {
	content: "";
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 1 0 2.3-5.7M4 4v4h4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 1 0 2.3-5.7M4 4v4h4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Product cards: title turns green on hover; "Compatible with" + generator
   logos fade in over the bottom of the image (Figma "Hover animation 2"). */
.products .product .woocommerce-loop-product__title a {
	transition: color 0.2s ease;
}
.products .product:hover .woocommerce-loop-product__title a {
	color: var(--theme-palette-color-2);
}
.products .product figure {
	position: relative;
}
.ev-card-compat {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.7); /* Figma "Frame 324": flat white 70% */
	opacity: 0;
	transition: opacity 0.3s ease-out;
	pointer-events: none;
}
.ev-card-compat__label {
	font-family: "Poppins", sans-serif;
	font-size: 10px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--theme-palette-color-4);
}
.ev-card-compat__logos {
	display: flex;
	gap: 16px;
}
.ev-card-compat__logo {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
@media (hover: hover) {
	.products .product:hover .ev-card-compat {
		opacity: 1;
	}
}

/* Home: "Learn more on LEROY Biotech website" leaves the site, so its arrow
   points up-right (45°) instead of right. */
.home p[style*="text-decoration:underline"] > a[href*="leroybiotech.com"]::after {
	transform: rotate(-45deg);
}

/* Cart summary: no "Shipping to <customer address>." under the shipping rate. */
.woocommerce-cart .woocommerce-shipping-destination {
	display: none;
}

/* Cart lines and side-cart lines: the whole line opens the product. The product
   title link is stretched over the line; the quantity selector and the remove
   (trash) button stay above it and keep working. */
.woocommerce-cart tr.cart_item {
	position: relative;
}
.woocommerce-cart tr.cart_item td.product-name > a::after,
#woo-cart-panel .mini_cart_item a.product-title::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.woocommerce-cart tr.cart_item .quantity,
.woocommerce-cart tr.cart_item .product-mobile-actions,
#woo-cart-panel .mini_cart_item .quantity {
	position: relative;
	z-index: 2;
}
.woocommerce-cart tr.cart_item td.product-remove a.remove,
.woocommerce-cart tr.cart_item .product-mobile-actions a.remove {
	position: relative;
	z-index: 2;
}

/* Cart summary: no "Shipment / Packing and shipping" row (the cost is still in
   the total; it is shown and detailed at checkout). */
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals {
	display: none;
}

/* ==========================================================================
   Type scale (client table, desktop / mobile; tablet = midpoint). Blocksy's
   Customizer holds the same values for body, h1-h5 and buttons; these tokens
   serve the child-theme rules and the sizes typed inline in the block editor.
   Breakpoints are Blocksy's (tablet < 1000px, mobile < 690px).
   ========================================================================== */
:root {
	--ev-fs-key: 55px;
	--ev-fs-h1: 40px;
	--ev-fs-h2: 35px;
	--ev-fs-quote: 30px;
	--ev-fs-h3: 25px;
	--ev-fs-h4: 18px;
	--ev-fs-body: 18px;
	--ev-fs-button: 18px;
	--ev-fs-caption: 16px;
	--ev-fs-h5: 14px;
}
@media (max-width: 999.98px) {
	:root {
		--ev-fs-key: 48px;
		--ev-fs-h1: 33px;
		--ev-fs-h2: 30px;
		--ev-fs-quote: 24px;
		--ev-fs-h3: 22px;
		--ev-fs-h4: 17px;
		--ev-fs-body: 16px;
		--ev-fs-button: 16px;
		--ev-fs-caption: 15px;
		--ev-fs-h5: 13px;
	}
}
@media (max-width: 689.98px) {
	:root {
		--ev-fs-key: 40px;
		--ev-fs-h1: 26px;
		--ev-fs-h2: 24px;
		--ev-fs-quote: 18px;
		--ev-fs-h3: 18px;
		--ev-fs-h4: 15px;
		--ev-fs-body: 15px;
		--ev-fs-button: 15px;
		--ev-fs-caption: 13px;
		--ev-fs-h5: 12px;
	}
}
/* Page titles typed with a fluid clamp() in the editor follow the scale. */
h1[style*="font-size:clamp"] {
	font-size: var(--ev-fs-h1) !important;
}
h2[style*="font-size:clamp"] {
	font-size: var(--ev-fs-h2) !important;
}
/* Product pages: section titles use the "large"/"medium" presets. */
.ev-range-page h2.has-large-font-size {
	font-size: var(--ev-fs-h2) !important;
}
.ev-range-page h3.has-medium-font-size {
	font-size: var(--ev-fs-h3) !important;
}
/* Sizes typed inline in the editor follow the scale. WordPress turns them into
   fluid clamp()s ending with the typed size (e.g. "…, 18px)"), so both forms
   are matched. On tablet and mobile the fixed px line height becomes
   proportional. */
[style*="font-size:55px"], [style*="), 55px)"] {
	font-size: var(--ev-fs-key) !important;
}
[style*="font-size:25px"], [style*="), 25px)"] {
	font-size: var(--ev-fs-h3) !important;
}
[style*="font-size:18px"], [style*="), 18px)"] {
	font-size: var(--ev-fs-body) !important;
}
.wp-block-button__link[style*="font-size:18px"], .wp-block-button__link[style*="), 18px)"] {
	font-size: var(--ev-fs-button) !important;
}
[style*="font-size:16px"], [style*="), 16px)"] {
	font-size: var(--ev-fs-caption) !important;
}
[style*="font-size:14px"], [style*="), 14px)"] {
	font-size: var(--ev-fs-h5) !important;
}
@media (max-width: 999.98px) {
	[style*="font-size:55px"], [style*="), 55px)"] {
		line-height: 1.2 !important;
	}
	[style*="font-size:25px"], [style*="), 25px)"] {
		line-height: 1.3 !important;
	}
	[style*="font-size:18px"], [style*="), 18px)"] {
		line-height: 1.55 !important;
	}
	[style*="font-size:16px"], [style*="), 16px)"],
	[style*="font-size:14px"], [style*="), 14px)"] {
		line-height: 1.5 !important;
	}
}
/* Form fields stay at 16px: below that, iOS zooms in when a field is tapped. */
@media (max-width: 689.98px) {
	input:not([type="checkbox"]):not([type="radio"]),
	select,
	textarea {
		font-size: 16px !important;
	}
}

/* ==========================================================================
   Tablet (client feedback 2026-11-24: iPad Mini 768, Surface Pro 960,
   iPad Pro 1032).
   ========================================================================== */
/* Columns 16px apart on tablet and mobile (32px on desktop). */
@media (max-width: 999.98px) {
	.entry-content .wp-block-columns {
		gap: 16px !important;
	}
}
/* Home hero: text on the left half, the three devices of the image visible on
   the right (900px up to the iPad Pro width; the stacked layout takes over
   below 900px). */
@media (min-width: 690px) and (max-width: 899.98px) {
	.home .wp-block-cover > .wp-image-1206 {
		aspect-ratio: 2 / 1;
	}
	.home .wp-block-cover:has(> .wp-image-1206) .wp-block-cover__inner-container > .wp-block-group {
		max-width: 600px !important;
	}
}
@media (min-width: 900px) and (max-width: 1199.98px) {
	/* Whole image shown (not cropped to the section height, which made the
	   devices run under the text), right-aligned, edges faded into the
	   section's background. */
	.home .wp-block-cover:has(> .wp-image-1206) {
		background-color: #ecf1f5;
	}
	.home .wp-block-cover > .wp-image-1206 {
		object-fit: contain !important;
		object-position: 100% 50% !important;
		-webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
		        mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
	}
	.home .wp-block-cover:has(> .wp-image-1206) .wp-block-cover__inner-container > .wp-block-group {
		max-width: 50% !important;
		margin-left: 0 !important;
	}
}
@media (min-width: 690px) and (max-width: 999.98px) {
	/* Featured packs of the home: one row of 2.5 cards, swiped sideways (the
	   cut card fades at the screen edge, like the mobile sliders). */
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card) {
		display: flex !important;
		gap: 16px;
		width: calc(100% + (100vw - 100%) / 2);
		max-width: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		padding: 12px 32px 12px 0;
		margin-block: -12px;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
		        mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
	}
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card)::-webkit-scrollbar {
		display: none;
	}
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card) > .ev-pack-card {
		flex: 0 0 calc((100% - 32px) / 2.5);
		scroll-snap-align: start;
	}

	/* Product suggestions (featured products of the home / range pages and
	   "You may also need"): one row instead of narrow cards — 3.5 cards swiped
	   sideways on the iPad Mini, 4 cards from 900px. */
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection,
	:is(.home, .ev-range-page) .wp-block-group:has(> .wp-block-woocommerce-product-collection) {
		max-width: 100%;
	}
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template,
	.related.products .products {
		display: flex !important;
		gap: 16px !important;
		width: calc(100% + (100vw - 100%) / 2);
		max-width: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		padding: 12px 32px 12px 0;
		margin-block: -12px !important;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
		        mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
	}
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template::-webkit-scrollbar,
	.related.products .products::-webkit-scrollbar {
		display: none;
	}
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template > li,
	.related.products .products > li.product {
		flex: 0 0 calc((100% - 48px) / 3.5);
		max-width: none;
		width: auto;
		margin: 0;
		scroll-snap-align: start;
	}
	.single-product .related.products .products {
		width: 100%;
		padding-left: calc((100vw - var(--theme-container-edge-spacing, 88vw)) / 2);
		scroll-padding-left: calc((100vw - var(--theme-container-edge-spacing, 88vw)) / 2);
	}
}
@media (min-width: 900px) and (max-width: 999.98px) {
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template,
	.related.products .products {
		width: 100%;
		padding-right: 0;
		-webkit-mask-image: none;
		        mask-image: none;
	}
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template > li,
	.related.products .products > li.product {
		flex-basis: calc((100% - 48px) / 4);
	}
}
/* 4-card rows ("Why us" and the values of the home, the strengths of Contact
   us): the auto-fill grid left the 4th card alone on the left on tablets →
   4 cards on one row from 900px, 2 × 2 below (iPad Mini). Mobile unchanged.
   Same for the 3 featured packs of the home (2 + 1 up to 1199px; a slider
   below 1000px). */
@media (min-width: 690px) and (max-width: 1199.98px) {
	.entry-content .wp-block-group.is-layout-grid:has(> :nth-child(4):last-child) {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
	.entry-content .wp-block-group.is-layout-grid:has(> .ev-pack-card) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 690px) and (max-width: 999.98px) {
	.entry-content .wp-block-group.is-layout-grid:has(> :nth-child(4):last-child) {
		gap: 16px !important;
	}
}
@media (min-width: 690px) and (max-width: 899.98px) {
	.entry-content .wp-block-group.is-layout-grid:has(> :nth-child(4):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
/* Home "How it Works?" (video + text): on large tablets the side-by-side
   layout broke the button label → video on top, text below, as on the iPad
   Mini, up to 1199px. */
@media (max-width: 1199.98px) {
	.entry-content .wp-block-columns:has(.wp-block-embed) {
		flex-wrap: wrap !important;
	}
	.entry-content .wp-block-columns:has(.wp-block-embed) > .wp-block-column {
		flex-basis: 100% !important;
	}
}
/* Find my Vet key figures: 3 per row on tablets too (2 on mobile). */
@media (min-width: 690px) and (max-width: 999.98px) {
	body.page-id-53 .wp-block-group.is-layout-grid:has(.wp-block-group.is-vertical) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}
}

/* ==========================================================================
   Products page (/shop/), tablet & mobile (client feedback 2026-11-24, Figma
   7584-1034).
   ========================================================================== */
/* "Filter by" button (opens the filters panel): right-aligned, white with a
   light-grey border, funnel icon (charm:filter, img/filter.svg). */
.woo-listing-top:has(> .ct-toggle-filter-panel) {
	display: flex;
	justify-content: flex-end;
}
.woo-listing-top .ct-toggle-filter-panel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 10px !important; /* Blocksy sets 3px */
	color: var(--theme-palette-color-4);
	font-size: var(--ev-fs-h4);
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.woo-listing-top .ct-toggle-filter-panel .ct-icon-container {
	display: none;
}
.woo-listing-top .ct-toggle-filter-panel::before {
	content: "";
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url(img/filter.svg) center / contain no-repeat;
	        mask: url(img/filter.svg) center / contain no-repeat;
}
.woo-listing-top .ct-toggle-filter-panel:hover {
	color: var(--theme-palette-color-2);
	border-color: var(--theme-palette-color-2);
}
/* iPad Mini (690–899px): the mobile filter button + 3 products per row. */
@media (min-width: 690px) and (max-width: 899.98px) {
	.woocommerce-shop ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}
}
/* Larger tablets (900–999px): the detailed filters on the left, as on the
   desktop / iPad Pro, + 3 products per row; no filter button. */
@media (min-width: 900px) and (max-width: 999.98px) {
	.woocommerce-shop .ct-container[data-sidebar] {
		display: grid;
		grid-template-columns: 23% minmax(0, 1fr);
		column-gap: 32px;
	}
	.woocommerce-shop .ct-container[data-sidebar] > aside#sidebar {
		display: block !important;
		grid-column: 1;
		grid-row: 1;
	}
	.woocommerce-shop .ct-container[data-sidebar] > :not(aside) {
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
	}
	.woocommerce-shop .woo-listing-top:has(> .ct-toggle-filter-panel) {
		display: none;
	}
	.woocommerce-shop ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}
}
/* Product pages, tablets (690–999px): gallery and summary side by side as on
   the desktop, instead of a full-width image with the summary below it. */
@media (min-width: 690px) and (max-width: 999.98px) {
	.single-product .product-entry-wrapper {
		display: flex;
		align-items: flex-start;
		gap: 32px;
	}
	.single-product .product-entry-wrapper > .woocommerce-product-gallery,
	.single-product .product-entry-wrapper > .summary {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
		margin-bottom: 0;
	}
}
/* Number of selected filters on the "Filter by" button (green badge on its
   top-right corner, Figma 7584-1039). */
.woo-listing-top .ct-toggle-filter-panel {
	position: relative;
}
.ct-toggle-filter-panel .ev-filter-count {
	position: absolute;
	top: -12px;
	right: -12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: var(--theme-palette-color-2);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}
/* Contact form, mobile: field labels at 12px (the Professionals / General
   inquiries tabs keep their own size). */
@media (max-width: 689.98px) {
	.wsf-form.ev-form label.wsf-label:not(.ev-tabs label) {
		font-size: 12px !important;
	}
}
/* Contact us, mobile: the small "Email / Phone / Address" titles at 12px like
   the form labels; the details under each follow the body text (15px). */
@media (max-width: 689.98px) {
	body.page-id-37 p[style*="font-weight:600"]:has(+ p.has-link-color) {
		font-size: 12px !important;
	}
	body.page-id-37 p[style*="font-weight:600"] + p.has-link-color {
		font-size: var(--ev-fs-body) !important;
	}
}
/* Out-of-stock product: "Request a Quote" kept a 16px top margin that the
   "Out of Stock" button does not have → both on the same line, same height. */
.single-product div.product .ct-cart-actions.ev-oos-actions .ev-request-quote.button,
.single-product div.product .ct-cart-actions.ev-oos-actions .ev-out-of-stock.button {
	margin-top: 0;
	align-self: stretch;
}
/* Product page, mobile: no gap between the range / SKU line and the title. */
@media (max-width: 689.98px) {
	.single-product .summary .ev-eyebrow {
		margin-bottom: 0 !important;
	}
}
/* Page blocks (Gutenberg grids: Find my Vet figures, home packs / values,
   Contact us…): 16px between the columns and rows on tablet and mobile (32px
   on desktop). The product grids use Blocksy's own Columns / Rows Gap. */
@media (max-width: 999.98px) {
	.entry-content .wp-block-group.is-layout-grid {
		gap: 16px !important;
	}
}
/* Home "Discover our featured Packs", mobile (Figma 7583-167): one row of
   cards swiped sideways, 1.5 card visible (2.5 on tablets, rule above), the cut
   card fading at the screen edge like the other mobile sliders. */
@media (max-width: 689.98px) {
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card) {
		display: flex !important;
		gap: 16px !important;
		width: calc(100% + (100vw - 100%) / 2);
		max-width: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		padding: 12px 32px 12px 0;
		margin-block: -12px;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
		        mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
	}
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card)::-webkit-scrollbar {
		display: none;
	}
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card) > .ev-pack-card {
		/* at least 256px: "Learn more" + "Buy the Pack" side by side on one line */
		flex: 0 0 max(256px, calc((100% - 16px) / 1.5));
		scroll-snap-align: start;
	}
}
@media (max-width: 689.98px) {
	/* Home "Discover our featured Packs", mobile spacing (Figma 7583-167):
	   56px above and below the section, 24px between the title and the cards
	   (the slider's -12px margin keeps 12px for the card shadows). */
	.home .entry-content > .wp-block-group.alignfull:has(.ev-pack-card) {
		padding-top: 56px !important;
		padding-bottom: 56px !important;
	}

	/* Product page labels (Compatible with, Warranty, Quantity, Price): the
	   "H4 UPPERCASE Mobile" style — Poppins 600, 15px, line height 100%. */
	.single-product div.product .summary .ev-spec-row__label,
	.single-product div.product .ct-cart-actions .ev-lbl {
		font-size: 15px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0;
		text-transform: uppercase;
	}
}
/* Product cards, tablet & mobile (Figma): title Poppins 600 15px / 100%,
   description 400 13px / 17.9px — the shop and "You may also need" cards get
   it from Blocksy (Card Product title / excerpt fonts); these are the block
   cards of the home and range pages, which Blocksy does not style. */
@media (max-width: 999.98px) {
	body .wc-block-product-template li.product .wp-block-post-title,
	body .wc-block-product-template li.product .wp-block-post-title a {
		font-size: 15px !important;
		font-weight: 600 !important;
		line-height: 1 !important;
		letter-spacing: 0;
	}
	body .wc-block-product-template li.product .wc-block-components-product-summary,
	body .wc-block-product-template li.product .wc-block-components-product-summary * {
		font-size: 13px !important;
		font-weight: 400;
		line-height: 17.9px !important;
		letter-spacing: 0;
	}
}
/* Tablet & mobile (client feedback 2026-11-30, Figma button 195 × 55):
   - 24px between "Discover our featured Packs" and the cards (the slider's
     -12px margin keeps room for the card shadows);
   - every content button the same: 55px high, 8px side padding, radius 10,
     label on one line; two buttons side by side share the width; 16px between
     buttons. Product-card cart icons are not concerned. */
@media (max-width: 999.98px) {
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card) {
		margin-top: 12px !important;
	}
	.entry-content .wp-block-buttons {
		gap: 16px !important;
	}
	.entry-content .wp-block-buttons:has(> .wp-block-button + .wp-block-button) {
		flex-wrap: nowrap;
	}
	.entry-content .wp-block-buttons:has(> .wp-block-button + .wp-block-button) > .wp-block-button {
		flex: 1 1 0;
		min-width: 0;
	}
	.entry-content .wp-block-buttons:has(> .wp-block-button + .wp-block-button) > .wp-block-button > .wp-block-button__link {
		width: 100%;
	}
	.entry-content .wp-block-button__link:not(.wc-block-components-product-button__button),
	.single-product div.product .ct-cart-actions .ev-request-quote.button,
	.single-product div.product .ct-cart-actions .single_add_to_cart_button,
	.single-product div.product .ev-out-of-stock.button {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-height: 55px !important;
		padding: 0 8px !important;
		border-radius: 10px !important;
		white-space: nowrap;
	}
}
/* Icon cards — home "Why us" (.ev-why-grid) and the Contact us values — made
   consistent (Figma mobile home, Benefits container): 16px padding, radius 10,
   16px between the icon and the title, 8px between the title and the
   description, same title line height; icons 64px on mobile (100px on desktop
   and tablet, unchanged). */
.ev-why-grid > .wp-block-group {
	gap: 16px !important;
}
body.page-id-37 .wp-block-group.is-layout-grid:has(> .wp-block-group.has-background.is-vertical) > .wp-block-group {
	gap: 8px !important;
}
body.page-id-37 .wp-block-group.is-layout-grid:has(> .wp-block-group.has-background.is-vertical) > .wp-block-group > figure {
	margin-bottom: 8px !important; /* 8 + 8 gap = 16px icon → title */
}
body.page-id-37 .wp-block-group.is-layout-grid:has(> .wp-block-group.has-background.is-vertical) > .wp-block-group > :is(h1, h2, h3, h4) {
	line-height: 1.55 !important;
}
@media (max-width: 689.98px) {
	.ev-why-grid > .wp-block-group > figure img,
	body.page-id-37 .wp-block-group.is-layout-grid:has(> .wp-block-group.has-background.is-vertical) > .wp-block-group > figure img {
		width: 64px !important;
		height: 64px !important;
	}
}
/* Home "Designed for daily needs / Advanced Technology / …" (Figma mobile
   7583-220, Benefits container): 2 columns 16px apart on mobile; each item
   16px / 8px padding, 64px icon, 16px icon → title, 8px title → description. */
@media (max-width: 689.98px) {
	.home .entry-content .wp-block-group.is-layout-grid:not(.ev-why-grid):not(:has(> .ev-pack-card)):has(> .wp-block-group > figure.wp-block-image) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}
	.home .entry-content .wp-block-group.is-layout-grid:not(.ev-why-grid):not(:has(> .ev-pack-card)):has(> .wp-block-group > figure.wp-block-image) > .wp-block-group {
		padding: 16px 8px !important;
		gap: 16px !important;
	}
	.home .entry-content .wp-block-group.is-layout-grid:not(.ev-why-grid):not(:has(> .ev-pack-card)):has(> .wp-block-group > figure.wp-block-image) > .wp-block-group > figure img {
		width: 64px !important;
		height: 64px !important;
	}
}
/* ==========================================================================
   One column grid for every card family (client 2026-11-30): at a given screen
   width, product cards (sliders of the home / range pages, "You may also
   need") are as wide as the shop and icon-card columns, and the packs follow
   the 3-column width. Column = (content width − gaps) / columns, the content
   width being Blocksy's --theme-container-edge-spacing (88vw mobile, 90vw
   tablet); desktop = 4 columns of 256px with 32px gaps (1120px container).
   ========================================================================== */
@media (max-width: 689.98px) {
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template > li,
	.related.products .products > li.product {
		flex: 0 0 calc((var(--theme-container-edge-spacing, 88vw) - 16px) / 2) !important;
	}
}
@media (min-width: 690px) and (max-width: 899.98px) {
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template > li,
	.related.products .products > li.product {
		flex: 0 0 calc((var(--theme-container-edge-spacing, 90vw) - 32px) / 3) !important;
	}
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card) > .ev-pack-card {
		flex: 0 0 calc((var(--theme-container-edge-spacing, 90vw) - 16px) / 2) !important;
	}
}
@media (min-width: 900px) and (max-width: 999.98px) {
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template > li,
	.related.products .products > li.product {
		flex: 0 0 calc((var(--theme-container-edge-spacing, 90vw) - 48px) / 4) !important;
	}
	.home .wp-block-group.is-layout-grid:has(> .ev-pack-card) > .ev-pack-card {
		flex: 0 0 calc((var(--theme-container-edge-spacing, 90vw) - 32px) / 3) !important;
	}
}
@media (min-width: 1000px) {
	:is(.home, .ev-range-page) .wp-block-woocommerce-product-collection .wc-block-product-template,
	.related.products .products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		column-gap: 32px !important;
		row-gap: 32px !important;
		padding-inline: 0 !important;
	}
}
