/**
 * BoraVision reusable UI components.
 *
 * Purpose:
 * - houses the shared design-system building blocks reused across templates
 * - keeps buttons, fields, badges, cards, notices and editorial atoms consistent
 * - acts as the contract between the Design System page and the real site
 *
 * Edit here when:
 * - a component must look the same everywhere it appears
 * - a widget should visually match the Design System demo
 * - a template is supposed to reuse an existing BoraVision component instead of inventing a local variation
 *
 * Avoid putting page-specific spacing or layout decisions here.
 * Those belong in template CSS files such as single-product.css or footer.css.
 */

/* Button system.
   These selectors intentionally cover BoraVision classes, Elementor buttons
   and WooCommerce native submit buttons so the whole storefront feels unified. */
body.boravision :is(
	.bv-button,
	.elementor-button,
	.button,
	.woocommerce-button,
	.single_add_to_cart_button,
	.checkout-button,
	.wc-forward,
	button[type="submit"],
	input[type="submit"]
) {
	display: inline-flex;
	min-height: var(--bv-button-height);
	max-width: 100%;
	align-items: center;
	justify-content: center;
	gap: var(--bv-space-2);
	padding: 12px 24px;
	border: 1px solid var(--bv-interaction-strong);
	border-radius: var(--bv-radius);
	color: var(--bv-interaction-on-strong);
	background: var(--bv-interaction-strong);
	box-shadow: none;
	font-family: var(--bv-font-ui);
	font-size: var(--bv-font-size-sm);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: color var(--bv-transition-fast), background-color var(--bv-transition-fast), border-color var(--bv-transition-fast), opacity var(--bv-transition-fast);
}

body.boravision :is(
	.bv-button,
	.elementor-button,
	.button,
	.woocommerce-button,
	.single_add_to_cart_button,
	.checkout-button,
	.wc-forward,
	button[type="submit"],
	input[type="submit"]
):hover {
	border-color: var(--bv-interaction-strong-hover);
	color: var(--bv-interaction-on-strong);
	background: var(--bv-interaction-strong-hover);
}

body.boravision :is(.bv-button--secondary, .button.outline, .button.alt) {
	border-color: var(--bv-color-black);
	color: var(--bv-color-black);
	background: transparent;
}

body.boravision :is(.bv-button--secondary, .button.outline, .button.alt):hover {
	color: var(--bv-color-white);
	background: var(--bv-color-black);
}

body.boravision .bv-button--text {
	min-height: auto;
	justify-content: flex-start;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	color: var(--bv-color-black);
	background: transparent;
	text-decoration: underline;
	text-underline-offset: 5px;
}

body.boravision .bv-button--text:hover {
	color: var(--bv-interaction-hover);
	background: transparent;
}

/* Dark-context variants: full-bleed dark sections (Hero, Editorial Panel
   dark, Legend Single hero) need buttons that read against a dark/photo
   background, where .bv-button (black fill) and .bv-button--secondary
   (black outline) both disappear. */
body.boravision .bv-button--gold {
	border-color: var(--bv-color-gold);
	color: var(--bv-color-black);
	background: var(--bv-color-gold);
}

body.boravision .bv-button--gold:hover {
	border-color: var(--bv-color-white);
	color: var(--bv-color-black);
	background: var(--bv-color-white);
}

body.boravision .bv-button--outline-light {
	border-color: rgb(255 255 255 / 40%);
	color: var(--bv-color-white);
	background: transparent;
}

body.boravision .bv-button--outline-light:hover {
	border-color: var(--bv-color-white);
	color: var(--bv-color-white);
	background: rgb(255 255 255 / 12%);
}

body.boravision :is(button, input[type="submit"], .button, .bv-button)[disabled],
body.boravision :is(.button, .bv-button).disabled {
	border-color: var(--bv-color-border);
	color: var(--bv-color-text-muted);
	background: var(--bv-color-surface);
	cursor: not-allowed;
	opacity: 0.62;
}

/* Field system.
   Shared form controls should be adjusted here before any template-level tweaks. */
body.boravision :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
	width: 100%;
	min-height: var(--bv-control-height);
	padding: 13px 16px;
	border: var(--bv-border);
	border-radius: var(--bv-radius);
	color: var(--bv-color-text);
	background: var(--bv-color-white);
	box-shadow: none;
	font-family: var(--bv-font-ui);
	font-size: var(--bv-font-size-body);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	transition: border-color var(--bv-transition-fast), box-shadow var(--bv-transition-fast), background-color var(--bv-transition-fast);
}

body.boravision textarea {
	min-height: 144px;
	resize: vertical;
}

body.boravision :is(input, select, textarea)::placeholder {
	color: var(--bv-color-text-muted);
	opacity: 0.78;
}

body.boravision :is(input, select, textarea):focus {
	border-color: var(--bv-color-black);
	outline: 0;
	box-shadow: var(--bv-shadow-focus);
}

body.boravision :is(input, select, textarea)[aria-invalid="true"],
body.boravision .woocommerce-invalid :is(input, select, textarea) {
	border-color: var(--bv-color-danger);
}

body.boravision :is(input, select, textarea):disabled {
	color: var(--bv-color-text-muted);
	background: var(--bv-color-surface);
	cursor: not-allowed;
}

body.boravision :is(input[type="checkbox"], input[type="radio"]) {
	width: 18px;
	height: 18px;
	margin: 0 var(--bv-space-2) 0 0;
	accent-color: var(--bv-color-black);
}

body.boravision label {
	color: var(--bv-color-graphite);
	font-family: var(--bv-font-ui);
	font-size: var(--bv-font-size-sm);
	font-weight: 600;
	letter-spacing: 0;
}

/* Generic card shell used by preview blocks and simple structured content. */
body.boravision .bv-card {
	min-width: 0;
	border: var(--bv-border);
	border-radius: var(--bv-radius);
	background: var(--bv-color-white);
	overflow: hidden;
}

body.boravision .bv-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--bv-color-surface);
}

body.boravision .bv-card__body {
	padding: var(--bv-space-6);
}

/* Product card component.
   Archive/shop templates should reuse this component instead of inventing
   separate WooCommerce card markup styling from scratch. */
body.boravision .bv-product-card {
	overflow: hidden;
	border: 0;
	border-radius: var(--bv-radius);
	background: var(--bv-color-white);
}

body.boravision .bv-product-card__media-link {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--bv-radius);
	background:
		radial-gradient(ellipse at 76% 70%, color-mix(in srgb, var(--bv-card-accent, #4c86c9) 18%, transparent) 0%, transparent 54%),
		linear-gradient(145deg, color-mix(in srgb, var(--bv-card-accent, #4c86c9) 7%, #f7f4ee) 0%, #ebe6dc 54%, color-mix(in srgb, var(--bv-card-accent, #4c86c9) 12%, #d9d0c3) 100%);
	box-shadow: inset 0 0 0 1px rgb(9 10 11 / 6%);
	color: inherit;
	text-decoration: none;
}

body.boravision .bv-product-card .bv-card__media {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	margin: 0;
	object-fit: contain;
	background: transparent;
	filter:
		drop-shadow(0 20px 18px rgb(9 10 11 / 24%))
		drop-shadow(0 4px 5px rgb(9 10 11 / 18%));
	transform: translateY(0) scale(1);
	transform-origin: center;
}

body.boravision .bv-product-card__badges {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	margin-bottom: var(--bv-space-4);
	align-items: center;
}

body.boravision .bv-product-card__badges .bv-badge {
	min-width: 0;
	min-height: 26px;
	flex: 0 1 auto;
	padding: 5px 10px;
	overflow: hidden;
	font-size: 11px;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.boravision .bv-product-card__badges--3 .bv-badge {
	padding-inline: 8px;
	font-size: 10px;
	letter-spacing: 0.01em;
}

body.boravision .bv-product-card h3 {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-black);
	font-family: var(--bv-font-heading);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

body.boravision .bv-product-card h3 a {
	color: inherit;
	text-decoration: none;
}

body.boravision .bv-product-card h3 a:hover {
	color: var(--bv-interaction-hover);
}

body.boravision .bv-product-card__tagline {
	margin: 0 0 var(--bv-space-5);
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
}

body.boravision .bv-product-card .bv-price {
	display: block;
	margin: 0 0 var(--bv-space-5);
	color: var(--bv-color-black);
	font-family: var(--bv-font-ui);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

body.boravision .bv-product-card .bv-price del {
	margin-right: var(--bv-space-2);
	color: var(--bv-color-text-muted);
	font-weight: 400;
	opacity: 0.8;
}

body.boravision .bv-product-card .bv-price ins {
	color: var(--bv-color-danger);
	text-decoration: none;
}

body.boravision .bv-product-card__button {
	width: 100%;
}

body.boravision .bv-badge,
body.boravision .onsale {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
	border: 1px solid currentColor;
	border-radius: var(--bv-radius-full);
	color: var(--bv-color-black);
	background: var(--bv-color-white);
	font-family: var(--bv-font-ui);
	font-size: var(--bv-font-size-xs);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
}

body.boravision .bv-badge--sale,
body.boravision .onsale {
	border-color: var(--bv-color-black);
	color: var(--bv-color-white);
	background: var(--bv-color-black);
}

body.boravision .bv-badge--signature {
	border-color: var(--bv-color-gold);
	color: var(--bv-color-black);
	background: var(--bv-color-gold);
}

body.boravision .bv-heading {
	font-family: var(--bv-font-heading);
	font-weight: 600;
	letter-spacing: 0;
}

body.boravision .bv-eyebrow {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: var(--bv-font-size-xs);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: uppercase;
}

body.boravision .bv-price,
body.boravision .price {
	color: var(--bv-color-black);
	font-family: var(--bv-font-ui);
	font-size: var(--bv-font-size-lg);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

body.boravision :is(.bv-price, .price) del {
	margin-right: var(--bv-space-2);
	color: var(--bv-color-text-muted);
	font-weight: 400;
	opacity: 1;
}

body.boravision :is(.bv-price, .price) ins {
	color: var(--bv-color-danger);
	background: transparent;
	text-decoration: none;
}

/* Shared feedback / notice component.
   WooCommerce native notices are visually mapped into the same system. */
body.boravision .bv-notice,
body.boravision :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .woocommerce-notice) {
	position: relative;
	margin: 0 0 var(--bv-space-6);
	padding: 16px 20px;
	border: var(--bv-border);
	border-left: 3px solid var(--bv-color-black);
	border-radius: var(--bv-radius);
	color: var(--bv-color-text);
	background: var(--bv-color-surface);
	font-family: var(--bv-font-ui);
	font-size: var(--bv-font-size-sm);
	list-style: none;
}

body.boravision .bv-notice--error,
body.boravision .woocommerce-error {
	border-left-color: var(--bv-color-danger);
}

body.boravision .bv-notice--signature {
	border-left-color: var(--bv-color-gold);
}

/* Country Flag component: identity mark and low-contrast editorial atmosphere. */
body.boravision .bv-country-flag {
	display: inline-flex;
	overflow: hidden;
}

body.boravision .bv-country-flag img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.boravision .bv-country-flag--mark {
	width: 38px;
	height: 28px;
	border: 1px solid rgb(9 10 11 / 10%);
	border-radius: 5px;
	box-shadow: 0 4px 14px rgb(9 10 11 / 8%);
}

body.boravision .bv-country-flag--atmosphere {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	pointer-events: none;
}

body.boravision .bv-country-flag--atmosphere img {
	opacity: 0.18;
	filter: saturate(0.82) contrast(1.04);
	transform: none;
	-webkit-mask-image: linear-gradient(110deg, rgb(0 0 0 / 100%) 0%, rgb(0 0 0 / 54%) 48%, transparent 84%);
	mask-image: linear-gradient(110deg, rgb(0 0 0 / 100%) 0%, rgb(0 0 0 / 54%) 48%, transparent 84%);
}

/* Product Facts and Specification List shared components. */
body.boravision .bv-product-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-block: var(--bv-border);
}

body.boravision .bv-product-fact {
	display: grid;
	gap: var(--bv-space-2);
	padding: var(--bv-space-6);
	border-left: var(--bv-border);
}

body.boravision .bv-product-fact:last-child {
	border-right: var(--bv-border);
}

body.boravision .bv-product-fact span {
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.boravision .bv-product-fact strong {
	font-family: var(--bv-font-ui);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.45;
}

body.boravision .bv-specification-group + .bv-specification-group {
	margin-top: var(--bv-space-10);
}

body.boravision .bv-specification-group h3 {
	margin: 0 0 var(--bv-space-4);
	font-family: var(--bv-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Shared Editorial Panel component.
   Page templates may change placement, but the component should remain styled
   in the Design System and anywhere else the shared renderer is used. */
body.boravision .bv-editorial-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	overflow: hidden;
	border: var(--bv-border);
	border-radius: var(--bv-radius);
	background: var(--bv-color-white);
}

body.boravision .bv-editorial-panel--reverse .bv-editorial-panel__media {
	order: -1;
}

body.boravision .bv-editorial-panel__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: var(--bv-space-12);
}

body.boravision .bv-editorial-panel__copy h2 {
	max-width: 13ch;
	margin: 0;
	font-family: var(--bv-font-ui);
	font-size: 34px;
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: 0;
	text-transform: uppercase;
}

body.boravision .bv-editorial-panel__copy > p:last-child {
	max-width: 54ch;
	margin: var(--bv-space-5) 0 0;
	color: var(--bv-color-text-muted);
	font-size: 15px;
	line-height: 1.7;
}

body.boravision .bv-editorial-panel__media {
	min-width: 0;
	margin: 0;
	background: var(--bv-color-surface);
}

body.boravision .bv-editorial-panel__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

/* Country Stage (dark variant) used to be a full-bleed absolute background
   with the copy floating on top -- that only worked because the source
   photography was landscape (product+case flatlays). The real country-stage
   photography is portrait (model, stadium/atmosphere), so this is now a real
   grid column at a portrait aspect-ratio instead of a cover-cropped
   background: showing the whole photo matters more than edge-to-edge bleed. */
body.boravision .bv-editorial-panel--dark {
	min-height: 480px;
	border: 0;
	color: var(--bv-color-white);
	background: var(--bv-color-black);
}

body.boravision .bv-editorial-panel--dark .bv-editorial-panel__copy {
	justify-content: center;
}

body.boravision .bv-editorial-panel--dark .bv-editorial-panel__copy h2 {
	color: var(--bv-color-white);
}

body.boravision .bv-editorial-panel--dark .bv-editorial-panel__copy > p:last-child,
body.boravision .bv-editorial-panel--dark .bv-product-editorial-kicker {
	color: rgb(255 255 255 / 68%);
}

body.boravision .bv-editorial-panel--dark .bv-editorial-panel__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

body.boravision .bv-editorial-panel--dark .bv-editorial-panel__media img {
	height: 100%;
	min-height: 0;
	object-position: center 22%;
}

@media (max-width: 767px) {
	body.boravision .bv-editorial-panel {
		grid-template-columns: minmax(0, 1fr);
	}

	body.boravision .bv-editorial-panel--reverse .bv-editorial-panel__media {
		order: 0;
	}

	body.boravision .bv-editorial-panel__copy {
		padding: var(--bv-space-8) var(--bv-page-gutter);
	}

	body.boravision .bv-editorial-panel__copy h2 {
		font-size: 28px;
	}

	body.boravision .bv-editorial-panel__media img {
		min-height: 320px;
	}
}

/* Collapsed Design System browser for the full country asset library. */
body.boravision .bv-flag-library {
	border: var(--bv-border);
	border-radius: 12px;
	background: var(--bv-color-white);
	overflow: hidden;
}

body.boravision .bv-flag-library > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bv-space-5);
	padding: var(--bv-space-6) var(--bv-space-7);
	cursor: pointer;
	font-family: var(--bv-font-ui);
	list-style: none;
}

body.boravision .bv-flag-library > summary::-webkit-details-marker { display: none; }

body.boravision .bv-flag-library > summary span { font-weight: 650; }
body.boravision .bv-flag-library > summary strong { color: var(--bv-color-text-muted); font-size: 12px; }

body.boravision .bv-flag-library__content {
	display: grid;
	gap: var(--bv-space-8);
	padding: 0 var(--bv-space-7) var(--bv-space-7);
}

body.boravision .bv-flag-library__atmosphere {
	position: relative;
	display: grid;
	min-height: 320px;
	align-items: end;
	overflow: hidden;
	padding: clamp(32px, 6vw, 72px);
	border-radius: 10px;
	color: var(--bv-color-white);
	background: var(--bv-color-black);
}

body.boravision .bv-flag-library__atmosphere > div {
	position: relative;
	z-index: 1;
	max-width: 640px;
}

body.boravision .bv-flag-library__atmosphere h3 {
	margin: var(--bv-space-5) 0 var(--bv-space-3);
	color: var(--bv-color-white);
	font-size: clamp(36px, 5vw, 62px);
}

body.boravision .bv-flag-library__atmosphere p { margin: 0; color: rgb(255 255 255 / 68%); }

body.boravision .bv-flag-library__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--bv-space-3);
}

body.boravision .bv-flag-library__item {
	display: flex;
	align-items: center;
	gap: var(--bv-space-3);
	padding: var(--bv-space-3);
	border: var(--bv-border);
	border-radius: 8px;
	font-family: var(--bv-font-ui);
	font-size: 11px;
	font-weight: 600;
}

/* Product editorial components shared by Single Product and Design System. */
body.boravision .bv-product-editorial-kicker {
	margin: 0 0 var(--bv-space-6);
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body.boravision .bv-style-guide__specification-preview {
	padding: clamp(32px, 5vw, 64px);
	border-radius: 12px;
	color: var(--bv-color-white);
	background: var(--bv-color-black);
}

body.boravision .bv-style-guide__specification-preview .bv-specification-group h3 { color: rgb(255 255 255 / 58%); }
body.boravision .bv-style-guide__specification-preview .bv-product-specifications { margin: 0; }
body.boravision .bv-style-guide__specification-preview .bv-product-specifications > div { display: grid; grid-template-columns: 160px 1fr; gap: var(--bv-space-6); padding: var(--bv-space-4) 0; border-top: 1px solid rgb(255 255 255 / 16%); }
body.boravision .bv-style-guide__specification-preview :is(dt, dd) { margin: 0; }
body.boravision .bv-style-guide__specification-preview dt { color: rgb(255 255 255 / 58%); }

/* Service Link Card group. Shared by the Design System and product templates. */
body.boravision .bv-service-links {
	--bv-service-accent: var(--bv-interaction-color, var(--bv-color-graphite));
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--bv-space-4);
}

body.boravision .bv-service-link-card {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 24px;
	align-items: center;
	gap: var(--bv-space-4);
	min-height: 112px;
	padding: var(--bv-space-5) var(--bv-space-6);
	border: 1px solid color-mix(in srgb, var(--bv-service-accent) 20%, var(--bv-color-border));
	border-radius: 10px;
	color: var(--bv-interaction-color);
	background: linear-gradient(145deg, var(--bv-color-white), color-mix(in srgb, var(--bv-service-accent) 6%, white));
	box-shadow: 0 10px 26px rgb(9 10 11 / 4%);
	text-decoration: none;
	transition: border-color var(--bv-transition-fast), box-shadow var(--bv-transition-fast), transform var(--bv-transition-fast);
}

body.boravision .bv-service-link-card:hover {
	border-color: color-mix(in srgb, var(--bv-service-accent) 62%, var(--bv-color-border));
	box-shadow: 0 16px 36px rgb(9 10 11 / 8%);
	transform: translateY(-3px);
}

body.boravision .bv-service-link-card__icon {
	width: 44px;
	height: 44px;
	padding: 11px;
	border-radius: 50%;
	color: color-mix(in srgb, var(--bv-service-accent) 84%, var(--bv-color-black));
	background: color-mix(in srgb, var(--bv-service-accent) 11%, white);
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
}

body.boravision .bv-service-link-card__copy {
	display: grid;
	gap: var(--bv-space-1);
}

body.boravision .bv-service-link-card__copy strong {
	font-family: var(--bv-font-ui);
	font-size: 13px;
	font-weight: 700;
}

body.boravision .bv-service-link-card__copy span {
	color: var(--bv-color-text-muted);
	font-size: 12px;
	line-height: 1.5;
}

body.boravision .bv-service-link-card__arrow {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
	transition: transform var(--bv-transition-fast);
}

body.boravision .bv-service-link-card:hover .bv-service-link-card__arrow {
	transform: translateX(3px);
}

@media (max-width: 767px) {
	body.boravision .bv-service-links {
		grid-template-columns: minmax(0, 1fr);
	}

	body.boravision .bv-service-link-card {
		min-height: 96px;
	}
}

body.boravision .bv-quantity,
body.boravision .quantity {
	display: inline-grid;
	grid-template-columns: 44px minmax(52px, auto) 44px;
	width: auto;
	min-height: var(--bv-control-height);
	border: var(--bv-border);
	border-radius: var(--bv-radius);
	background: var(--bv-color-white);
	overflow: hidden;
}

body.boravision :is(.bv-quantity, .quantity) :is(button, input) {
	box-sizing: border-box !important;
	width: 100%;
	min-width: 0;
	min-height: 50px;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	color: var(--bv-color-black);
	background: transparent;
	box-shadow: none;
	line-height: 1 !important;
	text-align: center;
}

body.boravision :is(.bv-quantity, .quantity) input[type="number"] {
	display: block;
	height: 50px;
	font-family: var(--bv-font-ui);
	font-size: 16px;
	font-weight: 500;
	line-height: 50px !important;
	text-indent: 0;
	appearance: textfield;
	-moz-appearance: textfield;
}

body.boravision :is(.bv-quantity, .quantity) input[type="number"]::-webkit-inner-spin-button,
body.boravision :is(.bv-quantity, .quantity) input[type="number"]::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

body.boravision .bv-swatch {
	display: inline-block;
	width: 24px;
	height: 24px;
	border: 1px solid rgb(9 10 11 / 12%);
	border-radius: 50%;
	vertical-align: middle;
}

body.boravision .bv-color-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--bv-space-4);
}

body.boravision .bv-color-chip {
	min-width: 0;
	padding: var(--bv-space-4);
	border: var(--bv-border);
	border-radius: var(--bv-radius);
}

body.boravision .bv-color-chip__sample {
	display: block;
	height: 72px;
	margin-bottom: var(--bv-space-3);
	border: 1px solid rgb(9 10 11 / 8%);
	border-radius: var(--bv-radius-sm);
	background: var(--bv-swatch-color);
}

body.boravision .bv-color-chip--black { --bv-swatch-color: var(--bv-color-black); }
body.boravision .bv-color-chip--white { --bv-swatch-color: var(--bv-color-white); }
body.boravision .bv-color-chip--surface { --bv-swatch-color: var(--bv-color-surface); }
body.boravision .bv-color-chip--graphite { --bv-swatch-color: var(--bv-color-graphite); }
body.boravision .bv-color-chip--muted { --bv-swatch-color: var(--bv-color-text-muted); }
body.boravision .bv-color-chip--border { --bv-swatch-color: var(--bv-color-border); }
body.boravision .bv-color-chip--danger { --bv-swatch-color: var(--bv-color-danger); }
body.boravision .bv-color-chip--gold { --bv-swatch-color: var(--bv-color-gold); }

body.boravision .bv-color-chip code {
	display: block;
	color: var(--bv-color-text-muted);
	font-size: var(--bv-font-size-xs);
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	body.boravision .bv-product-facts,
	body.boravision .bv-flag-library__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.boravision .bv-product-fact:nth-child(odd) { border-left: var(--bv-border); }
	body.boravision .bv-product-fact:nth-child(even) { border-right: var(--bv-border); }
	body.boravision .bv-product-fact { border-bottom: var(--bv-border); }
	body.boravision .bv-product-fact:nth-last-child(-n + 2) { border-bottom: 0; }

	body.boravision .bv-flag-library > summary,
	body.boravision .bv-flag-library__content { padding-inline: var(--bv-space-4); }
	body.boravision .bv-flag-library__grid { gap: var(--bv-space-2); }
	body.boravision .bv-flag-library__item { align-items: flex-start; flex-direction: column; }

	body.boravision :is(
		.bv-button,
		.elementor-button,
		.button,
		.woocommerce-button,
		.single_add_to_cart_button,
		.checkout-button,
		.wc-forward,
		button[type="submit"],
		input[type="submit"]
	) {
		padding-inline: 18px;
	}

	body.boravision .bv-card__body {
		padding: var(--bv-space-4);
	}

	body.boravision .bv-color-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Media Mosaic: asymmetric image grid. Shared shape for any "a few images,
   not an even grid" moment — currently the Legend gallery. If the Single
   Product Lifestyle gallery (.bv-product-lifestyle, in
   templates/single-product.css) is ever touched again, migrate it to this
   class instead of keeping a second copy of the same pattern. */
body.boravision .bv-media-mosaic {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	width: 100%;
	background: var(--bv-color-border);
}

body.boravision .bv-media-mosaic__item {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: var(--bv-color-white);
}

body.boravision .bv-media-mosaic__item--1 { grid-column: span 4; }
body.boravision .bv-media-mosaic__item--2 { grid-column: span 2; }
body.boravision .bv-media-mosaic__item--3 { grid-column: span 2; }
body.boravision .bv-media-mosaic__item--4 { grid-column: span 4; }
body.boravision .bv-media-mosaic__item:only-child { grid-column: 1 / -1; }

body.boravision .bv-media-mosaic img {
	display: block;
	width: 100%;
	height: min(58svh, 640px);
	object-fit: cover;
}

@media (max-width: 767px) {
	body.boravision .bv-media-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.boravision .bv-media-mosaic__item--1,
	body.boravision .bv-media-mosaic__item--4 {
		grid-column: 1 / -1;
	}
}

/* Archive Hero: dark full-width band shared by every archive-style page
   (Shop, Legends, and any future archive). Width/positioning are left to
   the page (some archives sit inside a padded container, others break out
   to the viewport) — this only owns the look: gradient, gold stripe, ghost
   word, type scale. */
/* Width is set against the viewport, not the parent, so the hero is the same
   on every page whether Elementor wraps it in a boxed (1320px) or full-width
   container: 1480px max with the page gutter on each side, centred on the
   parent (every parent here is centred). --bv-vw is the viewport width
   without the scrollbar, set by boravision-ola.js; 100vw is the fallback. */
body.boravision .bv-archive-hero {
	--bv-hero-width: min(calc(var(--bv-vw, 100vw) - (2 * var(--bv-page-gutter))), 1480px);
	position: relative;
	display: flex;
	width: var(--bv-hero-width);
	max-width: none;
	min-height: clamp(300px, 34vw, 460px);
	margin: var(--bv-page-gutter) 0 0 calc(50% - (var(--bv-hero-width) / 2));
	align-items: flex-end;
	overflow: hidden;
	isolation: isolate;
	border-radius: 16px;
	color: #ffffff;
	background: linear-gradient(160deg, #222833 0%, #171b21 60%);
}

body.boravision .bv-archive-hero__light {
	position: absolute;
	top: -30vmax;
	right: -20vmax;
	z-index: 0;
	width: 70vmax;
	height: 70vmax;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(183 188 196 / 22%), transparent 70%);
	animation: bv-hero-float 18s ease-in-out infinite alternate;
	pointer-events: none;
}

body.boravision .bv-archive-hero__light--two {
	top: auto;
	right: auto;
	bottom: -32vmax;
	left: -18vmax;
	width: 50vmax;
	height: 50vmax;
	background: radial-gradient(closest-side, rgb(120 140 170 / 16%), transparent 70%);
	animation-duration: 24s;
}

@keyframes bv-hero-float {
	to { transform: translate(-6vmax, 6vmax) scale(1.08); }
}

body.boravision .bv-archive-hero__bands {
	position: absolute;
	inset: 0 0 12px 45%;
	z-index: 1;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
	pointer-events: none;
}

body.boravision .bv-archive-hero__bands::before {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: repeating-linear-gradient(115deg, #74ACDF 0 46px, #FFFFFF 46px 92px, #009C3B 92px 138px, #FFDF00 138px 184px, #AA151B 184px 230px, #F1BF00 230px 276px, #002654 276px 322px, #ED2939 322px 368px, #009246 368px 414px, #CE1124 414px 460px);
	filter: blur(6px) saturate(1.1);
	opacity: 0.16;
	animation: bv-hero-drift 40s linear infinite;
	will-change: transform;
	content: "";
}

/* One full pattern period along x (460px / cos 25deg) for a seamless loop. */
@keyframes bv-hero-drift {
	to { transform: translate3d(507.6px, 0, 0); }
}

body.boravision .bv-archive-hero__grain {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
	opacity: 0.08;
	pointer-events: none;
}

body.boravision .bv-archive-hero__copy {
	position: relative;
	z-index: 2;
	max-width: 760px;
	padding: clamp(56px, 8vw, 112px) clamp(24px, 5vw, 64px) clamp(76px, 9vw, 120px);
	border-left: 0;
}

body.boravision .bv-archive-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: #b7bcc4;
	font-family: var(--bv-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body.boravision .bv-archive-hero__kicker::before {
	width: 28px;
	height: 2px;
	background: #b7bcc4;
	content: "";
}

body.boravision .bv-archive-hero :is(h1, h2) {
	max-width: 14ch;
	margin: 0;
	color: #ffffff;
	font-family: var(--bv-font-heading);
	font-size: clamp(44px, 7vw, 96px);
	font-weight: 800;
	letter-spacing: -0.005em;
	line-height: 0.9;
	text-transform: uppercase;
	text-wrap: balance;
}

body.boravision .bv-archive-hero__intro {
	max-width: 52ch;
	margin: 18px 0 0;
	color: rgb(255 255 255 / 76%);
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.55;
}

body.boravision .bv-archive-hero__cta {
	display: inline-flex;
	align-items: center;
	height: 50px;
	margin-top: 26px;
	padding: 0 24px;
	border-radius: 25px;
	color: #111111 !important;
	background: #ffffff;
	font-weight: 600;
	text-decoration: none;
}

/* La Ola: a row of small flags; a stadium wave passes flag by flag and each
   one springs up and settles (driven by boravision-frontend.js). */
body.boravision .bv-ola {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	height: 46px;
	align-items: flex-end;
	gap: 3px;
	padding: 0 3px;
	overflow: hidden;
	pointer-events: none;
}

body.boravision .bv-ola__flag {
	display: flex;
	flex: 1 1 0;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	border-radius: 3px 3px 0 0;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%);
	transform: scaleY(0.16);
	transform-origin: 50% 100%;
	transition: transform 0.42s cubic-bezier(0.34, 1.45, 0.64, 1);
	will-change: transform;
}

body.boravision .bv-ola__flag i {
	flex: 1 1 0;
}

@media (max-width: 767px) {
	body.boravision .bv-archive-hero {
		--bv-hero-width: var(--bv-vw, 100vw);
		min-height: 360px;
		margin-top: 0;
		border-radius: 0;
	}

	body.boravision .bv-archive-hero__bands {
		inset: 0 0 10px 0;
		-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
		mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
	}

	body.boravision .bv-archive-hero__bands::before {
		opacity: 0.12;
	}

	body.boravision .bv-ola {
		height: 36px;
		gap: 2px;
	}

	body.boravision .bv-ola__flag:nth-child(n + 19) {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.boravision .bv-archive-hero__light,
	body.boravision .bv-archive-hero__bands::before {
		animation: none;
	}
}

/* Legends Wall — editorial photo-wall gallery (bv_render_legends_wall()).
   Fixed column count + grid-auto-rows (not aspect-ratio on the tile itself,
   which would fight the row-span sizing) so a tile every 7th item can span
   2 columns / 4 rows as a "feature" without any per-tile positioning logic.
   No outer margin/width here on purpose — that's page composition and
   belongs in the template that places this component (see home.css). */
body.boravision .bv-legends-wall__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--bv-space-8);
	margin: 0 0 var(--bv-space-10);
	padding-left: 28px;
	border-left: 6px solid var(--bv-color-decor);
}

body.boravision .bv-legends-wall__kicker {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-decor);
	font-family: var(--bv-font-ui);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

body.boravision .bv-legends-wall__heading {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-black);
	font-family: var(--bv-font-heading);
	font-weight: 600;
	font-size: clamp(36px, 4.2vw, 64px);
	line-height: 1.02;
}

body.boravision .bv-legends-wall__intro {
	max-width: 52ch;
	margin: 0;
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: 16px;
	line-height: 1.6;
}

body.boravision .bv-legends-wall__all {
	flex-shrink: 0;
	color: var(--bv-color-black);
	font-family: var(--bv-font-ui);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid var(--bv-color-decor);
	padding-bottom: 2px;
}

body.boravision .bv-legends-wall__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: 100px;
	gap: clamp(8px, 1vw, 14px);
}

body.boravision .bv-legend-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	grid-column: span 1;
	grid-row: span 2;
	overflow: hidden;
	border-radius: var(--bv-radius);
	background: var(--bv-color-graphite);
	text-decoration: none;
	color: var(--bv-color-white);
}

body.boravision .bv-legend-tile--feature {
	grid-column: span 2;
	grid-row: span 4;
}

body.boravision .bv-legend-tile__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.55) contrast(1.02);
	transform: scale(1.01);
	transition: transform 600ms ease, filter 600ms ease;
}

body.boravision .bv-legend-tile:hover .bv-legend-tile__image {
	transform: scale(1.08);
	filter: grayscale(0);
}

body.boravision .bv-legend-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgb(9 10 11 / 0%) 45%, rgb(9 10 11 / 92%) 100%);
	opacity: 0.55;
	transition: opacity var(--bv-transition-fast);
}

body.boravision .bv-legend-tile:hover::before {
	opacity: 0.92;
}

body.boravision .bv-legend-tile::after {
	content: "";
	position: absolute;
	left: var(--bv-space-4);
	right: var(--bv-space-4);
	bottom: 0;
	height: 2px;
	z-index: 2;
	background: var(--bv-color-decor);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--bv-transition);
}

body.boravision .bv-legend-tile:hover::after {
	transform: scaleX(1);
}

body.boravision .bv-legend-tile__name {
	position: relative;
	z-index: 2;
	padding: var(--bv-space-4);
	font-family: var(--bv-font-ui);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	transform: translateY(10px);
	opacity: 0;
	transition: opacity var(--bv-transition-fast), transform var(--bv-transition-fast);
}

body.boravision .bv-legend-tile--feature .bv-legend-tile__name {
	font-family: var(--bv-font-heading);
	font-size: 22px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: -0.01em;
}

body.boravision .bv-legend-tile:hover .bv-legend-tile__name {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1024px) {
	body.boravision .bv-legends-wall__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 90px; }
}

@media (max-width: 640px) {
	body.boravision .bv-legends-wall__header { flex-direction: column; align-items: flex-start; gap: var(--bv-space-4); }
	body.boravision .bv-legends-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 80px; }
}

/* Photo Wall — generic, content-type-agnostic gallery (bv_render_photo_wall()).
   Visually related to the Legends Wall above (same fixed-column + feature-
   tile technique) but a fully separate class namespace on purpose: this one
   has no bv_legend dependency, takes plain Media Library images, and adds a
   click-to-enlarge lightbox (assets/js/boravision-photo-wall.js) since tiles
   usually have nowhere to "link out" to. */
body.boravision .bv-photo-wall__header {
	margin: 0 0 var(--bv-space-10);
	padding-left: 28px;
	border-left: 6px solid var(--bv-color-decor);
}

body.boravision .bv-photo-wall__kicker {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-decor);
	font-family: var(--bv-font-ui);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

body.boravision .bv-photo-wall__heading {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-black);
	font-family: var(--bv-font-heading);
	font-weight: 600;
	font-size: clamp(36px, 4.2vw, 64px);
	line-height: 1.02;
}

body.boravision .bv-photo-wall__intro {
	max-width: 52ch;
	margin: 0;
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: 16px;
	line-height: 1.6;
}

body.boravision .bv-photo-wall__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-auto-rows: 110px;
	gap: clamp(8px, 1vw, 14px);
}

body.boravision .bv-photo-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	grid-column: span 1;
	grid-row: span 2;
	overflow: hidden;
	border-radius: var(--bv-radius);
	background: var(--bv-color-graphite);
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	color: var(--bv-color-white);
	font: inherit;
	text-align: left;
}

body.boravision a.bv-photo-tile {
	cursor: default;
}

body.boravision .bv-photo-tile--feature {
	grid-column: span 2;
	grid-row: span 4;
}

body.boravision .bv-photo-tile__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.01);
	transition: transform 600ms ease;
}

body.boravision .bv-photo-tile:hover .bv-photo-tile__image {
	transform: scale(1.08);
}

body.boravision .bv-photo-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgb(9 10 11 / 0%) 55%, rgb(9 10 11 / 85%) 100%);
	opacity: 0;
	transition: opacity var(--bv-transition-fast);
}

body.boravision .bv-photo-tile:hover::before {
	opacity: 1;
}

body.boravision .bv-photo-tile::after {
	content: "";
	position: absolute;
	left: var(--bv-space-4);
	right: var(--bv-space-4);
	bottom: 0;
	height: 2px;
	z-index: 2;
	background: var(--bv-color-decor);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--bv-transition);
}

body.boravision .bv-photo-tile:hover::after {
	transform: scaleX(1);
}

body.boravision .bv-photo-tile__caption {
	position: relative;
	z-index: 2;
	padding: var(--bv-space-4);
	font-family: var(--bv-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity var(--bv-transition-fast), transform var(--bv-transition-fast);
}

body.boravision .bv-photo-tile:hover .bv-photo-tile__caption {
	opacity: 1;
	transform: translateY(0);
}

/* Lightbox */
body.boravision .bv-photo-wall__lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--bv-space-6);
	padding: var(--bv-space-10);
	background: rgb(9 10 11 / 94%);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--bv-transition);
}

body.boravision .bv-photo-wall.is-lightbox-open .bv-photo-wall__lightbox {
	opacity: 1;
	pointer-events: auto;
}

/* Set on <body> by boravision-photo-wall.js while the lightbox is open. */
body.boravision.bv-lightbox-locked {
	overflow: hidden;
}

body.boravision .bv-photo-wall__lightbox-figure {
	position: relative;
	max-width: min(1100px, 84vw);
	max-height: 84vh;
	margin: 0;
}

body.boravision .bv-photo-wall__lightbox-image {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: var(--bv-radius);
	box-shadow: var(--bv-shadow-raised);
}

body.boravision .bv-photo-wall__lightbox-caption {
	margin: var(--bv-space-4) 0 0;
	color: rgb(255 255 255 / 78%);
	font-family: var(--bv-font-ui);
	font-size: 14px;
	text-align: center;
}

body.boravision .bv-photo-wall__lightbox-caption:empty {
	display: none;
}

body.boravision .bv-photo-wall__lightbox-close {
	position: absolute;
	top: var(--bv-space-6);
	right: var(--bv-space-6);
	width: 44px;
	height: 44px;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 999px;
	background: transparent;
	color: var(--bv-color-white);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background var(--bv-transition-fast), border-color var(--bv-transition-fast);
}

body.boravision .bv-photo-wall__lightbox-close:hover {
	background: rgb(255 255 255 / 10%);
	border-color: var(--bv-color-white);
}

body.boravision .bv-photo-wall__lightbox-nav {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 999px;
	background: transparent;
	color: var(--bv-color-white);
	font-size: 20px;
	cursor: pointer;
	transition: background var(--bv-transition-fast), border-color var(--bv-transition-fast);
}

body.boravision .bv-photo-wall__lightbox-nav:hover {
	background: rgb(255 255 255 / 10%);
	border-color: var(--bv-color-decor);
	color: var(--bv-color-decor);
}

@media (max-width: 1024px) {
	body.boravision .bv-photo-wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 100px; }
	body.boravision .bv-photo-wall__lightbox { padding: var(--bv-space-6); gap: var(--bv-space-3); }
	body.boravision .bv-photo-wall__lightbox-nav { width: 40px; height: 40px; }
}

@media (max-width: 640px) {
	body.boravision .bv-photo-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 90px; }
	body.boravision .bv-photo-tile--feature { grid-column: span 2; grid-row: span 4; }
}

/* Media Wall — mixed photo + video gallery (bv_render_media_wall()).
   Tile grid/feature-tile mechanics mirror Photo Wall exactly (same visual
   system, see the comment on bv_render_editorial_panel()); the only new
   surface is the video play-icon overlay, the name/role caption used by
   video tiles, and a lightbox that toggles between an <img> and a <video>
   instead of always showing an image. */
body.boravision .bv-media-wall__header {
	margin: 0 0 var(--bv-space-10);
	padding-left: 28px;
	border-left: 6px solid var(--bv-color-decor);
}

body.boravision .bv-media-wall__kicker {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-decor);
	font-family: var(--bv-font-ui);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

body.boravision .bv-media-wall__heading {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-black);
	font-family: var(--bv-font-heading);
	font-weight: 600;
	font-size: clamp(36px, 4.2vw, 64px);
	line-height: 1.02;
}

body.boravision .bv-media-wall__intro {
	max-width: 52ch;
	margin: 0;
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: 16px;
	line-height: 1.6;
}

/* Large reel-style cards, not the Photo Wall's dense masonry grid — each
   tile is sized to its own footage's real aspect ratio (see
   bv_get_attachment_aspect_ratio() / --bv-media-aspect below), falling back
   to portrait (9/16, matching a phone-shot testimonial) when the dimensions
   aren't known. Fixed 3-column grid (not auto-fit) on purpose: a handful of
   items with auto-fit grew to fill the row via 1fr, making cards balloon to
   near-native video size — a flat 3-per-row keeps sizing predictable
   regardless of how many items there are. */
body.boravision .bv-media-wall__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 24px);
}

body.boravision .bv-media-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: var(--bv-media-aspect, 9 / 16);
	max-height: 620px;
	overflow: hidden;
	border-radius: var(--bv-radius);
	background: var(--bv-color-graphite);
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	color: var(--bv-color-white);
	font: inherit;
	text-align: left;
}

body.boravision .bv-media-tile__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.01);
	transition: transform 600ms ease;
}

body.boravision .bv-media-tile__thumb--empty {
	background: linear-gradient(135deg, var(--bv-color-graphite), var(--bv-color-black));
}

body.boravision .bv-media-tile:hover .bv-media-tile__thumb {
	transform: scale(1.08);
}

body.boravision .bv-media-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgb(9 10 11 / 0%) 55%, rgb(9 10 11 / 85%) 100%);
	opacity: 0;
	transition: opacity var(--bv-transition-fast);
}

body.boravision .bv-media-tile--video::before {
	opacity: 0.55;
}

body.boravision .bv-media-tile:hover::before {
	opacity: 1;
}

body.boravision .bv-media-tile::after {
	content: "";
	position: absolute;
	left: var(--bv-space-4);
	right: var(--bv-space-4);
	bottom: 0;
	height: 2px;
	z-index: 2;
	background: var(--bv-color-decor);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--bv-transition);
}

body.boravision .bv-media-tile:hover::after {
	transform: scaleX(1);
}

/* Play icon — always visible on video tiles (not hover-gated) so it reads
   as "this one plays" at a glance across a mixed photo/video grid. */
body.boravision .bv-media-tile__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: -26px 0 0 -26px;
	border-radius: 999px;
	background: rgb(255 255 255 / 14%);
	border: 1px solid rgb(255 255 255 / 40%);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background var(--bv-transition-fast), border-color var(--bv-transition-fast), transform var(--bv-transition-fast);
}

body.boravision .bv-media-tile__play svg {
	width: 18px;
	height: 18px;
	fill: var(--bv-color-white);
	margin-left: 2px;
}

body.boravision .bv-media-tile--video:hover .bv-media-tile__play {
	background: var(--bv-color-decor);
	border-color: var(--bv-color-decor);
	transform: scale(1.08);
}

body.boravision .bv-media-tile--video:hover .bv-media-tile__play svg {
	fill: var(--bv-color-black);
}

body.boravision .bv-media-tile__caption {
	position: relative;
	z-index: 2;
	display: block;
	padding: var(--bv-space-4);
	font-family: var(--bv-font-ui);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity var(--bv-transition-fast), transform var(--bv-transition-fast);
}

body.boravision .bv-media-tile:hover .bv-media-tile__caption {
	opacity: 1;
	transform: translateY(0);
}

body.boravision .bv-media-tile__caption strong {
	display: block;
	font-family: var(--bv-font-heading);
	font-size: 17px;
	font-weight: 600;
}

body.boravision .bv-media-tile__caption span {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 68%);
}

body.boravision .bv-media-tile--photo .bv-media-tile__caption span {
	margin-top: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: none;
	color: var(--bv-color-white);
}

/* Lightbox */
body.boravision .bv-media-wall__lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--bv-space-6);
	padding: var(--bv-space-10);
	background: rgb(9 10 11 / 94%);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--bv-transition);
}

body.boravision .bv-media-wall.is-lightbox-open .bv-media-wall__lightbox {
	opacity: 1;
	pointer-events: auto;
}

body.boravision .bv-media-wall__lightbox-stage {
	position: relative;
	max-width: min(1100px, 84vw);
	max-height: 84vh;
	margin: 0;
}

body.boravision .bv-media-wall__lightbox-image,
body.boravision .bv-media-wall__lightbox-video {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: var(--bv-radius);
	box-shadow: var(--bv-shadow-raised);
	background: var(--bv-color-black);
}

body.boravision .bv-media-wall__lightbox-image[hidden],
body.boravision .bv-media-wall__lightbox-video[hidden] {
	display: none;
}

body.boravision .bv-media-wall__lightbox-caption {
	margin: var(--bv-space-4) 0 0;
	color: rgb(255 255 255 / 78%);
	font-family: var(--bv-font-ui);
	font-size: 14px;
	text-align: center;
}

body.boravision .bv-media-wall__lightbox-caption strong {
	display: block;
	color: var(--bv-color-white);
	font-family: var(--bv-font-heading);
	font-size: 20px;
	font-weight: 600;
}

body.boravision .bv-media-wall__lightbox-caption strong:empty {
	display: none;
}

body.boravision .bv-media-wall__lightbox-caption span {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bv-color-decor);
}

body.boravision .bv-media-wall__lightbox-caption p {
	margin: var(--bv-space-2) 0 0;
}

body.boravision .bv-media-wall__lightbox-caption p:empty {
	display: none;
}

body.boravision .bv-media-wall__lightbox-close {
	position: absolute;
	top: var(--bv-space-6);
	right: var(--bv-space-6);
	width: 44px;
	height: 44px;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 999px;
	background: transparent;
	color: var(--bv-color-white);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background var(--bv-transition-fast), border-color var(--bv-transition-fast);
}

body.boravision .bv-media-wall__lightbox-close:hover {
	background: rgb(255 255 255 / 10%);
	border-color: var(--bv-color-white);
}

body.boravision .bv-media-wall__lightbox-nav {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 999px;
	background: transparent;
	color: var(--bv-color-white);
	font-size: 20px;
	cursor: pointer;
	transition: background var(--bv-transition-fast), border-color var(--bv-transition-fast);
}

body.boravision .bv-media-wall__lightbox-nav:hover {
	background: rgb(255 255 255 / 10%);
	border-color: var(--bv-color-decor);
	color: var(--bv-color-decor);
}

@media (max-width: 1024px) {
	body.boravision .bv-media-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.boravision .bv-media-tile { max-height: 520px; }
	body.boravision .bv-media-wall__lightbox { padding: var(--bv-space-6); gap: var(--bv-space-3); }
	body.boravision .bv-media-wall__lightbox-nav { width: 40px; height: 40px; }
}

@media (max-width: 640px) {
	body.boravision .bv-media-wall__grid { grid-template-columns: minmax(0, 1fr); }
	body.boravision .bv-media-tile { max-height: 560px; }
}

/* Social Proof — review slider + trust strip (bv_render_social_proof()).
   Star rating markup: a dim 5-star base with a gold copy overlaid and
   clipped to the rated percentage via width+overflow, generated by
   bv_render_star_rating() — no icon font/SVG dependency. No outer
   margin/width here on purpose — page composition lives in home.css. */
body.boravision .bv-social-proof__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--bv-space-8);
	margin: 0 0 var(--bv-space-10);
	padding-left: 28px;
	border-left: 6px solid var(--bv-color-decor);
}

body.boravision .bv-social-proof__kicker {
	margin: 0 0 var(--bv-space-3);
	color: var(--bv-color-decor);
	font-family: var(--bv-font-ui);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

body.boravision .bv-social-proof__heading {
	margin: 0;
	color: var(--bv-color-black);
	font-family: var(--bv-font-heading);
	font-weight: 600;
	font-size: clamp(36px, 4.2vw, 64px);
	line-height: 1.02;
}

body.boravision .bv-social-proof__nav {
	display: flex;
	flex-shrink: 0;
	gap: var(--bv-space-3);
}

body.boravision .bv-social-nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--bv-color-border);
	border-radius: 999px;
	background: var(--bv-color-white);
	color: var(--bv-color-black);
	cursor: pointer;
	transition: background var(--bv-transition-fast), border-color var(--bv-transition-fast), color var(--bv-transition-fast);
}

body.boravision .bv-social-nav-btn svg {
	display: block;
	width: 18px;
	height: 18px;
}

body.boravision .bv-social-nav-btn:hover {
	background: var(--bv-color-black);
	border-color: var(--bv-color-black);
	color: var(--bv-color-white);
}

body.boravision .bv-social-nav-btn:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

body.boravision .bv-social-proof__track {
	display: flex;
	gap: clamp(16px, 1.6vw, 24px);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-left: var(--bv-page-gutter);
	padding: 4px 4px var(--bv-space-4);
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

body.boravision .bv-review-card {
	display: flex;
	flex: 0 0 clamp(280px, 30vw, 360px);
	flex-direction: column;
	gap: var(--bv-space-4);
	padding: var(--bv-space-6);
	border-radius: var(--bv-radius);
	background: var(--bv-color-surface);
	scroll-snap-align: start;
}

body.boravision .bv-star-rating {
	position: relative;
	display: inline-block;
	font-size: 15px;
	letter-spacing: 3px;
	color: rgb(9 10 11 / 18%);
}

body.boravision .bv-star-rating__fill {
	position: absolute;
	inset: 0;
	overflow: hidden;
	color: var(--bv-color-decor);
	white-space: nowrap;
}

body.boravision .bv-review-card__quote {
	margin: 0;
	color: var(--bv-color-text);
	font-family: var(--bv-font-heading);
	font-weight: 500;
	font-style: italic;
	font-size: 19px;
	line-height: 1.45;
}

body.boravision .bv-review-card__meta {
	display: flex;
	align-items: center;
	gap: var(--bv-space-3);
	margin-top: auto;
	padding-top: var(--bv-space-4);
	border-top: 1px solid var(--bv-color-border);
}

body.boravision .bv-review-card__author {
	display: block;
	color: var(--bv-color-black);
	font-family: var(--bv-font-ui);
	font-size: 14px;
	font-weight: 800;
}

body.boravision .bv-review-card__product {
	display: block;
	margin-top: 2px;
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: 12px;
}

/* Linked variant (real product_id given) — same base look, but reads as
   clickable instead of a plain label. */
a.bv-review-card__product {
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color var(--bv-transition-fast), border-color var(--bv-transition-fast);
}

a.bv-review-card__product:hover {
	color: var(--bv-color-black);
	border-bottom-color: var(--bv-color-decor);
}

body.boravision .bv-social-proof__trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 1.6vw, 24px);
	margin: clamp(32px, 4vw, 56px) 0 0;
	padding: var(--bv-space-8) 0 0;
	border-top: 1px solid var(--bv-color-border);
	list-style: none;
}

body.boravision .bv-social-proof__trust li {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.boravision .bv-social-proof__trust strong {
	color: var(--bv-color-black);
	font-family: var(--bv-font-heading);
	font-weight: 600;
	font-size: 18px;
}

body.boravision .bv-social-proof__trust span {
	color: var(--bv-color-text-muted);
	font-family: var(--bv-font-ui);
	font-size: 14px;
	line-height: 1.5;
}

@media (max-width: 900px) {
	body.boravision .bv-social-proof__trust { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
	body.boravision .bv-social-proof__header { flex-direction: column; align-items: flex-start; gap: var(--bv-space-4); }
	body.boravision .bv-social-proof__nav { display: none; }
}

/* Internal Design System: ordered reference, not a public page template. */
body.boravision .bv-style-guide {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow: clip;
	background: var(--bv-color-white);
}

body.boravision.design-system :is(.site-subheader, .page-header) { display: none; }
body.boravision.design-system :is(.site-main, .entry-content) { margin: 0; padding: 0; }

body.boravision .bv-style-guide__hero {
	padding: clamp(88px, 10vw, 144px) 0 0;
	color: var(--bv-color-white);
	background: var(--bv-color-black);
}

body.boravision .bv-ds-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: var(--bv-space-12);
	padding-bottom: clamp(64px, 8vw, 104px);
}

body.boravision .bv-style-guide__hero :is(h1, .bv-eyebrow) { color: var(--bv-color-white); }
body.boravision .bv-style-guide__hero h1 { max-width: 900px; margin: 0 0 var(--bv-space-6); font-size: clamp(64px, 9vw, 128px); line-height: 0.88; }
body.boravision .bv-style-guide__intro { max-width: 620px; margin: 0; color: rgb(255 255 255 / 68%); font-size: 18px; line-height: 1.7; }

body.boravision .bv-ds-meta { display: grid; gap: var(--bv-space-3); min-width: 190px; }
body.boravision .bv-ds-meta span { padding-top: var(--bv-space-3); border-top: 1px solid rgb(255 255 255 / 20%); color: rgb(255 255 255 / 62%); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

body.boravision .bv-ds-index {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	border-top: 1px solid rgb(255 255 255 / 16%);
}

body.boravision .bv-ds-index a { display: grid; min-height: 86px; align-content: center; gap: var(--bv-space-2); padding: var(--bv-space-4); border-left: 1px solid rgb(255 255 255 / 16%); color: rgb(255 255 255 / 68%); font-size: 12px; font-weight: 650; text-decoration: none; }
body.boravision .bv-ds-index a:last-child { border-right: 1px solid rgb(255 255 255 / 16%); }
body.boravision .bv-ds-index a:hover { color: var(--bv-color-white); background: rgb(255 255 255 / 6%); }
body.boravision .bv-ds-index a span { color: rgb(255 255 255 / 38%); font-size: 10px; letter-spacing: 0.12em; }

body.boravision .bv-ds-section { padding-block: clamp(88px, 9vw, 132px); scroll-margin-top: 96px; }
body.boravision .bv-ds-section--surface { background: var(--bv-color-surface); }

body.boravision .bv-ds-section__header {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: var(--bv-space-6);
	margin-bottom: clamp(56px, 7vw, 96px);
	padding-top: var(--bv-space-6);
	border-top: 1px solid var(--bv-color-black);
}

body.boravision .bv-ds-section__header > span { color: var(--bv-color-text-muted); font-family: var(--bv-font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; }
body.boravision .bv-ds-section__header .bv-eyebrow { margin-bottom: var(--bv-space-3); }
body.boravision .bv-ds-section__header h2 { max-width: 780px; margin: 0 0 var(--bv-space-4); font-size: clamp(50px, 6vw, 82px); line-height: 0.95; }
body.boravision .bv-ds-section__header p:last-child { max-width: 640px; margin: 0; color: var(--bv-color-text-muted); line-height: 1.7; }

body.boravision .bv-ds-subsection { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); padding-block: clamp(48px, 6vw, 80px); border-top: var(--bv-border); }
body.boravision .bv-ds-subsection__title h3 { margin: 0 0 var(--bv-space-3); font-family: var(--bv-font-ui); font-size: 18px; }
body.boravision .bv-ds-subsection__title p { margin: 0; color: var(--bv-color-text-muted); font-size: 13px; line-height: 1.65; }

body.boravision .bv-style-guide__type { max-width: 900px; }
body.boravision .bv-style-guide__type :is(h1, h2, h3, h4, h5, h6) { margin: 0 0 var(--bv-space-5); }
body.boravision .bv-style-guide__type h1 { font-size: clamp(48px, 6vw, 78px); }
body.boravision .bv-style-guide__type p { max-width: var(--bv-container-text); }

body.boravision .bv-component-demo { margin-top: var(--bv-space-8); overflow: hidden; border: var(--bv-border); border-radius: 12px; background: var(--bv-color-white); box-shadow: 0 14px 38px rgb(9 10 11 / 4%); }
body.boravision .bv-component-demo + .bv-component-demo { margin-top: var(--bv-space-8); }
body.boravision .bv-component-demo > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--bv-space-6); padding: var(--bv-space-6) var(--bv-space-7); border-bottom: var(--bv-border); }
body.boravision .bv-component-demo > header h3 { margin: var(--bv-space-2) 0; font-family: var(--bv-font-ui); font-size: 20px; font-weight: 700; }
body.boravision .bv-component-demo > header p { max-width: 680px; margin: 0; color: var(--bv-color-text-muted); font-size: 13px; line-height: 1.6; }
body.boravision .bv-component-demo > header code { color: var(--bv-color-text-muted); font-size: 11px; }
body.boravision .bv-component-demo__type { color: var(--bv-color-text-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
body.boravision .bv-component-demo__preview { min-width: 0; background: var(--bv-color-white); }
body.boravision .bv-component-demo__preview--padded { padding: clamp(24px, 4vw, 48px); }
body.boravision .bv-component-demo__preview--dark { background: var(--bv-color-black); color: var(--bv-color-white); }
body.boravision .bv-component-demo__preview > .bv-editorial-panel { border-radius: 0; }

body.boravision .bv-ds-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bv-space-6); }
body.boravision .bv-ds-demo-grid .bv-component-demo { margin-top: 0; }

body.boravision .bv-style-guide__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bv-space-5); }
body.boravision .bv-style-guide__form p { margin: 0; }
body.boravision .bv-style-guide__form label { display: block; margin-bottom: var(--bv-space-2); }

body.boravision .bv-style-guide__commerce { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6vw, 80px); }
body.boravision .bv-ds-commerce-cards { display: grid; gap: var(--bv-space-6); }
body.boravision .bv-ds-commerce-components { display: grid; gap: var(--bv-space-6); }
body.boravision .bv-ds-commerce-components .bv-component-demo { margin-top: 0; }
body.boravision .bv-style-guide .bv-editorial-panel--dark { min-height: 620px; }
body.boravision .bv-style-guide .bv-editorial-panel--light .bv-editorial-panel__media img { min-height: 520px; }

@media (max-width: 900px) {
	body.boravision .bv-ds-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.boravision .bv-ds-index a:nth-child(3) { border-right: 1px solid rgb(255 255 255 / 16%); }
	body.boravision .bv-ds-hero-grid,
	body.boravision .bv-ds-subsection,
	body.boravision .bv-style-guide__commerce { grid-template-columns: 1fr; }
	body.boravision .bv-ds-meta { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
	body.boravision .bv-style-guide__hero { padding-top: var(--bv-space-20); }
	body.boravision .bv-ds-hero-grid { gap: var(--bv-space-10); padding-bottom: var(--bv-space-14); }
	body.boravision .bv-style-guide__hero h1 { font-size: clamp(58px, 20vw, 78px); }
	body.boravision .bv-ds-meta { grid-template-columns: 1fr; }
	body.boravision .bv-ds-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.boravision .bv-ds-index a:nth-child(2n) { border-right: 1px solid rgb(255 255 255 / 16%); }
	body.boravision .bv-ds-section { padding-block: var(--bv-space-20); }
	body.boravision .bv-ds-section__header { grid-template-columns: 44px minmax(0, 1fr); gap: var(--bv-space-3); margin-bottom: var(--bv-space-12); }
	body.boravision .bv-ds-section__header h2 { font-size: 48px; }
	body.boravision .bv-ds-subsection { gap: var(--bv-space-8); }
	body.boravision .bv-ds-demo-grid,
	body.boravision .bv-style-guide__form { grid-template-columns: 1fr; }
	body.boravision .bv-component-demo > header { grid-template-columns: 1fr; padding: var(--bv-space-5); }
	body.boravision .bv-component-demo__preview--padded { padding: var(--bv-space-5); }
	body.boravision .bv-style-guide .bv-editorial-panel--dark { min-height: 72svh; }
	body.boravision .bv-style-guide .bv-editorial-panel--light .bv-editorial-panel__media img { min-height: 50svh; }
}

/* ==========================================================================
   Mobile Tab Bar -- fixed app-style bottom navigation, mobile only.
   Rendered sitewide via bv_render_mobile_tab_bar() (wp_footer, see
   bootstrap.php), so this lives in the shared component layer per CLAUDE.md
   rather than a page template file. Hidden above 767px; on mobile it sits
   fixed to the viewport bottom, so body gets bottom padding to match its
   height everywhere it can appear (added as a global rule, not just for
   Single Product).
   ========================================================================== */
body.boravision .bv-mobile-tab-bar {
	display: none;
}

@media (max-width: 767px) {
	body.boravision {
		padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
	}

	body.boravision .bv-mobile-tab-bar {
		position: fixed;
		z-index: 9999;
		right: 0;
		bottom: 0;
		left: 0;
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		align-items: stretch;
		height: 60px;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		border-top: 1px solid var(--bv-color-border);
		background: var(--bv-color-white);
		box-shadow: 0 -4px 16px rgb(9 10 11 / 8%);
	}

	body.boravision .bv-mobile-tab-bar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		color: var(--bv-color-black);
		text-decoration: none;
	}

	body.boravision .bv-mobile-tab-bar__icon {
		position: relative;
		display: block;
		width: 22px;
		height: 22px;
	}

	body.boravision .bv-mobile-tab-bar__icon svg {
		width: 100%;
		height: 100%;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.6;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	body.boravision .bv-mobile-tab-bar__badge {
		position: absolute;
		top: -6px;
		right: -8px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 15px;
		height: 15px;
		padding: 0 3px;
		border-radius: 999px;
		color: var(--bv-color-white);
		background: var(--bv-color-black);
		font-family: var(--bv-font-ui);
		font-size: 10px;
		font-weight: 700;
		line-height: 15px;
	}

	body.boravision .bv-mobile-tab-bar__label {
		font-family: var(--bv-font-ui);
		font-size: 10px;
		font-weight: 600;
		letter-spacing: 0.02em;
		text-transform: uppercase;
	}

	body.boravision .bv-mobile-tab-bar__item--product-cart {
		grid-column: span 2;
		margin: 7px 4px;
		padding: 0 14px;
		border: 0;
		border-radius: 6px;
		color: var(--bv-color-white);
		background: var(--bv-color-black);
		font: inherit;
		cursor: pointer;
	}

	body.boravision .bv-mobile-tab-bar__item--product-cart .bv-mobile-tab-bar__label {
		font-size: 12px;
		font-weight: 800;
		letter-spacing: 0.08em;
	}

	body.boravision .bv-mobile-tab-bar__item--product-cart:disabled {
		cursor: not-allowed;
		opacity: 0.5;
	}
}

/* Lightbox (assets/js/boravision-lightbox.js): full-size photo viewer for
   [data-bv-lightbox] galleries. Currently used by the Legend gallery. */
.bv-lightbox {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 64px;
	background: rgb(9 10 11 / 94%);
}

.bv-lightbox[hidden] {
	display: none;
}

html.bv-lightbox-open {
	overflow: hidden;
}

.bv-lightbox__stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
}

.bv-lightbox__stage img {
	display: block;
	max-width: min(92vw, 1400px);
	max-height: calc(100svh - 140px);
	object-fit: contain;
	border-radius: var(--bv-radius-sm);
}

.bv-lightbox__count {
	color: rgb(255 255 255 / 70%);
	font-family: var(--bv-font-ui);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.bv-lightbox__close,
.bv-lightbox__nav {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 12%);
	color: #ffffff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.bv-lightbox__close:hover,
.bv-lightbox__nav:hover {
	background: rgb(255 255 255 / 22%);
}

.bv-lightbox__close {
	top: 16px;
	right: 16px;
}

.bv-lightbox__nav--prev {
	left: 12px;
}

.bv-lightbox__nav--next {
	right: 12px;
}

.bv-lightbox.is-single .bv-lightbox__nav {
	display: none;
}

@media (max-width: 767px) {
	.bv-lightbox {
		padding: 64px 8px;
	}

	.bv-lightbox__nav {
		top: auto;
		bottom: 16px;
	}

	.bv-lightbox__nav--prev {
		left: calc(50% - 60px);
	}

	.bv-lightbox__nav--next {
		right: calc(50% - 60px);
	}
}
