/* =============================================================================
   DISTRIBUTOR STYLES — archive-vigilis_distributor.php + single-vigilis_distributor.php
   Conditionally enqueued via vigilis-distributor handle in functions.php.
   ============================================================================= */

/* =====================
   VISUALLY HIDDEN
   (distributor pages don't load products.css where .vg-sr-only is defined)
===================== */
.vg-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =====================
   ARCHIVE — HERO
===================== */
.vg-dist-hero {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
	background: #063715;
}

.vg-dist-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 71, 27, 0.7);
}

.vg-dist-hero__content {
	position: absolute;
	bottom: 60px;
	left: 80px;
	right: 80px;
}

.vg-dist-breadcrumb {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-weight: 300;
	font-size: 14px;
	color: #AAC7B4;
}

.vg-dist-breadcrumb li {
	display: flex;
	align-items: center;
}

.vg-dist-breadcrumb li + li::before {
	content: "›";
	margin-right: 8px;
	color: #AAC7B4;
}

.vg-dist-breadcrumb a {
	color: #AAC7B4;
	text-decoration: none;
}

.vg-dist-breadcrumb a:hover {
	text-decoration: none;
}

.vg-dist-breadcrumb li[aria-current="page"] {
	color: #ffffff;
}

.vg-dist-hero__title {
	font-weight: 700;
	font-size: 48px;
	line-height: 1.125;
	color: #ffffff;
	margin: 0 0 12px;
}

.vg-dist-hero__subtitle {
	font-weight: 300;
	font-size: 18px;
	color: #D8D3DF;
	margin: 0;
}

/* =====================
   ARCHIVE — FILTER BAR
===================== */
.vg-dist-filter {
	padding: 60px 80px 0;
	background: #ffffff;
}

/* Outer pill — visual container only. overflow:hidden clips to pill shape
   without creating a scroll context. */
.vg-dist-filter__tabs {
	display: inline-flex;
	overflow: hidden;
	border: 1px solid #EAE8F1;
	border-radius: 9999px;
	padding: 0;
	background: #ffffff;
}

/* Inner scroll strip — no border-radius so overflow-x:auto doesn't clip.
   padding:10px for the same corner-clearance reason as the products filter. */
.vg-dist-filter__tabs-inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 10px;
	gap: 4px;
}

.vg-dist-filter__tabs-inner::-webkit-scrollbar {
	display: none;
}

.vg-dist-filter__tab {
	display: inline-flex;
	align-items: center;
	padding: 12px 32px;
	border-radius: 9999px;
	border: 1px solid rgba(8, 71, 27, 0.15);
	font-weight: 500;
	font-size: 16px;
	font-family: inherit;
	color: #020202;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease;
}

.vg-dist-filter__tab:hover {
	background: #EAE8F1;
}

/* PHP outputs aria-current="page" for the active tab.
   The original inline CSS had aria-current="true" which never matched — fixed here. */
.vg-dist-filter__tab[aria-current="page"] {
	background: #08471B;
	color: #ffffff;
}

/* =====================
   ARCHIVE — DISTRIBUTOR GRID
===================== */
.vg-dist-section {
	padding: 80px 80px;
	background: #ffffff;
	box-sizing: border-box;
}

.vg-dist-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

/* =====================
   ARCHIVE — DISTRIBUTOR CARDS
===================== */
.vg-dist-card {
	border-radius: 20px;
	border: 1px solid #EAE8F1;
	background: #ffffff;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vg-dist-card:focus-visible {
	outline: 3px solid #F48113;
	outline-offset: 2px;
}

.vg-dist-card__logo {
	width: 120px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vg-dist-card__logo img {
	max-width: 120px;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.vg-dist-card__logo--placeholder {
	background: #EAE8F1;
	font-weight: 500;
	font-size: 14px;
	color: #827A8E;
}

.vg-dist-card__region {
	display: inline-block;
	background: #246036;
	border-radius: 9999px;
	padding: 4px 12px;
	font-weight: 500;
	font-size: 12px;
	color: #ffffff;
	align-self: flex-start;
}

.vg-dist-card__name {
	font-weight: 700;
	font-size: 20px;
	color: #020202;
	margin: 0;
	line-height: 1.3;
}

.vg-dist-card__address {
	font-weight: 300;
	font-size: 14px;
	color: #827A8E;
	line-height: 1.5;
	font-style: normal;
	margin: 0;
}

.vg-dist-card__contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-weight: 300;
	font-size: 14px;
}

.vg-dist-card__contact a {
	color: #020202;
	text-decoration: none;
}

.vg-dist-card__contact a:hover {
	text-decoration: none;
}

.vg-dist-card__contact-link {
	color: #020202;
	text-decoration: none;
}

.vg-dist-card__contact-link:hover {
	text-decoration: none;
}

.vg-dist-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 4px;
	position: relative;
	z-index: 1;
}

.vg-dist-card__view-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #063715;
	color: #ffffff;
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease;
	white-space: nowrap;
}

.vg-dist-card__view-link:hover {
	background: #246036;
	color: #ffffff;
}

.vg-dist-card__website {
	font-weight: 500;
	font-size: 13px;
	color: #08471B;
	text-decoration: none;
	white-space: nowrap;
}

.vg-dist-card__website:hover {
	color: #246036;
}

/* Stretched link — makes the whole card area clickable for the distributor page.
   Footer links (view-link, website) sit above it via z-index. */
.vg-dist-card__stretched-link {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.vg-dist-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* =====================
   ARCHIVE — COMING SOON PLACEHOLDER CARDS
===================== */
.vg-dist-card--coming-soon {
	background: #F5F4F0;
	border-style: dashed;
	border-color: #C9C5BD;
	cursor: default;
}

.vg-dist-card--coming-soon:hover {
	transform: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.vg-dist-card--coming-soon .vg-dist-card__logo--placeholder {
	background: #E5E2DA;
	color: #6E6A62;
}

.vg-dist-card--coming-soon .vg-dist-card__region {
	background: #8B9590;
	color: #ffffff;
	opacity: 0.85;
}

.vg-dist-card--coming-soon .vg-dist-card__name {
	color: #4A4A4A;
}

.vg-dist-card__coming-soon-body {
	font-weight: 300;
	font-size: 14px;
	color: #6E6A62;
	line-height: 1.5;
	margin: 0;
	flex-grow: 1;
}

.vg-dist-card__coming-soon-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #F48113;
	color: #ffffff;
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

/* =====================
   ARCHIVE — NO RESULTS
===================== */
.vg-dist-no-results {
	text-align: center;
	padding: 80px 20px;
	font-size: 18px;
	color: #827A8E;
	font-weight: 300;
	grid-column: 1 / -1;
}

/* Rest of World friendly prompt */
.vg-dist-no-results--contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 80px 20px;
	grid-column: 1 / -1;
}

.vg-dist-no-results__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #EAE8F1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 24px;
}

.vg-dist-no-results__heading {
	font-size: 22px;
	font-weight: 700;
	color: #020202;
	margin: 0 0 10px;
}

.vg-dist-no-results__body {
	font-size: 16px;
	font-weight: 300;
	color: #827A8E;
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 480px;
}

.vg-dist-no-results__link {
	display: inline-flex;
	align-items: center;
	background: linear-gradient(135deg, #F48113 0%, #E67E0A 100%);
	color: #ffffff;
	padding: 14px 36px;
	border-radius: 9999px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(244, 129, 19, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vg-dist-no-results__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(244, 129, 19, 0.5);
}

/* =====================
   SINGLE — HERO
===================== */
.dist-hero {
	position: relative;
	background: #063715;
	padding: 160px 80px 60px;
}

.dist-hero__inner {
	max-width: var(--container-max-width);
	margin: 0 auto;
}

.dist-hero__breadcrumb {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	gap: 8px;
	font-size: 14px;
	font-weight: 300;
	color: #AAC7B4;
}

.dist-hero__breadcrumb li {
	display: flex;
	align-items: center;
}

.dist-hero__breadcrumb li + li::before {
	content: "›";
	margin-right: 8px;
	color: #AAC7B4;
}

.dist-hero__breadcrumb a {
	color: #AAC7B4;
	text-decoration: none;
}

.dist-hero__breadcrumb a:hover {
	text-decoration: none;
}

.dist-hero__breadcrumb li[aria-current="page"] {
	color: #FFFFFF;
}

.dist-hero__region-badge {
	display: inline-block;
	background: #246036;
	border-radius: 9999px;
	padding: 4px 16px;
	font-size: 12px;
	font-weight: 500;
	color: #FFFFFF;
	margin-bottom: 12px;
}

.dist-hero__title {
	font-size: clamp(32px, 6vw, 48px);
	font-weight: 700;
	line-height: 1.125;
	color: #FFFFFF;
	margin: 0 0 12px;
}

.dist-hero__subtitle {
	font-size: 16px;
	font-weight: 300;
	color: #AAC7B4;
	margin: 0;
}

/* =====================
   SINGLE — DESCRIPTION
===================== */
.dist-description {
	padding: 56px 80px 48px;
	background: var(--color-bg-light, #fafaf8);
	box-sizing: border-box;
}

.dist-description__inner {
	max-width: var(--container-max-width);
	margin: 0 auto;
}

.dist-description__text {
	font-size: 17px;
	font-weight: 300;
	line-height: 1.7;
	color: #020202;
	margin: 0;
	max-width: 760px;
}

/* =====================
   SINGLE — DISTRIBUTOR DETAILS
===================== */
.dist-details {
	display: flex;
	gap: 48px;
	padding: 80px;
	background: #FFFFFF;
	max-width: 100%;
}

.dist-details__inner {
	display: flex;
	gap: 48px;
	max-width: var(--container-max-width);
	margin: 0 auto;
	width: 100%;
}

.dist-details__left {
	width: 42%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
}

.dist-details__right {
	width: 58%;
}

.dist-details__logo {
	max-width: 200px;
	height: auto;
	display: block;
	border-radius: 12px;
}

.dist-details__logo-placeholder {
	width: 200px;
	height: 100px;
	border-radius: 12px;
	background: #EAE8F1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 500;
	color: #827A8E;
}

/* =====================
   SINGLE — CONTACT CARD (DI-04)
===================== */
.dist-contact-card {
	border: 1px solid #EAE8F1;
	border-radius: 20px;
	background: #ffffff;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dist-contact-card__body {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.dist-contact-card__text {
	flex: 1;
	min-width: 0;
}

.dist-contact-card__title {
	font-size: 16px;
	font-weight: 600;
	color: #020202;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #EAE8F1;
}

.dist-contact-card__logo-col {
	flex-shrink: 0;
	width: 110px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 4px;
}

.dist-contact-card__logo-col img {
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
}

.dist-contact-card__footer {
	border-top: 1px solid #EAE8F1;
	margin-top: 20px;
	padding-top: 20px;
}

/* Button inside card — natural width, not full-width */
.dist-contact-card .dist-details__enquiry-anchor {
	margin-bottom: 0;
	display: inline-flex;
	width: auto;
}

.dist-details__section-title {
	font-size: 24px;
	font-weight: 700;
	color: #020202;
	margin: 32px 0 16px;
}

.dist-details__address {
	font-style: normal;
	font-size: 16px;
	font-weight: 300;
	color: #020202;
	line-height: 1.8;
}

.dist-details__contact-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dist-details__contact-item {
	font-size: 16px;
	font-weight: 300;
	color: #020202;
}

.dist-details__contact-item a {
	color: #08471B;
	text-decoration: none;
}

.dist-details__contact-item a:hover {
	text-decoration: none;
}

.dist-details__back-link {
	display: inline-block;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #EAE8F1;
	font-size: 14px;
	font-weight: 500;
	color: #08471B;
	text-decoration: none;
	align-self: flex-start;
	width: 100%;
}

.dist-details__back-link:hover {
	text-decoration: none;
}

/* =====================
   SINGLE — MAP
===================== */
.dist-map-placeholder {
	width: 100%;
	height: 400px;
	border-radius: 20px;
	background: #EAE8F1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.dist-map-placeholder__pin {
	width: 48px;
	height: 48px;
	background: #AAC7B4;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	margin-bottom: 8px;
}

.dist-map-placeholder__label {
	font-size: 16px;
	font-weight: 500;
	color: #827A8E;
}

.dist-map-placeholder__sublabel {
	font-size: 12px;
	font-weight: 300;
	color: #D8D3DF;
}

.dist-map-embed {
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	height: 400px;
}

.dist-map-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* =====================
   SINGLE — PRODUCTS CARRIED
===================== */
.dist-products {
	padding: 80px;
	background: #ffffff;
}

.dist-products__inner {
	max-width: var(--container-max-width);
	margin: 0 auto;
}

.dist-products__title {
	font-size: 32px;
	font-weight: 700;
	color: #020202;
	margin: 0 0 48px;
}

.dist-products__empty {
	font-size: 16px;
	color: #6D647B;
}

.dist-products__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

/* ── Product cards: match .vg-prod-card from products.css ── */
.dist-product-card {
	border-radius: 24px;
	border: 1px solid var(--color-neutral-200, #EAE8F1);
	overflow: hidden;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	color: inherit;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.dist-product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
	border-color: var(--color-primary-600, #4F7D5D);
}

.dist-product-card__image-wrap {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 24px 24px 0 0;
	flex-shrink: 0;
	background: #f9f8f6;
}

.dist-product-card__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.35s ease;
}

.dist-product-card:hover .dist-product-card__image {
	transform: scale(1.04);
}

.dist-product-card__image-placeholder {
	width: 100%;
	height: 100%;
	background: #EAE8F1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text-secondary);
	font-size: 14px;
	font-weight: 300;
}

.dist-product-card__body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.dist-product-card__title {
	font-size: clamp(20px, 1.8vw, 26px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--color-primary-800, #08471B);
	margin: 0;
}

.dist-product-card__tagline {
	font-size: 14px;
	font-weight: 300;
	color: #020202;
	margin: 0;
	line-height: 1.5;
}

.dist-product-card__link {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-primary-800, #08471B);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
}

.dist-product-card__link:hover {
	opacity: 0.8;
}

/* =====================
   SHARED — CTA BAND
   Used in both archive and single.
===================== */
.dist-cta {
	background: #063715;
	border-top: 4px solid #F48113;
	padding: 80px;
	text-align: center;
}

.dist-cta__inner {
	max-width: 680px;
	margin: 0 auto;
}

/* Legacy: kept for any templates still using dist-cta__text */
.dist-cta__text {
	font-size: clamp(20px, 4vw, 28px);
	font-weight: 500;
	color: #FFFFFF;
	margin: 0 0 32px;
}

.dist-cta__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #AAC7B4;
	margin: 0 0 16px;
}

.dist-cta__heading {
	font-size: clamp(24px, 4vw, 36px);
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 16px;
	line-height: 1.2;
}

.dist-cta__body {
	font-size: 16px;
	font-weight: 300;
	color: #AAC7B4;
	line-height: 1.65;
	margin: 0 0 36px;
}

.dist-cta__button {
	display: inline-block;
	background: linear-gradient(135deg, #F48113 0%, #E67E0A 100%);
	color: #FFFFFF;
	padding: 16px 40px;
	border-radius: 9999px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(244, 129, 19, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dist-cta__button:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(244, 129, 19, 0.6);
}

/* =====================
   SINGLE — US CONTACT SECTION (DI-11/12)
===================== */
.dist-us-contact {
	padding: 64px 80px;
	background: var(--color-bg-light, #fafaf8);
}

.dist-us-contact__inner {
	max-width: var(--container-max-width);
	margin: 0 auto;
}

.dist-us-contact__label {
	font-size: 12px;
	font-weight: 600;
	color: #246036;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 20px;
}

.dist-us-contact__card {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	background: #ffffff;
	border: 1px solid #EAE8F1;
	border-left: 4px solid #246036;
	border-radius: 16px;
	padding: 28px 32px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	max-width: 560px;
}

.dist-us-contact__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #246036;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dist-us-contact__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dist-us-contact__name {
	font-size: 18px;
	font-weight: 700;
	color: #020202;
	margin: 0 0 2px;
}

.dist-us-contact__title {
	font-size: 14px;
	font-weight: 300;
	color: #827A8E;
	margin: 0 0 12px;
}

/* =====================
   RESPONSIVE — TABLET (≤1024px)
===================== */
@media (max-width: 1024px) {
	.vg-dist-hero__content {
		left: 40px;
		right: 40px;
	}

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

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

	.dist-product-card__title {
		font-size: 20px;
	}

	/* Inner strip scrolls; outer pill keeps rounded corners via overflow:hidden */
	.vg-dist-filter__tabs-inner {
		flex-wrap: nowrap;
	}

	.vg-dist-filter__tab {
		flex-shrink: 0;
	}
}

/* =====================
   RESPONSIVE — MOBILE (≤768px)
===================== */
@media (max-width: 768px) {
	/* Archive hero */
	.vg-dist-hero {
		height: 400px;
	}

	.vg-dist-hero__content {
		left: 20px;
		right: 20px;
		bottom: 30px;
	}

	.vg-dist-hero__title {
		font-size: 32px;
		line-height: 1.2;
	}

	.vg-dist-hero__subtitle {
		font-size: 16px;
	}

	/* Archive filter — remove outer pill, individual pill tabs instead */
	.vg-dist-filter {
		padding: 40px 20px 16px;
		box-sizing: border-box;
	}

	.vg-dist-filter__tabs {
		border: none;
		border-radius: 0;
		background: transparent;
		overflow: visible;
		width: 100%;
		position: relative;
	}

	/* Right-edge fade — distributor background is white */
	.vg-dist-filter__tabs::after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 8px;
		width: 48px;
		background: linear-gradient(to right, transparent, #ffffff);
		pointer-events: none;
		z-index: 1;
	}

	.vg-dist-filter__tabs-inner {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		padding: 4px 0 8px;
		gap: 8px;
		width: 100%;
		min-width: 0;
	}

	.vg-dist-filter__tabs-inner::-webkit-scrollbar {
		display: none;
	}

	.vg-dist-filter__tab {
		flex-shrink: 0;
		padding: 9px 18px;
		font-size: 14px;
		border: 1px solid #EAE8F1;
		background: #ffffff;
		border-radius: 9999px;
	}

	.vg-dist-filter__tab[aria-current="page"] {
		background: #08471B;
		color: #ffffff;
		border-color: #08471B;
	}

	/* Archive grid */
	.vg-dist-section {
		padding: 40px 20px 80px;
	}

	.vg-dist-grid {
		grid-template-columns: 1fr;
	}

	/* Contact card — stack logo above text on mobile */
	.dist-contact-card__body {
		flex-direction: column-reverse;
	}

	.dist-contact-card__logo-col {
		width: 80px;
	}

	/* Single hero */
	.dist-hero {
		padding: 120px 20px 40px;
	}

	/* Single description */
	.dist-description {
		padding: 40px 20px 40px;
	}

	/* Single details */
	.dist-details {
		padding: 40px 20px;
	}

	.dist-details__inner {
		flex-direction: column;
	}

	.dist-details__left {
		width: 100%;
	}

	.dist-details__right {
		width: 100%;
	}

	/* Single US contact */
	.dist-us-contact {
		padding: 40px 20px;
	}

	.dist-us-contact__card {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	/* Single map */
	.dist-map-placeholder {
		height: 250px;
	}

	.dist-map-embed {
		height: 250px;
	}

	/* Single products */
	.dist-products {
		padding: 40px 20px;
	}

	.dist-products__grid {
		grid-template-columns: 1fr;
	}

	/* CTA */
	.dist-cta {
		padding: 60px 20px;
	}
}

/* =============================================================================
   ENQUIRY FORM
   dist-enquiry section + all form element styles
   ============================================================================= */

/* ── Section wrapper ── */
.dist-enquiry {
	background: var(--color-bg-light, #fafaf8);
	padding: 80px;
}

.dist-enquiry__inner {
	max-width: 760px;
	margin: 0 auto;
}

.dist-enquiry__heading {
	font-size: 32px;
	font-weight: 700;
	color: #020202;
	margin: 0 0 8px;
}

.dist-enquiry__subtext {
	font-size: 16px;
	font-weight: 300;
	color: var(--color-neutral-700, #584D68);
	line-height: 1.6;
	margin: 0 0 8px;
}

.dist-enquiry__distributor {
	font-size: 16px;
	font-weight: 300;
	color: #827A8E;
	margin: 0 0 40px;
}

.dist-enquiry__distributor strong {
	font-weight: 500;
	color: #246036;
}

/* ── Radio group fieldset reset ── */
.dist-enquiry .enq-type-field {
	border: none;
	padding: 0;
	margin: 0;
}

.dist-enquiry .enq-type-field legend.enq-label {
	float: left; /* makes legend behave like a block before the radio control */
	width: 100%;
	padding: 0;
	margin-bottom: 8px;
}

/* Clear float after legend so the radio control renders below it */
.dist-enquiry .enq-type-field .wpcf7-radio {
	clear: left;
}

/* ── CF7 form wrapper overrides ── */
.dist-enquiry .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Ensure CF7 control-wrap spans are block so there's no inline gap between label and input */
.dist-enquiry .wpcf7-form-control-wrap {
	display: block;
	margin: 0;
}

/* CF7 auto-converts newlines to <br> between labels and inputs — suppress them */
.dist-enquiry .wpcf7-form br {
	display: none;
}

/* ── 2-column row (email + phone) ── */
.dist-enquiry .enq-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* ── Labels ── */
.dist-enquiry .enq-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #020202;
	margin-bottom: 6px;
}

.dist-enquiry .enq-label abbr {
	color: #c0392b;
	text-decoration: none;
	margin-left: 2px;
}

/* ── Inputs and textareas ── */
.dist-enquiry .enq-input,
.dist-enquiry .enq-textarea,
.dist-enquiry .wpcf7-text,
.dist-enquiry .wpcf7-email,
.dist-enquiry .wpcf7-tel,
.dist-enquiry .wpcf7-textarea {
	display: block;
	width: 100%;
	background: #ffffff;
	border: 1px solid #EAE8F1;
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 15px;
	font-weight: 300;
	color: #020202;
	font-family: inherit;
	transition: border-color 0.15s;
	box-sizing: border-box;
}

.dist-enquiry .wpcf7-text:focus,
.dist-enquiry .wpcf7-email:focus,
.dist-enquiry .wpcf7-tel:focus,
.dist-enquiry .wpcf7-textarea:focus {
	outline: none;
	border-color: #246036;
}

.dist-enquiry .wpcf7-textarea {
	resize: vertical;
	min-height: 110px;
	line-height: 1.6;
}

/* ── Phone hint text ── */
.dist-enquiry .enq-field-hint {
	display: block;
	font-size: 12px;
	font-weight: 300;
	color: #6D647B;
	margin-top: 5px;
}

/* ── Business / Individual radio toggle ── */
.dist-enquiry .wpcf7-radio {
	display: inline-flex;
	width: fit-content;
	border: 1px solid #EAE8F1;
	border-radius: 9999px;
	background: #ffffff;
	padding: 4px;
	gap: 4px;
}

.dist-enquiry .wpcf7-radio .wpcf7-list-item {
	margin: 0;
}

.dist-enquiry .wpcf7-radio .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	padding: 10px 24px;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-neutral-700, #584D68);
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}

.dist-enquiry .wpcf7-radio .wpcf7-list-item input[type="radio"] {
	display: none;
}

.dist-enquiry .wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + span {
	/* CF7 with use_label_element wraps label text in a span */
}

/* Target the label when its radio is checked */
.dist-enquiry .wpcf7-radio .wpcf7-list-item label:has(input[type="radio"]:checked) {
	background: #246036;
	color: #ffffff;
}

/* ── Company name conditional transition ── */
.dist-enquiry .enq-company-wrap {
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.3s ease;
	max-height: 120px;
	opacity: 1;
}

.dist-enquiry .enq-company-wrap--hidden {
	max-height: 0;
	opacity: 0;
	pointer-events: none;
}

/* ── Section label (used above heights grid) ── */
.dist-enquiry .enq-section-label {
	font-size: 13px;
	font-weight: 600;
	color: #827A8E;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 14px;
}

/* ── Products accordion ── */
.dist-enquiry .enq-accordion {
	border: 1px solid #EAE8F1;
	border-radius: 12px;
	background: #ffffff;
	overflow: hidden;
}

.dist-enquiry .enq-accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 20px;
	background: #ffffff;
	border: none;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
}

.dist-enquiry .enq-accordion__trigger:hover {
	background: var(--color-bg-light, #fafaf8);
}

.dist-enquiry .enq-accordion__trigger-left {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.dist-enquiry .enq-accordion__title {
	font-size: 14px;
	font-weight: 500;
	color: #020202;
}

.dist-enquiry .enq-accordion__subtitle {
	font-size: 12px;
	font-weight: 300;
	color: var(--color-neutral-700, #584D68);
}

.dist-enquiry .enq-accordion__icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #EAE8F1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 300;
	color: #827A8E;
	flex-shrink: 0;
	transition: background 0.15s, transform 0.2s;
}

.dist-enquiry .enq-accordion.open .enq-accordion__icon {
	background: #246036;
	color: #ffffff;
}

.dist-enquiry .enq-accordion__body {
	border-top: 0 solid #EAE8F1;
	overflow: hidden;
}

.dist-enquiry .enq-accordion__body[hidden] {
	display: none;
}

.dist-enquiry .enq-accordion.open .enq-accordion__body {
	border-top-width: 1px;
}

.dist-enquiry .enq-accordion__body-inner {
	padding: 20px;
}

/* ── Product checkboxes grid ── */
.dist-enquiry .enq-products-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px 20px;
}

.dist-enquiry .enq-category-divider {
	grid-column: 1 / -1;
	font-size: 11px;
	font-weight: 600;
	color: #AAC7B4;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 8px 0 2px;
	border-top: 1px solid #EAE8F1;
	margin-top: 4px;
}

.dist-enquiry .enq-category-divider--first {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}

.dist-enquiry .enq-check-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dist-enquiry .enq-check-item input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #246036;
	flex-shrink: 0;
	cursor: pointer;
}

.dist-enquiry .enq-check-item label {
	font-size: 14px;
	font-weight: 300;
	color: #020202;
	cursor: pointer;
	line-height: 1.4;
}

/* ── Heights sub-section ── */
.dist-enquiry .enq-heights-wrap {
	border-top: 1px solid #EAE8F1;
	padding-top: 20px;
	margin-top: 16px;
}

.dist-enquiry .enq-heights-wrap[hidden] {
	display: none;
}

.dist-enquiry .enq-heights-hint {
	font-size: 13px;
	font-weight: 300;
	color: #827A8E;
	margin: 0 0 14px;
	font-style: italic;
}

.dist-enquiry .enq-heights-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
}

.dist-enquiry .enq-height-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dist-enquiry .enq-height-item[hidden] {
	display: none;
}

.dist-enquiry .enq-height-item input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #246036;
	flex-shrink: 0;
}

.dist-enquiry .enq-height-item label {
	font-size: 14px;
	font-weight: 300;
	color: #020202;
	line-height: 1.4;
}

.dist-enquiry .enq-height-item label strong {
	font-weight: 600;
}

.dist-enquiry .enq-height-item label span {
	color: #827A8E;
}

/* ── Submit button ── */
.dist-enquiry .enq-submit,
.dist-enquiry input[type="submit"].enq-submit {
	display: inline-block;
	background: linear-gradient(135deg, #F48113 0%, #E67E0A 100%);
	color: #ffffff;
	padding: 16px 48px;
	border-radius: 9999px;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	border: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(244, 129, 19, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dist-enquiry .enq-submit:hover,
.dist-enquiry input[type="submit"].enq-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(244, 129, 19, 0.5);
}

/* ── CF7 validation messages ── */
.dist-enquiry .wpcf7-not-valid-tip {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #c0392b;
	margin-top: 4px;
}

.dist-enquiry .wpcf7-not-valid {
	border-color: #c0392b !important;
}

.dist-enquiry .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 14px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	border: none;
}

.dist-enquiry .wpcf7-mail-sent-ok {
	background: #246036;
	color: #ffffff;
}

.dist-enquiry .wpcf7-mail-sent-ng,
.dist-enquiry .wpcf7-spam-blocked,
.dist-enquiry .wpcf7-validation-errors {
	background: #fdf0ed;
	color: #c0392b;
}

/* ── Enquire Now anchor button (single page details panel) ── */
.dist-details__enquiry-anchor {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #F48113 0%, #E67E0A 100%);
	color: #ffffff;
	padding: 14px 32px;
	border-radius: 9999px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(244, 129, 19, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 16px;
}

.dist-details__enquiry-anchor:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(244, 129, 19, 0.5);
}

/* ── 3-column row (city + postcode + country) ── */
.dist-enquiry .enq-row--3 {
	grid-template-columns: 1fr 1fr 1fr;
}

/* ── Google Places autocomplete dropdown ── */
.pac-container {
	border-radius: 8px;
	border: 1px solid #EAE8F1;
	box-shadow: 0 4px 16px rgba(2, 2, 2, 0.08);
	font-family: inherit;
	font-size: 14px;
}

.pac-item {
	padding: 8px 16px;
	cursor: pointer;
}

.pac-item:hover,
.pac-item-selected {
	background: #fafaf8;
}

/* ── Responsive — tablet (≤1024px) ── */
@media (max-width: 1024px) {
	.dist-enquiry {
		padding: 60px 40px;
	}
}

/* ── Responsive — mobile (≤768px) ── */
@media (max-width: 768px) {
	.dist-enquiry {
		padding: 40px 20px;
	}

	.dist-enquiry .enq-row,
	.dist-enquiry .enq-row--3 {
		grid-template-columns: 1fr;
	}

	.dist-enquiry .enq-products-grid {
		grid-template-columns: 1fr;
	}

	.dist-enquiry .enq-heights-grid {
		grid-template-columns: 1fr;
	}
}
