/* Astro accessibility fixes (WCAG 2.1 AA). Seventyeight Digital, 2026-11.
   Loaded after the inline theme CSS in header.php. */

/* Visible keyboard focus everywhere (2.4.7). Dark ring with a white inner halo, so it shows on white, grey and red.
   :focus-visible only, so mouse clicks look as before. */
:focus-visible {
	outline: 3px solid #0a0a0a !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px #fff !important;
}
#footer-navigation :focus-visible,
.bg-red :focus-visible,
#Product-Tub-Used-Wrap :focus-visible {
	outline-color: #fff !important;
	box-shadow: 0 0 0 2px #0a0a0a !important;
}

/* Skip link: show above the fixed header when focused (2.4.1, 2.4.7). */
.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 2000;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	margin: 0 !important;
	padding: 10px 16px !important;
	background: #fff;
	color: var(--red, #ca2031);
	font-weight: 700;
	text-decoration: underline;
}

/* Products dropdown: titles are no longer <h4> (1.3.1); same look as before. */
.dropdown-row .astro-dropdown-title {
	display: block;
	font-family: Poppins, sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--red);
}
/* BioBest title was light blue on grey, 1.66:1. Now 4.76:1 (1.4.3). */
#dropdown-menu-content .text-light-blue {
	color: #1f6fae !important;
}

/* Recipe "FEATURING" label: was an <h3>, now a paragraph with the same look (1.3.1). */
#Product-Tub-Used-Wrap .astro-featuring {
	font-family: Poppins, sans-serif;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 9px;
}
@media (max-width: 1199px) {
	#Product-Tub-Used-Wrap .astro-featuring {
		font-size: 1.75rem !important;
	}
}

/* Links inside recipe text are underlined, not colour only (1.4.1). */
#Ingredients-Preparation-Wrap a:not(.btn),
#Nutrition-Facts-Wrap .accordion-body a:not(.btn) {
	text-decoration: underline;
}

/* Recipe cards: details overlay also shows when the card's link has keyboard focus (1.4.13, 2.4.7). */
.recipe-card:focus-within .recipe-overlay {
	opacity: 1;
}

/* Recipe filter status message. */
#astro-recipe-status {
	text-align: center;
	font-size: 1.1rem;
}
#astro-recipe-status:not(:empty) {
	margin: 0 0 1rem;
}

/* Print control: a button that looks like the link it replaced. */
.astro-print-button {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

/* Carousel pause/play button (2.2.2). */
#astroHomeCarousel .astro-carousel-toggle {
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: rgba(10, 10, 10, 0.7);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
}
#astroHomeCarousel .astro-carousel-toggle:hover {
	background: rgba(10, 10, 10, 0.9);
}
#astroHomeCarousel .astro-carousel-toggle svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Pause/play button added to autoplaying videos (2.2.2). */
.astro-video-wrap {
	position: relative;
}
.astro-video-toggle,
.ratio > .astro-video-toggle {
	position: absolute;
	top: auto;
	left: auto;
	right: 12px;
	bottom: 12px;
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: rgba(10, 10, 10, 0.7);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
}
.astro-video-toggle:hover {
	background: rgba(10, 10, 10, 0.9);
}
.astro-video-toggle svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Home popup close button: keep it large enough to hit and visible on focus. */
#Popup .modal-close:focus-visible {
	outline-color: #fff !important;
	box-shadow: 0 0 0 2px #0a0a0a !important;
}
