/* ==========================================================================
   Products (Grid or Carousel), AJAX Product Tabs and every list of product cards
   --------------------------------------------------------------------------
   The Elementor controls of the Products widget only set CSS variables on .envision-eb-products-wrap, and this file reads them:
     --eb-cols   columns (grid) / cards in view (carousel), set per device       --eb-gap       space between cards
     --eb-card-bg / --eb-media-bg   card and picture-box colours                  --eb-lift      lift on hover
     --eb-title-lines   lines of the title (none = all)
   A variable that is not set falls back to the value after the comma, so a list without the widget (the Tabs widget, shortcodes)
   looks right too.  Colour schemes use their own --eb-s-* variables, so a colour chosen in the Style tab always wins over the scheme.
   ========================================================================== */
.envision-eb-empty { opacity: .6; font-size: 14px; }

.envision-eb-products-wrap,
.envision-eb-products-wrap *,
.envision-eb-products,
.envision-eb-products * { box-sizing: border-box; }
.envision-eb-products-wrap { max-width: 100%; min-width: 0; }

/* Colour schemes. "Light" is the fallback inside every var() below; "Automatic" turns dark with the Envision dark theme. */
.envision-eb-scheme--light { color: #17181c; }
.envision-eb-scheme--dark,
body.envision-dark .envision-eb-scheme--auto {
	--eb-s-text: #f4f5f7;
	--eb-s-card: #20222a;
	--eb-s-media: #2b2e38;
	--eb-s-line: rgba(255, 255, 255, .22);
	color: #f4f5f7;
}

/* ---------- One card ---------- */
.envision-eb-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	position: relative;
	border: none;
	background: var(--eb-card-bg, transparent);
	transition: transform .25s ease, box-shadow .2s ease;
}
.envision-eb-product-thumb {
	display: block;
	position: relative;
	flex: none;
	border: none;
	border-radius: 8px;
	overflow: hidden;
	background: var(--eb-media-bg, var(--eb-s-media, #f2f2f3));
	aspect-ratio: 1;
}
/* The picture takes the shape of its box (the box has the shape chosen in "Picture shape"; "Natural" = the picture's own shape) and is
   cropped around its centre.  It stays in the flow: a percentage height inside a flex item is not reliable, it showed only the top of tall pictures. */
.envision-eb-product-thumb img:not(.envision-eb-hover-image) {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: inherit;
	object-fit: cover;
	transition: transform .3s ease;
}
.envision-eb-product-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 55%);
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
}
.envision-eb-product-thumb-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	background: repeating-linear-gradient(45deg, #eee, #eee 10px, #f5f5f5 10px, #f5f5f5 20px);
}
.envision-eb-product-thumb:has(.envision-eb-product-thumb-placeholder) { aspect-ratio: 1; } /* "Natural" shape needs a picture to measure */
.envision-eb-hover-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	opacity: 0;
	transition: opacity .35s ease;
}

.envision-eb-product-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 12px 2px 2px;
}
/* Two classes: a theme or Elementor kit rule for "h3" must not decide the size of a card title. */
.envision-eb-product-card .envision-eb-product-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: break-word;
	/* A very long name (surgical instruments...) stops after a few lines instead of making one card twice as tall as its neighbours. */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--eb-title-lines, 3);
	overflow: hidden;
}
.envision-eb-product-title a { color: inherit; text-decoration: none; }
.envision-eb-product-rating { font-size: 13px; }
.envision-eb-product-body .envision-eb-product-cats {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	overflow-wrap: break-word;
	font-size: 12px;
	line-height: 1.4;
	opacity: .62;
	margin-top: -2px;
}
.envision-eb-product-cats a { color: inherit; text-decoration: none; }
.envision-eb-product-cats a:hover { text-decoration: underline; }
/* The price (or the button when there is no price) sits at the bottom of the card, so a row of cards lines up. */
.envision-eb-product-price { margin-top: auto; font-size: 14px; opacity: .85; }
.envision-eb-product-price del { opacity: .5; margin-right: 6px; }
.envision-eb-product-price ins { text-decoration: none; }
.envision-eb-product-cart { margin-top: auto; }
.envision-eb-product-price + .envision-eb-product-cart { margin-top: 0; }
.envision-eb-product-cart a.button,
.envision-eb-product-cart a.added_to_cart {
	display: inline-block;
	margin-top: 2px;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 13px;
	text-decoration: none;
	background: #17181c;
	color: #fff !important;
	border: none;
}
.envision-eb-product-cart a.button:hover { opacity: .88; }
.envision-eb-sale-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #e0393e;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 999px;
	z-index: 1;
}

/* Hover effects: only where there is a mouse.  A phone keeps the "hover" of the last tap, so nothing jumps or flips there. */
@media (hover: hover) {
	.envision-eb-product-card:hover { transform: translateY(calc(var(--eb-lift, 4px) * -1)); }
	.envision-eb-product-thumb:hover img:not(.envision-eb-hover-image) { transform: scale(1.04); }
	.envision-eb-product-thumb:hover::after { opacity: 1; }
	.envision-eb-product-thumb:hover .envision-eb-hover-image { opacity: 1; }
	/* Style tab > Picture > Hover effect (a class on the widget) */
	.envision-eb-hover-zoom .envision-eb-product-thumb:hover::after,
	.envision-eb-hover-none .envision-eb-product-thumb:hover::after { opacity: 0; }
	.envision-eb-hover-darken .envision-eb-product-thumb:hover img:not(.envision-eb-hover-image),
	.envision-eb-hover-none .envision-eb-product-thumb:hover img:not(.envision-eb-hover-image) { transform: none; }
}
@media (hover: none) {
	.envision-eb-hover-image { display: none; } /* never fetched on a touch screen */
}
@media (prefers-reduced-motion: reduce) {
	.envision-eb-product-card,
	.envision-eb-product-thumb img,
	.envision-eb-product-thumb::after,
	.envision-eb-hover-image { transition: none; }
	.envision-eb-product-card:hover,
	.envision-eb-product-thumb:hover img:not(.envision-eb-hover-image) { transform: none; }
}

/* ---------- Products: grid ---------- */
/* Columns: the Elementor "Columns" control (a value for each device) in --eb-cols; the classes --cols-N (the desktop number) with the
   phone / tablet steps below are for lists without that control.  minmax(0, 1fr): a long word can never push a column wider than the others. */
.envision-eb-products--cols-1 { --eb-n: 1; }
.envision-eb-products--cols-2 { --eb-n: 2; }
.envision-eb-products--cols-3 { --eb-n: 3; }
.envision-eb-products--cols-4 { --eb-n: 4; }
.envision-eb-products--cols-5 { --eb-n: 5; }
.envision-eb-products--cols-6 { --eb-n: 6; }
.envision-eb-products--grid {
	display: grid;
	gap: var(--eb-gap, 24px);
	grid-template-columns: repeat(var(--eb-cols, var(--eb-n, 4)), minmax(0, 1fr));
}
@media (max-width: 960px) {
	.envision-eb-products--cols-4,
	.envision-eb-products--cols-5,
	.envision-eb-products--cols-6 { --eb-n: 3; }
}
@media (max-width: 640px) {
	.envision-eb-products--grid,
	.envision-eb-products--carousel { --eb-n: 2; }
	.envision-eb-products--cols-1 { --eb-n: 1; }
}

/* ---------- Products: carousel ---------- */
.envision-eb-carousel { position: relative; display: flex; align-items: center; gap: 8px; }
.envision-eb-products--carousel {
	display: flex;
	flex: 1 1 0;
	gap: var(--eb-gap, 20px);
	min-width: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 4px;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	/* room for the lift and the shadow of a card, which a scrolling box would cut off */
	padding: calc(var(--eb-lift, 4px) + 4px) 4px 16px;
	margin: calc((var(--eb-lift, 4px) + 4px) * -1) -4px -16px;
}
.envision-eb-products--carousel::-webkit-scrollbar { height: 6px; }
.envision-eb-products--carousel .envision-eb-product-card {
	/* "Columns" = cards in view: (width - the gaps) / columns */
	flex: 0 0 calc((100% - (var(--eb-cols, var(--eb-n, 4)) - 1) * var(--eb-gap, 20px)) / var(--eb-cols, var(--eb-n, 4)));
	scroll-snap-align: start;
}
.envision-eb-carousel-nav {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--eb-s-line, rgba(0, 0, 0, .12));
	background: var(--eb-s-card, #fff);
	color: var(--eb-s-text, #17181c);
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
}
.envision-eb-carousel-nav:hover:not(:disabled) { background: var(--eb-s-media, #f3f3f3); }
.envision-eb-carousel-nav:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.envision-eb-carousel-nav:disabled { opacity: .35; cursor: default; }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	.envision-eb-products--grid { gap: var(--eb-gap, 12px); }
	.envision-eb-products--carousel { gap: var(--eb-gap, 12px); }
	.envision-eb-products--carousel .envision-eb-product-card {
		flex-basis: calc((100% - (var(--eb-cols, var(--eb-n, 2)) - 1) * var(--eb-gap, 12px)) / var(--eb-cols, var(--eb-n, 2)));
	}
	.envision-eb-product-body { gap: 4px; padding: 10px 2px 2px; }
	.envision-eb-product-card .envision-eb-product-title { font-size: 13px; }
	.envision-eb-product-body .envision-eb-product-cats { font-size: 11px; }
	.envision-eb-product-price { font-size: 13px; }
	.envision-eb-product-cart a.button,
	.envision-eb-product-cart a.added_to_cart { padding: 8px 14px; font-size: 12px; }
	.envision-eb-sale-badge { top: 6px; left: 6px; padding: 3px 7px; font-size: 11px; }
	/* the arrows float over the cards instead of taking a strip of the narrow screen; swiping works as well */
	.envision-eb-carousel-nav {
		position: absolute;
		top: 34%;
		z-index: 3;
		width: 34px;
		height: 34px;
		font-size: 18px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
	}
	.envision-eb-carousel-prev { left: 2px; }
	.envision-eb-carousel-next { right: 2px; }
}

/* ---------- Card design variants (envision-eb-style--*) ---------- */

/* shadow (default): rounded card, soft shadow, white background (dark card in the dark scheme) */
.envision-eb-style--shadow .envision-eb-product-card {
	background: var(--eb-card-bg, var(--eb-s-card, #fff));
	color: var(--eb-s-text, #17181c);
	border-radius: 12px;
	padding: 10px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}
@media (hover: hover) {
	.envision-eb-style--shadow .envision-eb-product-card:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .12); }
}
@media (max-width: 767px) {
	.envision-eb-style--shadow .envision-eb-product-card,
	.envision-eb-style--bordered .envision-eb-product-card { padding: 8px; border-radius: 10px; }
}

/* bordered: simple outlined box */
.envision-eb-style--bordered .envision-eb-product-card {
	border: 1px solid var(--eb-s-line, rgba(0, 0, 0, .12));
	border-radius: 8px;
	padding: 10px;
}

/* minimal: no card chrome at all, just content */
.envision-eb-style--minimal .envision-eb-product-thumb { border-radius: 4px; }

/* overlay: price/rating/button appear over the image on hover (always there on a touch screen, which has no hover) */
.envision-eb-style--overlay .envision-eb-product-thumb { aspect-ratio: 4 / 5; }
.envision-eb-style--overlay .envision-eb-product-body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 16px 14px;
	background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0));
	color: #fff;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
}
.envision-eb-style--overlay .envision-eb-product-card:hover .envision-eb-product-body,
.envision-eb-style--overlay .envision-eb-product-card:focus-within .envision-eb-product-body { opacity: 1; transform: translateY(0); }
@media (hover: none) {
	.envision-eb-style--overlay .envision-eb-product-body { opacity: 1; transform: none; }
}
.envision-eb-style--overlay .envision-eb-product-card { position: relative; }
.envision-eb-style--overlay .envision-eb-product-price { color: #fff; opacity: 1; }

/* compact: smaller, denser grid — good for 5-6 columns */
.envision-eb-style--compact .envision-eb-product-body { padding: 8px 2px 2px; gap: 3px; }
.envision-eb-style--compact .envision-eb-product-card .envision-eb-product-title { font-size: 13px; }
.envision-eb-style--compact .envision-eb-product-price { font-size: 12px; }
.envision-eb-style--compact .envision-eb-product-cart a.button { padding: 6px 12px; font-size: 12px; }

/* badge: sale-ribbon corner (badge itself rendered conditionally in PHP) */
.envision-eb-style--badge .envision-eb-product-thumb { border-radius: 10px; }

/* centered: everything center-aligned, full-width button */
.envision-eb-style--centered .envision-eb-product-body { align-items: center; text-align: center; }
.envision-eb-style--centered .envision-eb-product-cart { width: 100%; }
.envision-eb-style--centered .envision-eb-product-cart a.button { display: block; width: 100%; }

/* split: image left, details right — only really suits 1-2 columns / list use */
.envision-eb-style--split .envision-eb-product-card { flex-direction: row; align-items: center; gap: 16px; }
.envision-eb-style--split .envision-eb-product-thumb { width: 120px; flex-shrink: 0; aspect-ratio: 1; }
.envision-eb-style--split .envision-eb-product-body { padding: 0; }
@media (max-width: 767px) {
	.envision-eb-style--split .envision-eb-product-card { gap: 10px; }
	.envision-eb-style--split .envision-eb-product-thumb { width: 88px; }
}

/* ---------- Category grid ---------- */
/* ---------- Category showcase (widget + [envision_categories]) ----------
   Columns / image shape / gap are CSS variables so the Elementor controls
   and the shortcode both just set a variable per breakpoint. */
.envision-eb-catshow,
.envision-eb-catshow * { box-sizing: border-box; }
.envision-eb-catshow {
	--eb-cols: 4;
	--eb-ratio: 1 / 1;
	--eb-gap: 20px;
	--eb-overlay: .35;
	display: grid;
	grid-template-columns: repeat(var(--eb-cols), minmax(0, 1fr));
	gap: var(--eb-gap);
}
@media (max-width: 1024px) { .envision-eb-catshow { --eb-cols: 3; } }
@media (max-width: 640px)  { .envision-eb-catshow { --eb-cols: 2; } }

.envision-eb-cs-item {
	position: relative;
	display: block;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
}
.envision-eb-cs-thumb {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: var(--eb-ratio);
	overflow: hidden;
	background: #f1f1f1;
}
.envision-eb-cs-thumb img,
.envision-eb-cs-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.envision-eb-cs-item:hover .envision-eb-cs-thumb img { transform: scale(1.06); }
.envision-eb-cat-placeholder { display: block; width: 100%; height: 100%; background: #e6e6e6; }
.envision-eb-cs-name { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.envision-eb-cs-count { display: block; font-size: 12px; opacity: .65; margin-top: 2px; }

/* 1) Image + name below */
.envision-eb-catshow--below .envision-eb-cs-thumb { border-radius: 8px; }
.envision-eb-catshow--below .envision-eb-cs-label { display: block; padding: 10px 2px 0; }
.envision-eb-catshow--below .envision-eb-cs-item:hover .envision-eb-cs-name { color: var(--envision-accent, currentColor); }

/* 2) Image + white pill label (top / center / bottom) */
.envision-eb-catshow--overlay_pill .envision-eb-cs-label {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	max-width: calc(100% - 20px);
	background: #fff;
	color: #111;
	border-radius: 999px;
	padding: 7px 20px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 2px 10px rgba(0,0,0,.12);
	transition: background-color .25s ease, color .25s ease;
}
.envision-eb-catshow--overlay_pill .envision-eb-cs-name { display: inline; font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; color: #111; }
.envision-eb-catshow--overlay_pill .envision-eb-cs-count { display: inline; margin: 0 0 0 8px; font-size: 12px; }
.envision-eb-catshow--pos-top.envision-eb-catshow--overlay_pill .envision-eb-cs-label { top: 14px; }
.envision-eb-catshow--pos-bottom.envision-eb-catshow--overlay_pill .envision-eb-cs-label { bottom: 14px; }
.envision-eb-catshow--pos-center.envision-eb-catshow--overlay_pill .envision-eb-cs-label { top: 50%; transform: translate(-50%, -50%); }
.envision-eb-catshow--overlay_pill .envision-eb-cs-item:hover .envision-eb-cs-label { background: var(--envision-accent, #111); }
.envision-eb-catshow--overlay_pill .envision-eb-cs-item:hover .envision-eb-cs-name,
.envision-eb-catshow--overlay_pill .envision-eb-cs-item:hover .envision-eb-cs-count { color: #fff; }

/* 3) Image + bottom gradient label */
.envision-eb-catshow--overlay_bottom .envision-eb-cs-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,calc(var(--eb-overlay) + .35)) 0%, rgba(0,0,0,0) 65%);
	pointer-events: none;
}
.envision-eb-catshow--overlay_bottom .envision-eb-cs-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; color: #fff; }
.envision-eb-catshow--overlay_bottom .envision-eb-cs-name { font-size: 17px; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.envision-eb-catshow--overlay_bottom .envision-eb-cs-count { color: #fff; }

/* 4) Image + dark overlay, centered label */
.envision-eb-catshow--overlay_center .envision-eb-cs-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,var(--eb-overlay));
	transition: background-color .3s ease;
	pointer-events: none;
}
.envision-eb-catshow--overlay_center .envision-eb-cs-item:hover .envision-eb-cs-thumb::after { background: rgba(0,0,0,calc(var(--eb-overlay) + .2)); }
.envision-eb-catshow--overlay_center .envision-eb-cs-label {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px;
	text-align: center;
	color: #fff;
	z-index: 1;
}
.envision-eb-catshow--overlay_center .envision-eb-cs-name { font-size: 18px; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.envision-eb-catshow--overlay_center .envision-eb-cs-name::after { content: ''; display: block; width: 28px; height: 2px; background: currentColor; margin: 8px auto 0; transition: width .3s ease; }
.envision-eb-catshow--overlay_center .envision-eb-cs-item:hover .envision-eb-cs-name::after { width: 56px; }
.envision-eb-catshow--overlay_center .envision-eb-cs-count { color: #fff; }

/* 5) Circle image + name below */
.envision-eb-catshow--circle .envision-eb-cs-item { overflow: visible; text-align: center; }
.envision-eb-catshow--circle .envision-eb-cs-thumb { aspect-ratio: 1 / 1; border-radius: 50%; }
.envision-eb-catshow--circle .envision-eb-cs-label { display: block; padding-top: 12px; }
.envision-eb-catshow--circle .envision-eb-cs-item:hover .envision-eb-cs-name { color: var(--envision-accent, currentColor); }

.envision-eb-cat-flat-list { list-style: none; margin: 0; padding: 0; }
.envision-eb-cat-flat-list li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.envision-eb-cat-flat-list a { text-decoration: none; color: inherit; }

/* ---------- Filters ---------- */
.envision-eb-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 16px;
	padding: 16px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 10px;
}
.envision-eb-filter-field { display: flex; flex-direction: column; gap: 4px; }
.envision-eb-filter-field label { font-size: 12px; font-weight: 600; opacity: .7; }
.envision-eb-filter-field select,
.envision-eb-filter-field input {
	padding: 8px 10px;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: 6px;
	font-size: 14px;
}
.envision-eb-price-inputs { display: flex; align-items: center; gap: 6px; }
.envision-eb-price-inputs input { width: 80px; }
.envision-eb-filter-submit {
	padding: 9px 22px;
	border: none;
	border-radius: 999px;
	background: #17181c;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
}
.envision-eb-filter-submit:hover { opacity: .9; }

/* ---------- Tabs (instant client-side switch, pre-rendered panels) ---------- */
.envision-eb-tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.envision-eb-tab-btn {
	padding: 9px 20px;
	border-radius: 999px;
	border: 1px solid rgba(0,0,0,.12);
	background: transparent;
	cursor: pointer;
	font-size: 14px;
}
.envision-eb-tab-btn.is-active { background: #17181c; color: #fff; border-color: #17181c; }
.envision-eb-tab-panel { display: none; }
.envision-eb-tab-panel.is-active { display: block; }

/* ---------- Text Block ---------- */
.envision-eb-text-block { line-height: 1.7; }
.envision-eb-text-block p:last-child { margin-bottom: 0; }

/* ---------- Section Title ---------- */
.envision-eb-section-title { display: flex; flex-direction: column; gap: 8px; }
.envision-eb-section-title--left { align-items: flex-start; text-align: left; }
.envision-eb-section-title--center { align-items: center; text-align: center; }
.envision-eb-section-title--right { align-items: flex-end; text-align: right; }
.envision-eb-section-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .6;
}
.envision-eb-section-heading { margin: 0; font-size: clamp(24px, 4vw, 36px); line-height: 1.2; }
.envision-eb-section-divider { width: 56px; height: 3px; background: currentColor; opacity: .25; border-radius: 999px; }
.envision-eb-section-desc { margin: 4px 0 0; max-width: 560px; opacity: .75; line-height: 1.6; }

.envision-eb-cat-count { font-size: 12px; opacity: .6; }

/* ---- Expanding colour panels (style "panels"): a row of coloured panels, the hovered one grows; phones scroll sideways ---- */
.envision-eb-catshow--panels { --eb-c1: #ee3239; --eb-c2: #272e5a; --eb-c3: #3b4580; --eb-c4: #c1252c; display: flex; gap: 0; height: 440px; width: 100%; }
.envision-eb-catshow--panels .envision-eb-cs-item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 22px; color: #fff; text-decoration: none; transition: flex-grow .45s ease; }
.envision-eb-catshow--panels:hover .envision-eb-cs-item { flex-grow: .8; }
.envision-eb-catshow--panels .envision-eb-cs-item:hover,
.envision-eb-catshow--panels .envision-eb-cs-item:focus-visible { flex-grow: 1.7; }
.envision-eb-catshow--panels .envision-eb-cs-item:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.envision-eb-catshow--panels .envision-eb-cs-item:nth-child(4n+1) { background: var(--eb-c1); }
.envision-eb-catshow--panels .envision-eb-cs-item:nth-child(4n+2) { background: var(--eb-c2); }
.envision-eb-catshow--panels .envision-eb-cs-item:nth-child(4n+3) { background: var(--eb-c3); }
.envision-eb-catshow--panels .envision-eb-cs-item:nth-child(4n+4) { background: var(--eb-c4); }
.envision-eb-catshow--panels .envision-eb-cs-thumb { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: auto; background: transparent; }
.envision-eb-catshow--panels .envision-eb-cs-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .85; transition: transform .45s ease; }
.envision-eb-catshow--panels .envision-eb-cs-item:hover .envision-eb-cs-thumb img { transform: scale(1.06); }
.envision-eb-catshow--panels .envision-eb-cat-placeholder { background: transparent; }
.envision-eb-catshow--panels .envision-eb-cs-label { position: relative; display: block; }
.envision-eb-catshow--panels .envision-eb-cs-name { display: block; color: #fff; font-family: "Iowan Old Style", Georgia, "Times New Roman", serif; font-size: 1.55rem; line-height: 1.15; font-weight: 600; }
.envision-eb-catshow--panels .envision-eb-cs-count { display: block; margin-top: 4px; color: #fff; opacity: .85; font-size: 13px; }
.envision-eb-catshow--panels .envision-eb-cs-go { position: relative; margin-top: 10px; align-self: flex-start; color: #fff; font: 600 .95rem "Segoe UI", Arial, sans-serif; border-bottom: 1.5px solid #fff; padding-bottom: 2px; }
@media (max-width: 760px) {
	.envision-eb-catshow--panels { overflow-x: auto; scroll-snap-type: x mandatory; height: 380px; -webkit-overflow-scrolling: touch; }
	.envision-eb-catshow--panels .envision-eb-cs-item { flex: 0 0 72%; scroll-snap-align: start; }
	.envision-eb-catshow--panels:hover .envision-eb-cs-item,
	.envision-eb-catshow--panels .envision-eb-cs-item:hover { flex-grow: 0; }
}
@media (prefers-reduced-motion: reduce) { .envision-eb-catshow--panels .envision-eb-cs-item, .envision-eb-catshow--panels .envision-eb-cs-thumb img { transition: none; } }
