/* ==========================================================================
   Barggle design system: "Soft Rose & Velvet"
   Blush Whisper #FDF8F7 · Card #FFFFFF / Dusty Rose Line #EFE0E2 · 18px cards
   Petal Tint #F9EFEF (splurge) · Soft Jade Mist #EEF6F3 (dupe)
   Plum Noir #26191D · Muted Mauve-Taupe #634F55 (no pure black anywhere)
   Velvet Berry #B83B5E / hover #9E2F4E (CTAs, active pills)
   Deep Jade #1E6B52 (match & savings) · Warm Amber #D96B27 on #FFF2EA (live drops)
   Fraunces (logo, section headings, page H1s) + Plus Jakarta Sans (everything else)
   Mobile-first: base styles are for phones; @media (min-width: 768px) adds desktop.
   ========================================================================== */

:root {
	/* Surfaces */
	--bg-alabaster: #fdf8f7;      /* Blush Whisper: page background */
	--bg-card: #ffffff;
	--bg-border: #efe0e2;         /* Dusty Rose Line */
	--bg-border-strong: #e3ccd1;
	--bg-petal: #f9efef;          /* Petal Tint: luxury panel */
	--bg-sand: #f6eaeb;           /* hover fills */

	/* Text */
	--bg-ink: #26191d;            /* Plum Noir */
	--bg-ink-soft: #634f55;       /* Muted Mauve-Taupe */
	--bg-muted: #634f55;
	--bg-on-dark: #fdf8f7;

	/* Velvet Berry: primary actions */
	--bg-berry: #b83b5e;
	--bg-berry-hover: #9e2f4e;
	--bg-berry-tint: #fbeef2;

	/* Deep Jade: match, savings, dupe winner */
	--bg-jade: #1e6b52;
	--bg-jade-mist: #eef6f3;      /* Soft Jade Mist: dupe panel */

	/* Warm Amber: live price drops.
	   #D96B27 is used for borders and dots; text uses a deeper amber because
	   #D96B27 on #FFF2EA is 3.15:1, below the WCAG AA 4.5:1 minimum for small text. */
	--bg-amber: #d96b27;
	--bg-amber-text: #b04f17;     /* 4.81:1 on #FFF2EA */
	--bg-amber-tint: #fff2ea;

	--bg-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--bg-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--bg-radius-sm: 8px;
	--bg-radius: 12px;
	--bg-radius-lg: 18px;
	--bg-shadow: 0 1px 2px rgba(38, 25, 29, 0.04), 0 8px 24px -12px rgba(38, 25, 29, 0.12);
	--bg-shadow-hover: 0 2px 4px rgba(38, 25, 29, 0.05), 0 18px 40px -16px rgba(38, 25, 29, 0.2);
	--bg-container: 1200px;
	--bg-gutter: clamp(16px, 4vw, 32px);
	--bg-header-h: 69px;          /* desktop sticky header incl. border */
	--bg-tabbar-h: 64px;          /* mobile bottom tab bar */
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--bg-alabaster);
	color: var(--bg-ink);
	font-family: var(--bg-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--bg-sans);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--bg-ink);
}

/* Fraunces is reserved for display type: the wordmark, section headings and page H1s. */
.bg-wordmark,
.bg-section-title,
.bg-section-block > h2,
.bg-newsletter h2,
.bg-hero__title,
.bg-archive__title,
.bg-single__title,
.bg-page-header h1,
.bg-entry__title {
	font-family: var(--bg-serif);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
	font-optical-sizing: auto;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--bg-ink);
	text-decoration-color: var(--bg-border-strong);
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-color: currentColor;
}

img {
	max-width: 100%;
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--bg-ink);
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: var(--bg-ink);
	color: #fff;
	border-radius: var(--bg-radius-sm);
}

.bg-container {
	width: 100%;
	max-width: var(--bg-container);
	margin-inline: auto;
	padding-inline: var(--bg-gutter);
}

.bg-container--narrow {
	max-width: 880px;
}

.bg-main {
	display: block;
	padding-bottom: 64px;
}

.bg-eyebrow {
	margin: 0 0 10px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bg-muted);
}

.bg-eyebrow--live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bg-amber-text);
}

.bg-section-title {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	margin: 0;
}

.bg-section {
	padding-block: clamp(40px, 6vw, 72px);
}

.bg-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 24px;
}

/* JS-only / no-JS-only helpers */
.is-enhanced .bg-nojs-only,
.bg-js .bg-nojs-only {
	display: none;
}

/* ---------- Live pulse ---------- */

.bg-pulse {
	position: relative;
	display: inline-block;
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--bg-amber);
}

.bg-pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	animation: bg-pulse 1.8s ease-out infinite;
}

@keyframes bg-pulse {
	from {
		transform: scale(1);
		opacity: 0.7;
	}
	to {
		transform: scale(2.8);
		opacity: 0;
	}
}

/* ---------- Announcement bar ---------- */

.bg-announce {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 9px 48px;
	background: var(--bg-ink);
	color: var(--bg-on-dark);
	font-size: 0.875rem;
	text-align: center;
}

.bg-announce__text {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 10px;
	margin: 0;
}

.bg-announce a {
	color: var(--bg-on-dark);
	font-weight: 700;
	text-decoration-color: rgba(255, 255, 255, 0.5);
}

.bg-announce__close {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bg-on-dark);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.bg-announce__close:hover {
	background: rgba(255, 255, 255, 0.12);
}

.bg-announce__close:focus-visible {
	outline-color: #fff;
}

/* ---------- Header ----------
   Phones: a slim, non-sticky wordmark bar (the bottom tab bar is the navigation and the
   search strip is what stays pinned). Tablet/desktop: sticky frosted header with the menu. */

.bg-header {
	position: relative;
	z-index: 50;
	background: var(--bg-alabaster);
	border-bottom: 1px solid var(--bg-border);
}

.bg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
}

.bg-wordmark {
	font-size: 1.4rem;
	text-decoration: none;
	color: var(--bg-ink);
}

.bg-wordmark__dot {
	color: var(--bg-berry);
}

.bg-logo img {
	display: block;
	max-height: 36px;
	width: auto;
}

.bg-nav {
	display: none;
	min-width: 0;
}

.bg-menu {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.bg-menu::-webkit-scrollbar {
	display: none;
}

.bg-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	color: var(--bg-ink-soft);
}

.bg-menu a:hover,
.bg-menu .current-menu-item > a {
	background: var(--bg-sand);
	color: var(--bg-ink);
}

@media (min-width: 768px) {
	.bg-header {
		position: sticky;
		top: 0;
		background: rgba(253, 248, 247, 0.92);
		backdrop-filter: saturate(1.4) blur(10px);
		-webkit-backdrop-filter: saturate(1.4) blur(10px);
	}

	.admin-bar .bg-header {
		top: 32px;
	}

	.bg-header__inner {
		min-height: 68px;
	}

	.bg-wordmark {
		font-size: 1.65rem;
	}

	.bg-logo img {
		max-height: 44px;
	}

	.bg-nav {
		display: block;
	}
}

@media (min-width: 768px) and (max-width: 782px) {
	.admin-bar .bg-header {
		top: 46px;
	}
}

/* ---------- Buttons, links, chips ---------- */

.bg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--bg-sans);
	font-size: 0.925rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.bg-btn--primary {
	background: var(--bg-berry);
	color: #fff;
}

.bg-btn--primary:hover {
	background: var(--bg-berry-hover);
	transform: translateY(-1px);
}

.bg-btn--ghost {
	background: var(--bg-card);
	border-color: var(--bg-border-strong);
	color: var(--bg-ink);
}

.bg-btn--ghost:hover {
	border-color: var(--bg-berry);
}

.bg-link {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--bg-ink-soft);
}

.bg-chip {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 14px;
	border: 1px solid var(--bg-border);
	border-radius: 999px;
	background: var(--bg-card);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--bg-ink-soft);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.bg-chip:hover {
	border-color: var(--bg-ink);
	color: var(--bg-ink);
}

/* ---------- Badges ---------- */

.bg-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}

/* Emerald text on a tint keeps WCAG AA contrast; #059669 is the accent ring. */
.bg-badge--match {
	background: var(--bg-jade);
	color: #fff;
	box-shadow: none;
}

.bg-badge--save {
	background: var(--bg-jade);
	color: #fff;
}

.bg-badge--live {
	background: var(--bg-amber-tint);
	color: var(--bg-amber-text);
	box-shadow: inset 0 0 0 1px var(--bg-amber);
}

/* ---------- Hero ----------
   Phones: short (20px 16px) so the search strip, category pills and the first
   comparison card are on screen at load. Trending searches appear from tablet up. */

.bg-hero {
	padding: 20px 16px;
	text-align: center;
	background:
		radial-gradient(900px 300px at 50% -20%, #fff 0%, rgba(255, 255, 255, 0) 70%),
		var(--bg-alabaster);
}

.bg-hero > .bg-container {
	padding-inline: 0;
}

.bg-hero__eyebrow {
	display: none;
}

.bg-hero__title {
	margin-bottom: 4px;
	font-size: clamp(1.65rem, 7.4vw, 2rem);
	line-height: 1.12;
}

.bg-hero__sub {
	display: -webkit-box;
	max-width: 640px;
	margin: 0 auto;
	overflow: hidden;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--bg-ink-soft);
}

.bg-trending {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.bg-trending__label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bg-muted);
}

@media (min-width: 768px) {
	.bg-hero {
		padding: clamp(40px, 6vw, 72px) 0 28px;
	}

	.bg-hero > .bg-container {
		padding-inline: var(--bg-gutter);
	}

	.bg-hero__eyebrow {
		display: block;
	}

	.bg-hero__title {
		margin-bottom: 16px;
		font-size: clamp(2.5rem, 5vw, 4rem);
	}

	.bg-hero__sub {
		display: block;
		font-size: 1.075rem;
		line-height: 1.6;
	}

	.bg-trending {
		display: flex;
	}
}

/* ---------- Sticky search + category strip ----------
   Phones:  [ search ................................ ]
            [ Filter & Sort ][ All ][ Skincare ][ Makeup ]→ (swipe)
   Desktop: [ search ][ All · Skincare · Makeup · … ][ Filter & Sort ]  */

.bg-filterbar {
	position: relative;
	z-index: 40;
	background: var(--bg-alabaster);
	border-block: 1px solid var(--bg-border);
	transition: box-shadow 0.2s ease;
}

.bg-js .bg-filterbar:not(.bg-filterbar--inline) {
	position: sticky;
	top: 0;
}

.bg-filterbar.is-stuck {
	box-shadow: 0 10px 24px -18px rgba(38, 25, 29, 0.45);
}

.bg-filterbar__inner {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"search search"
		"filter tabs";
	align-items: center;
	gap: 8px;
	padding-block: 8px;
}

.bg-filterbar__row {
	display: contents;
}

.bg-filterbar__sentinel {
	height: 0;
}

.bg-search {
	grid-area: search;
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
	height: 46px;
	padding: 0 6px 0 44px;
	border: 1px solid var(--bg-border-strong);
	border-radius: 999px;
	background: var(--bg-card);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bg-search:focus-within {
	border-color: var(--bg-berry);
	box-shadow: 0 0 0 3px var(--bg-berry-tint);
}

.bg-search .bg-icon {
	position: absolute;
	left: 15px;
	width: 20px;
	height: 20px;
	color: var(--bg-muted);
}

.bg-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	font-size: 1rem; /* 16px: stops iOS zooming into the field */
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.bg-search input[type="search"]::placeholder {
	color: var(--bg-muted);
	opacity: 0.85;
}

.bg-search input[type="search"]::-webkit-search-cancel-button {
	cursor: pointer;
}

/* Enter / the keyboard's search key submits; the visible button only matters without JS on desktop. */
.bg-search__submit {
	display: none;
}

.bg-filter-btn {
	grid-area: filter;
	display: none;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 14px 0 12px;
	border: 1px solid var(--bg-border-strong);
	border-radius: 999px;
	background: var(--bg-card);
	font-size: 0.875rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--bg-ink);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.bg-js .bg-filter-btn {
	display: inline-flex;
}

.bg-filter-btn .bg-icon {
	width: 18px;
	height: 18px;
}

.bg-filter-btn:hover,
.bg-filter-btn[aria-expanded="true"] {
	border-color: var(--bg-ink);
}

.bg-filter-btn__count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--bg-berry);
	font-size: 0.72rem;
	line-height: 1;
	color: #fff;
}

/* Swipeable category pills */
.bg-tabs {
	grid-area: tabs;
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	min-width: 0;
	margin-right: calc(-1 * var(--bg-gutter));
	padding-right: calc(var(--bg-gutter) + 24px);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 0 24px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #fff calc(100% - 28px), transparent);
	mask-image: linear-gradient(90deg, #fff calc(100% - 28px), transparent);
}

.bg-tabs::-webkit-scrollbar {
	display: none;
}

.bg-tab {
	flex: 0 0 auto;
	min-height: 38px;
	padding: 8px 15px;
	border: 1px solid var(--bg-border);
	border-radius: 999px;
	background: var(--bg-card);
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--bg-ink-soft);
	cursor: pointer;
	scroll-snap-align: start;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bg-tab:hover {
	border-color: var(--bg-border-strong);
	color: var(--bg-ink);
}

.bg-tab[aria-pressed="true"] {
	border-color: var(--bg-berry);
	background: var(--bg-berry);
	color: #fff;
}

/* 404 page: a plain search box, not a sticky strip. */
.bg-filterbar--inline {
	background: none;
	border: 0;
}

.bg-filterbar--inline .bg-filterbar__inner {
	padding-inline: 0;
}

@media (min-width: 768px) {
	.bg-filterbar__inner {
		grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) auto;
		grid-template-areas: "search tabs filter";
		gap: 14px;
		padding-block: 12px;
	}

	.bg-js .bg-filterbar:not(.bg-filterbar--inline) {
		top: var(--bg-header-h);
	}

	.admin-bar.bg-js .bg-filterbar:not(.bg-filterbar--inline),
	.bg-js .admin-bar .bg-filterbar:not(.bg-filterbar--inline) {
		top: calc(var(--bg-header-h) + 32px);
	}

	.bg-tabs {
		margin-right: 0;
		padding-right: 24px;
	}

	.bg-filterbar--inline .bg-search__submit {
		display: inline-flex;
	}
}

/* ---------- Bottom sheet (Filter & Sort, category quick-jump) ----------
   Without JS the filter sheet renders inline under the strip with an Apply button.
   With JS: a slide-up modal sheet on phones, a drop-down panel on desktop. */

.bg-sheet {
	grid-column: 1 / -1;
}

.bg-sheet__panel {
	padding: 4px 16px 16px;
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius-lg);
	background: var(--bg-card);
}

.bg-sheet__grab,
.bg-sheet__close,
.bg-sheet--nav {
	display: none;
}

.bg-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0 2px;
}

.bg-sheet__title {
	margin: 0;
	font-family: var(--bg-sans);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0;
}

.bg-sheet__close {
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--bg-sand);
	color: var(--bg-ink);
	cursor: pointer;
}

.bg-sheet__close .bg-icon {
	width: 20px;
	height: 20px;
}

.bg-sheet__body {
	margin: 0;
	padding: 0;
}

.bg-sheet__group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.bg-sheet__legend {
	padding: 14px 0 4px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bg-muted);
}

/* 48px+ tap rows */
.bg-option {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding: 6px 0;
	border-bottom: 1px solid var(--bg-border);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.bg-sheet__group .bg-option:last-of-type {
	border-bottom: 0;
}

.bg-option--radio {
	min-height: 48px;
}

.bg-option__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.bg-option__label {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
}

.bg-option__hint {
	font-size: 0.8rem;
	line-height: 1.35;
	color: var(--bg-ink-soft);
}

.bg-option__switch {
	position: relative;
	flex: none;
	width: 50px;
	height: 30px;
	margin: 0;
	border-radius: 999px;
	background: var(--bg-border-strong);
	cursor: pointer;
	transition: background-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.bg-option__switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(38, 25, 29, 0.28);
	transition: transform 0.18s ease;
}

.bg-option__switch:checked {
	background: var(--bg-berry);
}

.bg-option__switch:checked::after {
	transform: translateX(20px);
}

.bg-option__switch:focus-visible {
	outline: 2px solid var(--bg-ink);
	outline-offset: 2px;
}

.bg-option__radio {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.bg-option--radio .bg-icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--bg-berry);
	opacity: 0;
	transition: opacity 0.12s ease;
}

.bg-option__radio:checked ~ .bg-icon {
	opacity: 1;
}

.bg-option--radio:has(.bg-option__radio:checked) .bg-option__label {
	font-weight: 700;
	color: var(--bg-berry);
}

.bg-option--radio:has(.bg-option__radio:focus-visible) {
	outline: 2px solid var(--bg-ink);
	outline-offset: 2px;
	border-radius: var(--bg-radius-sm);
}

.bg-sheet__foot {
	display: flex;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--bg-border);
}

.bg-sheet__foot .bg-btn {
	flex: 1 1 0;
	min-height: 48px;
}

.bg-sheet__foot .bg-btn--primary {
	flex-grow: 2;
}

/* With JS: hidden until opened. */
.bg-js .bg-sheet {
	display: none;
}

.bg-js .bg-sheet.is-open {
	display: block;
}

.bg-js .bg-sheet__close {
	display: grid;
}

/* Modal bottom sheet (phones; the category sheet everywhere). */
.bg-js .bg-sheet.is-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: flex-end;
	background: rgba(38, 25, 29, 0.42);
	animation: bg-fade-in 0.2s ease-out;
}

.bg-sheet.is-modal .bg-sheet__panel {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: min(88vh, 680px);
	padding: 6px 0 calc(14px + env(safe-area-inset-bottom));
	border: 0;
	border-radius: 22px 22px 0 0;
	box-shadow: 0 -16px 48px -20px rgba(38, 25, 29, 0.45);
	animation: bg-sheet-up 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bg-sheet.is-modal .bg-sheet__grab {
	display: block;
	flex: none;
	width: 40px;
	height: 4px;
	margin: 4px auto 2px;
	border-radius: 2px;
	background: var(--bg-border-strong);
}

.bg-sheet.is-modal .bg-sheet__head {
	flex: none;
	padding: 4px 12px 6px 20px;
}

.bg-sheet.is-modal .bg-sheet__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 0 20px 8px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.bg-sheet.is-modal .bg-sheet__foot {
	flex: none;
	padding: 12px 20px 0;
}

html.bg-sheet-open,
html.bg-sheet-open body {
	overflow: hidden;
}

/* The filter sheet lives inside the sticky strip's stacking context: lift the strip above the tab bar while its own sheet is open. */
.bg-filterbar.has-open-sheet {
	z-index: 210;
}

@keyframes bg-sheet-up {
	from {
		transform: translateY(100%);
	}
	to {
		transform: none;
	}
}

@keyframes bg-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Desktop: the Filter & Sort sheet drops down under its button. */
@media (min-width: 768px) {
	.bg-js .bg-sheet--filters.is-open:not(.is-modal) {
		position: absolute;
		top: calc(100% + 6px);
		right: var(--bg-gutter);
		z-index: 60;
		width: 380px;
		animation: bg-fade-in 0.15s ease-out;
	}

	.bg-sheet--filters.is-open:not(.is-modal) .bg-sheet__panel {
		box-shadow: var(--bg-shadow-hover);
	}

	.bg-sheet--filters.is-open:not(.is-modal) .bg-sheet__body {
		max-height: min(60vh, 520px);
		overflow-y: auto;
	}

	.bg-sheet.is-modal .bg-sheet__panel {
		max-width: 520px;
		margin-inline: auto;
		border-radius: 22px 22px 0 0;
	}
}

/* Category quick-jump list */
.bg-jump {
	list-style: none;
}

.bg-sheet.is-modal .bg-jump {
	padding: 0 12px 8px;
}

.bg-jump__link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 8px 0 12px;
	border-radius: var(--bg-radius);
	font-weight: 700;
	text-decoration: none;
	color: var(--bg-ink);
	-webkit-tap-highlight-color: transparent;
}

.bg-jump__link:hover,
.bg-jump__link:focus-visible,
.bg-jump__link[aria-current="page"] {
	background: var(--bg-petal);
}

.bg-jump__count {
	margin-left: auto;
	font-size: 0.825rem;
	font-weight: 600;
	color: var(--bg-ink-soft);
}

.bg-jump__link .bg-icon {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--bg-muted);
}

.bg-jump__link--all {
	color: var(--bg-berry);
}

.bg-jump__link--all .bg-icon {
	margin-left: auto;
	color: var(--bg-berry);
}

/* ---------- Results ---------- */

.bg-results-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 12px;
	margin: 12px 0 10px;
}

.bg-results-bar .bg-section-title {
	font-size: 1.2rem;
}

.bg-status {
	margin: 0;
	font-size: 0.85rem;
	color: var(--bg-muted);
}

.bg-archive .bg-status {
	margin: 14px 0 12px;
}

.bg-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	transition: opacity 0.2s ease;
}

.bg-grid.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.bg-empty {
	grid-column: 1 / -1;
	padding: 40px 20px;
	border: 1px dashed var(--bg-border-strong);
	border-radius: var(--bg-radius-lg);
	text-align: center;
	color: var(--bg-ink-soft);
}

.bg-more {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.bg-more .bg-btn {
	min-height: 48px;
	padding-inline: 28px;
}

@media (min-width: 768px) {
	.bg-results-bar {
		margin: 32px 0 20px;
	}

	.bg-results-bar .bg-section-title {
		font-size: clamp(1.5rem, 2.6vw, 2rem);
	}

	.bg-status {
		font-size: 0.9rem;
	}

	.bg-archive .bg-status {
		margin: 24px 0 18px;
	}

	.bg-grid {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
		gap: 24px;
	}

	.bg-more {
		margin-top: 32px;
	}
}

/* ---------- Comparison card ----------
   Same structure at every width: pills → title → Luxury | VS | Dupe (50/50) →
   2-line verdict → full-width "Shop Dupe — $XX" → "Full Formula Audit →". */

.bg-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%; /* fill the grid row so every card in a row is the same height */
	min-width: 0;
	padding: 14px;
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius-lg);
	background: var(--bg-card);
	box-shadow: var(--bg-shadow);
	transition: box-shadow 0.2s ease;
}

.bg-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bg-card__title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	font-family: var(--bg-sans);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.bg-card__title a {
	text-decoration: none;
}

.bg-card__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--bg-border-strong);
}

.bg-card__compare {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 8px;
}

.bg-card__vs {
	position: absolute;
	top: 50%;
	left: 50%;
	/* Phones: level with the 44px monograms, where the space between the panels is empty. */
	z-index: 1;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	transform: translate(-50%, -50%);
	border: 1px solid var(--bg-border);
	border-radius: 50%;
	background: var(--bg-card);
	box-shadow: 0 2px 8px -2px rgba(38, 25, 29, 0.18);
	font-family: var(--bg-sans);
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--bg-muted);
}

.bg-card--compact .bg-card__vs {
	top: 51px;
}

.bg-side {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 10px;
	border-radius: var(--bg-radius);
	background: var(--bg-petal);
}

.bg-side--dupe {
	background: var(--bg-jade-mist);
	box-shadow: inset 0 0 0 1px rgba(30, 107, 82, 0.18);
}

/* A little extra room on the inner edges so the VS badge never touches content. */
.bg-side--splurge {
	padding-right: 14px;
}

.bg-side--dupe {
	padding-left: 14px;
}

.bg-side p {
	margin: 0;
}

.bg-side__label {
	margin-bottom: 6px !important;
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bg-muted);
}

.bg-side--dupe .bg-side__label {
	color: var(--bg-jade);
}

/* Photos (both sides have one): 1:1 tiles. */
.bg-img {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	margin-bottom: 8px;
	overflow: hidden;
	border-radius: var(--bg-radius-sm);
	background: #fff;
}

.bg-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8%;
}

.bg-img--empty {
	font-family: var(--bg-sans);
	font-weight: 700;
	font-size: 2.4rem;
	color: var(--bg-border-strong);
}

/* No photos: 44px monogram / thumbnail badge above the name (beside it on desktop). */
.bg-side__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
	margin-bottom: 4px;
}

.bg-side__id {
	width: 100%;
	min-width: 0;
}

.bg-mono,
.bg-thumb {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--bg-card);
}

.bg-mono {
	font-family: var(--bg-sans);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
}

.bg-mono--splurge {
	color: var(--bg-berry-hover);
	box-shadow: inset 0 0 0 1px var(--bg-border-strong);
}

.bg-mono--dupe {
	color: var(--bg-jade);
	box-shadow: inset 0 0 0 1px rgba(30, 107, 82, 0.25);
}

.bg-thumb {
	box-shadow: inset 0 0 0 1px var(--bg-border);
}

.bg-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 4px;
}

.bg-side__brand {
	overflow: hidden;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--bg-muted);
}

.bg-side__name {
	display: -webkit-box;
	margin-top: 2px !important;
	overflow: hidden;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.bg-side__price {
	margin-top: auto !important;
	padding-top: 8px;
}

.bg-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 6px;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.bg-price ins {
	text-decoration: none;
	color: var(--bg-berry);
}

.bg-price del {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--bg-muted);
}

.bg-side__unit {
	font-size: 0.75rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--bg-ink-soft);
}

.bg-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bg-pills li {
	padding: 3px 10px;
	border: 1px solid var(--bg-border);
	border-radius: 999px;
	background: var(--bg-alabaster);
	font-size: 0.775rem;
	font-weight: 600;
	color: var(--bg-ink-soft);
}

/* Shared-actives pills: desktop and the single-page hero only; phones keep the card scannable. */
.bg-card:not(.bg-card--hero) .bg-card__actives {
	display: none;
}

.bg-card__verdict {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--bg-ink-soft);
}

.bg-card__verdict strong {
	color: var(--bg-ink);
}

/* Grid cards: verdict clamped to 2 lines (full text stays in the HTML for SEO). */
.bg-card:not(.bg-card--hero) .bg-card__verdict {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

.bg-card__actions {
	display: grid;
	gap: 8px;
	margin-top: auto; /* pins the CTA row to the card bottom, photo or monogram */
}

.bg-btn--block {
	width: 100%;
}

.bg-card__actions .bg-btn--primary {
	min-height: 48px;
	font-size: 0.975rem;
}

.bg-card__actions .bg-btn--ghost {
	min-height: 44px;
}

@media (min-width: 768px) {
	.bg-card {
		gap: 16px;
		padding: 20px;
	}

	.bg-card:hover {
		box-shadow: var(--bg-shadow-hover);
	}

	.bg-card__compare {
		gap: 14px;
	}

	.bg-card__vs,
	.bg-card--compact .bg-card__vs {
		top: 50%;
		width: 34px;
		height: 34px;
		font-size: 0.66rem;
	}

	.bg-side {
		padding: 14px;
	}

	.bg-side__head {
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}

	.bg-side__label {
		font-size: 0.7rem;
	}

	.bg-side__brand {
		font-size: 0.72rem;
	}

	.bg-side__name {
		font-size: 0.925rem;
	}

	.bg-price {
		font-size: 1.2rem;
	}

	.bg-side__unit {
		font-size: 0.8rem;
	}

	.bg-card:not(.bg-card--hero) .bg-card__actives {
		display: flex;
	}

	.bg-card__verdict {
		font-size: 0.9rem;
	}

	.bg-card__actions {
		grid-template-columns: 3fr 2fr;
		padding-top: 14px;
		border-top: 1px solid var(--bg-border);
	}
}

/* Hero variant (single page) */
.bg-card--hero {
	margin-block: 20px 14px;
}

.bg-card--hero .bg-card__actions {
	padding-top: 0;
	border-top: 0;
}

.bg-card--hero .bg-card__actions .bg-btn--primary {
	min-height: 52px;
	font-size: 1rem;
}

@media (min-width: 768px) {
	.bg-card--hero {
		margin-block: 28px 16px;
		padding: 28px;
	}

	.bg-card--hero .bg-card__compare {
		gap: 20px;
	}

	.bg-card--hero .bg-side__name {
		font-size: 1rem;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}

	.bg-card--hero .bg-price {
		font-size: 1.45rem;
	}
}

/* ---------- Affiliate disclosure (footer only, shown site-wide) ---------- */

.bg-disclosure {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 0.8rem;
	line-height: 1.5;
	color: var(--bg-muted);
}

.bg-disclosure__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 0.65rem;
	font-weight: 700;
	font-family: var(--bg-sans);
}

/* ---------- Price drops ---------- */

.bg-drops {
	background: var(--bg-card);
	border-block: 1px solid var(--bg-border);
}

.bg-drop-list {
	display: grid;
	gap: 12px;
}

.bg-drop {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 16px 20px;
	padding: 14px 18px 14px 14px;
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius);
	background: var(--bg-card);
}

.bg-drops .bg-drop {
	background: var(--bg-alabaster);
}

.bg-drop .bg-img {
	margin: 0;
	border: 1px solid var(--bg-border);
}

.bg-drop .bg-img--empty {
	font-size: 1.6rem;
}

.bg-drop__body p {
	margin: 0;
}

.bg-drop__eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bg-muted);
}

.bg-drop__title {
	margin: 2px 0 4px;
	font-size: 1.05rem;
	line-height: 1.3;
}

.bg-drop__title a {
	text-decoration: none;
}

.bg-drop__note {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bg-jade);
}

.bg-check {
	font-weight: 800;
}

.bg-drop__meta {
	font-size: 0.775rem;
	color: var(--bg-muted);
}

.bg-drop__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.bg-drop__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.bg-code {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 40px;
	padding: 6px 6px 6px 12px;
	border: 1.5px dashed var(--bg-amber);
	border-radius: var(--bg-radius-sm);
	background: var(--bg-amber-tint);
	cursor: pointer;
}

.bg-code__label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bg-amber-text);
}

.bg-code__value {
	padding: 4px 10px;
	border-radius: 6px;
	background: #fff;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.bg-code.is-copied {
	border-style: solid;
	border-color: var(--bg-jade);
	background: var(--bg-jade-mist);
}

@media (max-width: 767px) {
	.bg-drop {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.bg-drop__price {
		grid-column: 1;
		align-items: flex-start;
	}

	.bg-drop__actions {
		grid-column: 2;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-end;
	}
}

/* ---------- Trust steps ---------- */

.bg-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: bg-step;
}

.bg-steps li {
	position: relative;
	padding: 24px;
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius);
	background: var(--bg-card);
	counter-increment: bg-step;
}

.bg-steps li::before {
	content: counter(bg-step, decimal-leading-zero);
	display: block;
	margin-bottom: 12px;
	font-family: var(--bg-sans);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--bg-berry);
}

.bg-steps h3 {
	font-size: 1.15rem;
}

.bg-steps p {
	margin: 0;
	font-size: 0.925rem;
	color: var(--bg-ink-soft);
}

/* ---------- Newsletter ---------- */

.bg-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px 40px;
	margin-top: 48px;
	padding: clamp(24px, 4vw, 44px);
	border-radius: var(--bg-radius-lg);
	background: var(--bg-ink);
	color: var(--bg-on-dark);
}

.bg-newsletter h2 {
	color: var(--bg-on-dark);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.bg-newsletter p {
	margin: 0;
	color: rgba(253, 248, 247, 0.8);
}

.bg-newsletter__form {
	display: flex;
	gap: 8px;
	padding: 6px;
	border-radius: 999px;
	background: #fff;
}

.bg-newsletter__form input {
	flex: 1;
	width: 100%;
	min-width: 0;
	font-size: 1rem; /* 16px: no iOS zoom on focus */
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: var(--bg-ink);
	outline: none;
}

.bg-newsletter__form .bg-btn--primary {
	background: var(--bg-berry);
}

.bg-newsletter__form .bg-btn--primary:hover {
	background: var(--bg-berry-hover);
}

.bg-admin-hint {
	padding: 12px 16px;
	border: 1px dashed rgba(255, 255, 255, 0.4);
	border-radius: var(--bg-radius-sm);
	font-size: 0.85rem;
}

@media (max-width: 767px) {
	.bg-newsletter {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 36px;
		padding: 24px 20px;
	}

	.bg-newsletter__form .bg-btn {
		flex: none;
		padding-inline: 16px;
	}
}

/* ---------- Breadcrumbs ---------- */

.bg-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	font-size: 0.825rem;
	color: var(--bg-muted);
}

.bg-crumbs li + li::before {
	content: "/";
	margin-right: 4px;
	color: var(--bg-border-strong);
}

.bg-crumbs a {
	color: var(--bg-muted);
}

/* ---------- Single dupe ---------- */

.bg-single {
	padding-top: 32px;
}

.bg-single__title {
	font-size: clamp(1.9rem, 4.6vw, 3rem);
	margin-bottom: 22px;
}

/* Answer-first GEO verdict box (spec §2.2.2) */
.bg-verdict {
	padding: clamp(18px, 3vw, 26px);
	border: 1px solid var(--bg-border);
	border-left: 4px solid var(--bg-jade);
	border-radius: var(--bg-radius);
	background: var(--bg-card);
}

.bg-verdict__label {
	margin: 0 0 8px;
	font-family: var(--bg-sans);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bg-jade);
}

.bg-verdict__text {
	margin: 0 0 14px;
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: -0.01em;
}

.bg-verdict__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bg-verdict__facts li {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--bg-alabaster);
	border: 1px solid var(--bg-border);
	font-size: 0.8rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.bg-deal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	padding: 16px 18px;
	border: 1px solid var(--bg-amber);
	border-radius: var(--bg-radius);
	background: var(--bg-amber-tint);
}

.bg-deal p {
	margin: 0;
	font-size: 0.9rem;
}

.bg-deal__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	color: var(--bg-amber-text);
}

.bg-deal__ends {
	color: var(--bg-muted);
}

.bg-section-block {
	margin-top: clamp(40px, 6vw, 60px);
}

.bg-section-block > h2 {
	font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	margin-bottom: 18px;
}

/* Audit table */
.bg-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius);
	background: var(--bg-card);
}

.bg-table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-size: 0.925rem;
	font-variant-numeric: tabular-nums;
}

.bg-table__caption {
	padding: 14px 18px 0;
	text-align: left;
	font-size: 0.8rem;
	color: var(--bg-muted);
}

.bg-table th,
.bg-table td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--bg-border);
	text-align: left;
	vertical-align: top;
}

.bg-table tbody tr:last-child th,
.bg-table tbody tr:last-child td {
	border-bottom: 0;
}

.bg-table thead th {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bg-muted);
	background: var(--bg-alabaster);
}

.bg-table thead th.is-dupe {
	color: var(--bg-jade);
}

.bg-table__product {
	display: block;
	margin-top: 4px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bg-ink);
}

.bg-table tbody th {
	width: 28%;
	font-weight: 700;
}

.bg-table td.is-dupe {
	background: rgba(238, 246, 243, 0.65);
}

.bg-table tr.is-highlight td,
.bg-table tr.is-highlight th {
	background: var(--bg-alabaster);
}

.bg-table tr.is-highlight td.is-dupe {
	background: var(--bg-jade-mist);
}

.bg-table .bg-price {
	font-size: 1rem;
}

.bg-delta {
	display: block;
	font-size: 0.775rem;
	font-weight: 700;
	color: var(--bg-jade);
}

/* Trade-offs */
.bg-tradeoffs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.bg-tradeoff {
	padding: 22px;
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius);
	background: var(--bg-card);
}

.bg-tradeoff--save {
	border-top: 4px solid var(--bg-jade);
}

.bg-tradeoff--splurge {
	border-top: 4px solid var(--bg-berry);
}

.bg-tradeoff h3 {
	font-size: 1.1rem;
	line-height: 1.35;
}

.bg-tradeoff ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bg-tradeoff li {
	position: relative;
	padding: 6px 0 6px 26px;
	font-size: 0.925rem;
}

.bg-tradeoff li::before {
	position: absolute;
	left: 0;
	top: 6px;
	font-weight: 800;
}

.bg-tradeoff--save li::before {
	content: "✓";
	color: var(--bg-jade);
}

.bg-tradeoff--splurge li::before {
	content: "◆";
	font-size: 0.7rem;
	top: 10px;
	color: var(--bg-berry);
}

/* FAQ */
.bg-faq {
	border-top: 1px solid var(--bg-border);
}

.bg-faq__item {
	border-bottom: 1px solid var(--bg-border);
}

.bg-faq__item summary {
	position: relative;
	padding: 18px 40px 18px 0;
	list-style: none;
	cursor: pointer;
}

.bg-faq__item summary::-webkit-details-marker {
	display: none;
}

.bg-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--bg-muted);
}

.bg-faq__item[open] summary::after {
	content: "−";
}

.bg-faq__item summary h3 {
	display: inline;
	margin: 0;
	font-family: var(--bg-sans);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
}

.bg-faq__item p {
	margin: 0 0 20px;
	color: var(--bg-ink-soft);
}

.bg-related {
	margin-top: 40px;
	padding-bottom: 0;
}

.bg-related .bg-section-title {
	margin-bottom: 20px;
}

/* ---------- Archive ---------- */

.bg-archive__header {
	padding-block: 32px 8px;
}

.bg-archive__title {
	font-size: clamp(2rem, 5vw, 3.25rem);
}

.bg-archive__intro {
	max-width: 720px;
	font-size: 1.05rem;
	color: var(--bg-ink-soft);
}

.bg-archive__description {
	max-width: 720px;
}

.bg-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0 8px;
	padding: 0;
	list-style: none;
}

.bg-stats li {
	padding: 8px 14px;
	border: 1px solid var(--bg-border);
	border-radius: 999px;
	background: var(--bg-card);
	font-size: 0.875rem;
}

.bg-stats strong {
	color: var(--bg-berry);
}

/* Homepage grid: breathing room above the white Price Drops band. */
.bg-home {
	padding-bottom: 32px;
}

@media (min-width: 768px) {
	.bg-home {
		padding-bottom: 48px;
	}
}

/* Price Drops: space between the page header and the first drop row. */
.bg-archive__header--drops + .bg-container > .bg-drop-list {
	margin-top: 20px;
}

.bg-empty--panel h2 {
	font-size: 1.4rem;
}

/* Pagination */
.bg-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.bg-pagination a,
.bg-pagination span {
	display: grid;
	place-items: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--bg-border);
	border-radius: 999px;
	background: var(--bg-card);
	font-weight: 600;
	text-decoration: none;
}

.bg-pagination .current {
	background: var(--bg-berry);
	color: #fff;
	border-color: var(--bg-berry);
}

/* ---------- Generic pages ---------- */

.bg-page-header {
	padding-block: 40px 16px;
}

.bg-page-header h1,
.bg-entry__title {
	font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.bg-entry {
	padding-block: 24px;
	border-bottom: 1px solid var(--bg-border);
}

.bg-prose {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.bg-prose h2 {
	margin-top: 1.6em;
}

.bg-prose a {
	text-decoration-color: var(--bg-berry);
}

/* ---------- Footer ---------- */

.bg-footer {
	margin-top: 32px;
	padding-block: 48px 28px;
	border-top: 1px solid var(--bg-border);
	background: var(--bg-card);
}

.bg-footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
}

.bg-footer__brand p {
	max-width: 360px;
	margin-top: 10px;
	color: var(--bg-muted);
	font-size: 0.9rem;
}

.bg-footer__heading {
	margin-bottom: 12px;
	font-family: var(--bg-sans);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bg-muted);
}

.bg-footer__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bg-footer__nav li {
	margin-bottom: 8px;
}

.bg-footer__nav a {
	font-size: 0.925rem;
	text-decoration: none;
}

.bg-footer__nav a:hover {
	text-decoration: underline;
}

.bg-footer__legal {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--bg-border);
	font-size: 0.8rem;
	color: var(--bg-muted);
}

.bg-footer__legal p {
	margin: 0;
}

@media (max-width: 767px) {
	.bg-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.bg-pulse::after {
		display: none;
	}
}

@media print {
	.bg-announce,
	.bg-header,
	.bg-filterbar,
	.bg-sheet,
	.bg-tabbar,
	.bg-sticky-cta,
	.bg-newsletter,
	.bg-card__actions,
	.bg-more,
	.bg-footer {
		display: none !important;
	}

	body {
		background: #fff;
	}
}

/* ==========================================================================
   Pages (About, Contact, legal) — v1.1
   ========================================================================== */

.bg-page {
	padding-top: 32px;
}

.bg-page__header {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--bg-border);
}

.bg-page__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
	margin: 0;
}

.bg-page__content {
	max-width: 720px;
}

.bg-page__content > p:first-child em {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid var(--bg-border);
	border-radius: 999px;
	background: var(--bg-card);
	font-size: 0.85rem;
	font-style: normal;
	color: var(--bg-muted);
}

.bg-prose h2 {
	font-size: clamp(1.35rem, 2.4vw, 1.65rem);
	margin: 1.8em 0 0.6em;
}

.bg-prose ul,
.bg-prose ol {
	padding-left: 1.25em;
	margin: 0 0 1.2em;
}

.bg-prose li {
	margin-bottom: 0.5em;
}

.bg-prose li::marker {
	color: var(--bg-berry);
}

.bg-prose strong {
	color: var(--bg-ink);
}

/* Contact form (Barggle Core shortcode, styled by the theme) */
.barggle-contact {
	margin: 28px 0;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius-lg);
	background: var(--bg-card);
	box-shadow: var(--bg-shadow);
}

.barggle-contact__form {
	display: grid;
	gap: 18px;
}

.barggle-contact__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.barggle-contact__field {
	display: grid;
	align-content: start;
	gap: 6px;
}

.barggle-contact__field label {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--bg-ink);
}

.barggle-contact__field input,
.barggle-contact__field select,
.barggle-contact__field textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid var(--bg-border-strong);
	border-radius: var(--bg-radius-sm);
	background: var(--bg-alabaster);
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.barggle-contact__field select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 38px;
	background: var(--bg-alabaster) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231C1917' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.barggle-contact__field textarea {
	min-height: 150px;
	resize: vertical;
}

.barggle-contact__field input:focus,
.barggle-contact__field select:focus,
.barggle-contact__field textarea:focus {
	border-color: var(--bg-berry);
	background-color: #fff;
	outline: none;
	box-shadow: 0 0 0 3px rgba(184, 59, 94, 0.12);
}

.barggle-contact__field.has-error input,
.barggle-contact__field.has-error select,
.barggle-contact__field.has-error textarea {
	border-color: var(--bg-berry-hover);
}

.barggle-contact__error {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bg-berry-hover);
}

.barggle-contact__notice {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: var(--bg-radius-sm);
	font-size: 0.95rem;
}

.barggle-contact__notice ul {
	margin: 6px 0 0;
	padding-left: 18px;
}

.barggle-contact__notice a {
	color: inherit;
}

.barggle-contact__notice--success {
	border: 1px solid rgba(30, 107, 82, 0.3);
	background: var(--bg-jade-mist);
	color: var(--bg-jade);
}

.barggle-contact__notice--error {
	border: 1px solid rgba(184, 59, 94, 0.3);
	background: var(--bg-berry-tint);
	color: var(--bg-berry-hover);
}

.barggle-contact__context {
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--bg-radius-sm);
	background: var(--bg-sand);
	font-size: 0.9rem;
	font-weight: 600;
}

.barggle-contact__submit {
	justify-self: start;
	border: 0;
}

.barggle-contact__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* "Report a wrong price" link under the audit table */
.bg-report-link {
	margin: 12px 0 0;
	font-size: 0.875rem;
	color: var(--bg-muted);
}

.bg-report-link a {
	font-weight: 700;
	color: var(--bg-ink);
}

/* Footer bottom bar with legal links */
.bg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
}

.bg-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bg-legal-links a {
	color: var(--bg-muted);
	text-decoration: none;
}

.bg-legal-links a:hover {
	color: var(--bg-ink);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.bg-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ==========================================================================
   v1.3 — Mobile-first app shell
   ========================================================================== */

/* ---------- Helpers ---------- */

.bg-js-only {
	display: none !important;
}

.bg-js .bg-js-only {
	display: inline-flex !important;
}

.bg-icon {
	display: block;
	flex: none;
}

/* ---------- Price-drop rows: photo column sizes itself; monogram when there is no photo ---------- */

.bg-drop {
	grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.bg-drop .bg-img {
	width: 84px;
}

.bg-drops .bg-drop {
	background: var(--bg-card);
}

@media (max-width: 767px) {
	.bg-drop {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.bg-drop .bg-img {
		width: 64px;
	}
}

/* ---------- Announcement bar & breadcrumbs: compact on phones ---------- */

@media (max-width: 767px) {
	.bg-announce {
		justify-content: flex-start;
		padding: 7px 44px 7px 16px;
		font-size: 0.8rem;
		line-height: 1.4;
		text-align: left;
	}

	.bg-announce__text {
		display: block;
	}

	.bg-announce__text .bg-pulse {
		margin-right: 6px;
		vertical-align: 1px;
	}

	.bg-announce__text a {
		margin-left: 4px;
		white-space: nowrap;
	}

	.bg-announce__close {
		right: 4px;
		width: 40px;
		height: 40px;
	}

	/* One line: the current page trims with an ellipsis instead of wrapping. */
	.bg-crumbs ol {
		flex-wrap: nowrap;
		overflow: hidden;
		white-space: nowrap;
	}

	.bg-crumbs li {
		flex: none;
	}

	.bg-crumbs li:last-child {
		flex: 0 1 auto;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

/* ---------- Archive & page headers: compact on phones ---------- */

@media (max-width: 767px) {
	.bg-archive__header {
		padding-block: 16px 14px;
	}

	.bg-archive__title {
		font-size: clamp(1.65rem, 7.4vw, 2rem);
	}

	.bg-archive__intro {
		margin-bottom: 0;
		font-size: 0.925rem;
	}

	.bg-page-header {
		padding-block: 24px 8px;
	}

	.bg-section {
		padding-block: 36px;
	}
}

/* ---------- Single dupe page ---------- */

.bg-container--single {
	max-width: calc(980px + 2 * var(--bg-gutter));
}

.bg-tradeoff h3 {
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	overflow-wrap: break-word;
	hyphens: auto;
}

@media (max-width: 767px) {
	.bg-single {
		padding-top: 12px;
	}

	.bg-single__title {
		margin-bottom: 16px;
		font-size: clamp(1.55rem, 6.6vw, 1.9rem);
	}

	.bg-verdict {
		padding: 16px;
	}

	.bg-verdict__text {
		font-size: 1.05rem;
	}

	.bg-section-block {
		margin-top: 36px;
	}

	/* INCI & formula audit: a 50/50 stacked layout instead of a sideways-scrolling table.
	   Each row label spans the full width; Splurge | Dupe values sit underneath it. */
	.bg-table-wrap {
		overflow: visible;
	}

	.bg-table,
	.bg-table thead,
	.bg-table tbody {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.bg-table {
		font-size: 0.875rem;
	}

	.bg-table__caption {
		display: block;
		padding: 12px 12px 0;
	}

	.bg-table tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		border-bottom: 1px solid var(--bg-border);
	}

	.bg-table tbody tr:last-child {
		border-bottom: 0;
	}

	.bg-table th,
	.bg-table td {
		display: block;
		min-width: 0;
		padding: 4px 12px 12px;
		border-bottom: 0;
		overflow-wrap: anywhere;
	}

	.bg-table thead tr {
		background: var(--bg-alabaster);
	}

	.bg-table thead th {
		padding: 12px;
		font-size: 0.68rem;
	}

	.bg-table thead th:first-child {
		display: none;
	}

	.bg-table thead th.is-dupe {
		background: var(--bg-jade-mist);
	}

	.bg-table tbody th {
		grid-column: 1 / -1;
		width: auto;
		padding: 12px 12px 2px;
		font-family: var(--bg-sans);
		font-size: 0.7rem;
		font-weight: 800;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--bg-muted);
		background: transparent !important;
	}

	.bg-table td[colspan] {
		grid-column: 1 / -1;
	}

	.bg-table td.is-dupe {
		margin-right: 8px;
		margin-bottom: 8px;
		padding-top: 6px;
		padding-bottom: 6px;
		border-radius: var(--bg-radius-sm);
	}

	.bg-table tr.is-highlight {
		background: var(--bg-alabaster);
	}

	.bg-table tr.is-highlight th,
	.bg-table tr.is-highlight td:not(.is-dupe) {
		background: transparent;
	}

	.bg-table__product {
		font-size: 0.8rem;
	}
}

/* ---------- Mobile bottom tab bar (< 768px) ---------- */

.bg-tabbar {
	display: none;
}

@media (max-width: 767px) {
	.bg-tabbar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		height: calc(var(--bg-tabbar-h) + env(safe-area-inset-bottom));
		padding: 0 4px env(safe-area-inset-bottom);
		border-top: 1px solid rgba(227, 204, 209, 0.75);
		background: rgba(253, 248, 247, 0.8);
		box-shadow: 0 -8px 28px -20px rgba(38, 25, 29, 0.4);
		backdrop-filter: saturate(1.6) blur(18px);
		-webkit-backdrop-filter: saturate(1.6) blur(18px);
	}

	@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
		.bg-tabbar {
			background: rgba(253, 248, 247, 0.97);
		}
	}

	.bg-tabbar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-width: 0;
		min-height: 48px;
		font-size: 0.68rem;
		font-weight: 700;
		line-height: 1.1;
		text-decoration: none;
		color: var(--bg-ink-soft);
		-webkit-tap-highlight-color: transparent;
	}

	.bg-tabbar__item .bg-icon {
		width: 24px;
		height: 24px;
		transition: transform 0.15s ease;
	}

	.bg-tabbar__item:active .bg-icon {
		transform: scale(0.9);
	}

	.bg-tabbar__item[aria-current="page"],
	.bg-tabbar__item[aria-expanded="true"] {
		color: var(--bg-berry);
	}

	.bg-tabbar__item[aria-current="page"] .bg-icon {
		stroke-width: 2.2;
	}

	.bg-tabbar__label {
		max-width: 100%;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	body.bg-has-tabbar {
		padding-bottom: calc(var(--bg-tabbar-h) + env(safe-area-inset-bottom));
	}

	html {
		scroll-padding-top: 128px; /* anchor jumps land below the pinned search strip */
	}
}

/* ---------- Mobile sticky "Shop Dupe — $XX (Save XX%)" bar ---------- */

.bg-sticky-cta {
	display: none;
}

@media (max-width: 767px) {
	.bg-sticky-cta {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 80;
		display: block;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--bg-border);
		background: rgba(253, 248, 247, 0.97);
		box-shadow: 0 -10px 30px -16px rgba(38, 25, 29, 0.3);
		transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.25s;
	}

	/* Sits directly above the tab bar. */
	.bg-has-tabbar .bg-sticky-cta {
		bottom: calc(var(--bg-tabbar-h) + env(safe-area-inset-bottom));
		padding-bottom: 10px;
	}

	.bg-sticky-cta.is-tucked {
		visibility: hidden;
		opacity: 0;
		transform: translateY(16px);
	}

	.bg-sticky-cta__btn {
		min-height: 52px;
		font-size: 1rem;
		white-space: nowrap;
	}

	body.has-sticky-cta {
		padding-bottom: calc(74px + env(safe-area-inset-bottom));
	}

	body.bg-has-tabbar.has-sticky-cta {
		padding-bottom: calc(var(--bg-tabbar-h) + 74px + env(safe-area-inset-bottom));
	}
}

@media (prefers-reduced-motion: reduce) {
	.bg-sheet.is-modal,
	.bg-sheet.is-modal .bg-sheet__panel,
	.bg-sheet--filters.is-open {
		animation: none !important;
	}

	.bg-tabs {
		scroll-behavior: auto;
	}
}
/* ---------- Editorial trust strip (above the newsletter) ---------- */

.bg-trust-strip {
	margin-top: 0; /* the section above already provides the spacing */
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius-lg);
	background: var(--bg-card);
}

.bg-trust-strip__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bg-trust-strip__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
}

.bg-trust-strip__item + .bg-trust-strip__item {
	border-top: 1px solid var(--bg-border);
}

.bg-trust-strip__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--bg-jade-mist);
	color: var(--bg-jade);
}

.bg-trust-strip__icon .bg-icon {
	width: 22px;
	height: 22px;
}

.bg-trust-strip__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bg-trust-strip__title {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--bg-ink);
}

.bg-trust-strip__text {
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--bg-ink-soft);
}

/* The newsletter sits right under the strip, so tighten the gap between them. */
.bg-trust-strip + .bg-newsletter {
	margin-top: 16px;
}

@media (min-width: 768px) {
	.bg-trust-strip__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bg-trust-strip__item {
		padding: 22px 24px;
	}

	.bg-trust-strip__item + .bg-trust-strip__item {
		border-top: 0;
		border-left: 1px solid var(--bg-border);
	}

	.bg-trust-strip + .bg-newsletter {
		margin-top: 20px;
	}
}

/* ---------- Newsletter banner (Plum Noir) ---------- */

.bg-newsletter {
	background: var(--bg-ink);
	color: var(--bg-on-dark);
}

.bg-newsletter__action {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
	gap: 10px;
}

.bg-newsletter__form input::placeholder {
	color: var(--bg-muted);
}

.bg-newsletter__fine {
	font-size: 0.8rem;
	color: rgba(253, 248, 247, 0.7) !important;
}

.bg-newsletter__status {
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--bg-radius-sm);
	background: rgba(253, 248, 247, 0.1);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--bg-on-dark) !important;
}

.bg-newsletter__status--ok {
	background: var(--bg-jade);
}

.bg-newsletter__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Footer bottom: currency notice above the copyright line ---------- */

.bg-footer__bottom {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 6px;
}

.bg-footer__currency {
	line-height: 1.5;
	color: var(--bg-ink-soft);
}

/* ---------- Footer correspondence address ---------- */

.bg-footer__address {
	max-width: 320px;
	margin-top: 16px;
	font-size: 0.85rem;
	font-style: normal;
	line-height: 1.55;
	color: var(--bg-ink-soft);
}

.bg-footer__address-label {
	display: block;
	margin-bottom: 2px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bg-muted);
}

/* ---------- Display-currency switcher (header) ----------
   A native <select> sits invisibly over the "USD ▾" pill: OS picker on phones, full
   keyboard and screen-reader support everywhere. Hidden (via [hidden]) without JS. */

.bg-currency {
	position: relative;
	flex: none;
	display: inline-flex;
	margin-left: auto;
}

.bg-currency[hidden] {
	display: none;
}

.bg-nav + .bg-currency {
	margin-left: 8px;
}

.bg-currency__label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 34px;
	padding: 0 12px;
	border: 1px solid var(--bg-border-strong);
	border-radius: 999px;
	background: var(--bg-card);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--bg-ink);
	pointer-events: none;
	transition: border-color 0.15s ease;
}

.bg-currency__caret {
	font-size: 0.7rem;
	color: var(--bg-muted);
}

.bg-currency__select {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	font-size: 16px; /* no iOS zoom on focus */
	opacity: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.bg-currency:hover .bg-currency__label {
	border-color: var(--bg-ink-soft);
}

.bg-currency:focus-within .bg-currency__label {
	border-color: var(--bg-berry);
	box-shadow: 0 0 0 3px var(--bg-berry-tint);
}

@media (min-width: 768px) {
	.bg-nav {
		margin-left: auto;
	}
}
