/*
 * Allergy Buddy — site-wide brand shell.
 * Header, phone menu and footer chrome, plus aliases for the mockup-derived
 * page CSS. Palette tokens (--bg, --ink, --red, …) come from design-system.css.
 */
:root {
	/* Accent + family aliases used by the mockup-derived page CSS. */
	--accent: var(--red);
	--accent-deep: var(--red-deep);
	--accent-soft: var(--red-soft);
	--sans: var(--font-sans);
	--mono: var(--font-mono);
}

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
}
a { color: var(--accent); }
a:hover { color: var(--accent-deep); }

/* Buttons are <a> tags: a:hover above (0,1,1) outranks the page-CSS .btn--* colour
   (0,1,0), turning labels the same colour as the hover background. Re-pin them. */
a.btn--cta:hover { color: #fff; }
a.btn--ink:hover { color: var(--paper, #fff); }
a.btn--ghost:hover, a.btn--light:hover { color: var(--ink); }

/* Prices now render live from WooCommerce — retire any leftover placeholder tags. */
.example-tag { display: none; }

/* ─── Header and footer chrome ───
   One sticky bar. Blue, green and gold appear only on .ab-stripe.
   Red is the phone dock button, the cart count, the active underline, and the focus ring. */
:root {
	--ab-bar: 112px;
	--ab-admin: 0px;
	--ab-ease: cubic-bezier(.22, 1, .36, 1);
}
body.admin-bar { --ab-admin: 32px; }
@media (max-width: 782px) {
	body.admin-bar { --ab-admin: 46px; }
}
html { scroll-padding-top: calc(var(--ab-bar) + var(--ab-admin) + 15px); }

header#masthead.ab-chrome {
	position: sticky;
	top: var(--ab-admin);
	z-index: 20;
	background: var(--bg);
	color: var(--ink);
	overflow: visible;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
}
.ab-chrome a { color: inherit; text-decoration: none; }
.ab-chrome a:hover { color: var(--ink); }
.ab-chrome :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.ab-bar { overflow: visible; }
header#masthead.ab-chrome .ab-bar-inner {
	/* Same measure as the page column (--ab-content is 1200px). The chrome
	   mockup uses 1120 only because its own sample column is 1120. */
	max-width: var(--ab-content, 1200px);
	margin: 0 auto;
	height: var(--ab-bar);
	padding: 0 28px;
	display: flex;
	align-items: center;
	gap: 28px;
	overflow: visible;
}
.ab-logo { display: flex; align-items: center; flex: none; line-height: 0; overflow: visible; }
.ab-logo img { display: block; height: 74px; width: auto; max-width: none; transform: translateY(-4px); }

/* The lockup is centred. Its wordmark sits below that centre, so the
   logo shifts up a little and the nav and icons follow onto the word. */
.ab-desk-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 28px); margin-left: 8px; transform: translateY(10px); }
.ab-desk-nav a {
	font-weight: 500;
	font-size: 15px;
	color: var(--ink-2);
	padding: 8px 0;
	display: inline-flex;
	align-items: center;
	border-bottom: 2px solid transparent;
}
.ab-desk-nav a:hover { color: var(--ink); }
.ab-desk-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }

.ab-labels { position: relative; }
.ab-labels-btn {
	font: inherit;
	font-weight: 500;
	font-size: 15px;
	color: var(--ink-2);
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 8px 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.ab-labels-btn:hover,
.ab-labels-btn[aria-expanded="true"] { color: var(--ink); background: transparent; }
.ab-labels.is-current .ab-labels-btn { color: var(--ink); border-bottom-color: var(--red); }
.ab-chev { width: 10px; height: 7px; display: block; transition: transform .2s var(--ab-ease); }
.ab-labels-btn[aria-expanded="true"] .ab-chev { transform: rotate(180deg); }
header.ab-chrome > .ab-labels-menu {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 25;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 28px 48px -32px rgba(20, 24, 29, .45);
}
header.ab-chrome.is-labels-open > .ab-labels-menu { display: block; }
header.ab-chrome.is-labels-open > .ab-labels-menu { animation: ab-labels-in .32s var(--ab-ease); }
@keyframes ab-labels-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
header.ab-chrome > .ab-labels-menu .ab-labels-inner {
	max-width: var(--ab-content, 1200px);
	margin: 0 auto;
	padding: 28px 28px 32px;
	display: grid;
	grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
header.ab-chrome > .ab-labels-menu .ab-labels-kicker {
	margin: 0 0 12px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--red);
}
header.ab-chrome > .ab-labels-menu .ab-labels-intro {
	margin: 0;
	max-width: 14em;
	font-size: clamp(22px, 2.1vw, 30px);
	font-weight: 500;
	letter-spacing: -.03em;
	line-height: 1.12;
	color: var(--ink);
}
header.ab-chrome > .ab-labels-menu .ab-labels-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
header.ab-chrome > .ab-labels-menu .ab-labels-panel a {
	display: grid;
	gap: 0;
	width: auto;
	padding: 0;
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #e6e3dc;
	color: var(--ink);
	position: relative;
	transition: transform .35s var(--ab-ease);
}
header.ab-chrome > .ab-labels-menu .ab-labels-panel a:hover { transform: translateY(-3px); }
header.ab-chrome > .ab-labels-menu .ab-labels-panel img {
	width: 100%;
	height: 210px;
	object-fit: contain;
	object-position: center;
	border-radius: 0;
	background: #e6e3dc;
	display: block;
	position: relative;
	z-index: 0;
	transition: transform .5s var(--ab-ease);
}
header.ab-chrome > .ab-labels-menu .ab-labels-panel a:hover img { transform: scale(1.05); }
header.ab-chrome > .ab-labels-menu .ab-labels-panel span {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 12px;
	margin: 0 10px 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff;
	position: relative;
	z-index: 1;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.2;
}
header.ab-chrome > .ab-labels-menu .ab-labels-panel span::after {
	content: "→";
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	font-weight: 500;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .25s var(--ab-ease), transform .25s var(--ab-ease);
}
header.ab-chrome > .ab-labels-menu .ab-labels-panel a:hover span::after,
header.ab-chrome > .ab-labels-menu .ab-labels-panel a[aria-current="page"] span::after {
	opacity: 1;
	transform: none;
}
header.ab-chrome > .ab-labels-menu .ab-labels-panel a[aria-current="page"] span { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (prefers-reduced-motion: reduce) {
	header.ab-chrome.is-labels-open > .ab-labels-menu { animation: none; }
	header.ab-chrome > .ab-labels-menu .ab-labels-panel a,
	header.ab-chrome > .ab-labels-menu .ab-labels-panel img,
	header.ab-chrome > .ab-labels-menu .ab-labels-panel span::after { transition: none; }
}

.ab-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; position: relative; transform: translateY(10px); }
.ab-icon {
	position: relative;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	border-radius: 999px;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	padding: 0;
	font: inherit;
	line-height: 1;
	text-decoration: none;
}
.ab-icon svg { width: 20px; height: 20px; display: block; }
.ab-icon:hover,
.ab-icon[aria-expanded="true"] { background: var(--bg-2); color: var(--ink); }
.ab-cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--red);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ab-cart-count[hidden] { display: none; }

.ab-pop {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 5;
	width: 240px;
	padding: 8px;
	background: var(--bg);
	border: 1px solid var(--line-2);
	border-radius: 14px;
}
.ab-pop[hidden] { display: none; }
.ab-pop .ab-k {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin: 6px 12px 4px;
}
.ab-pop a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 500; color: var(--ink); }
.ab-pop a:hover { background: var(--bg-2); color: var(--ink); }
.ab-pop a span { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; margin-top: 2px; }

.ab-phone-end { display: none; margin-left: auto; align-items: center; }
.ab-menu-btn { width: 44px; height: 44px; }
.ab-lines { position: relative; width: 20px; height: 14px; display: block; }
.ab-lines span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .28s var(--ab-ease), opacity .18s;
}
.ab-lines span:nth-child(1) { top: 0; }
.ab-lines span:nth-child(2) { top: 6px; }
.ab-lines span:nth-child(3) { top: 12px; }
.ab-menu-btn[aria-expanded="true"] .ab-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ab-menu-btn[aria-expanded="true"] .ab-lines span:nth-child(2) { opacity: 0; }
.ab-menu-btn[aria-expanded="true"] .ab-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ab-stripe { display: flex; height: 3px; }
.ab-stripe span { flex: 1; display: block; }
.ab-stripe__r { background: var(--red); }
.ab-stripe__b { background: var(--blue); }
.ab-stripe__g { background: var(--green); }
.ab-stripe__y { background: var(--gold); }
.ab-chrome[data-ab-open="menu"] .ab-bar .ab-stripe span {
	transform-origin: left center;
	animation: ab-stripe-draw .45s var(--ab-ease) both;
}
.ab-chrome[data-ab-open="menu"] .ab-bar .ab-stripe span:nth-child(2) { animation-delay: .05s; }
.ab-chrome[data-ab-open="menu"] .ab-bar .ab-stripe span:nth-child(3) { animation-delay: .1s; }
.ab-chrome[data-ab-open="menu"] .ab-bar .ab-stripe span:nth-child(4) { animation-delay: .15s; }
@keyframes ab-stripe-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.ab-sheet { display: none; }
.ab-clip { overflow: hidden; min-height: 0; }
.ab-sheet-scroll {
	max-height: calc(100dvh - var(--ab-bar) - var(--ab-admin) - 3px);
	overflow: auto;
	overscroll-behavior: contain;
	padding: 6px 8px 0;
	background: var(--bg);
}
.ab-chrome[data-ab-open="menu"] .ab-sheet-scroll {
	min-height: calc(100dvh - var(--ab-bar) - var(--ab-admin) - 3px);
	display: flex;
	flex-direction: column;
}
@keyframes ab-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ab-primary a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 12px;
	border-top: 1px solid var(--line);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -.02em;
	color: var(--ink);
}
.ab-primary a:first-child { border-top: 0; }
.ab-labels--sheet { border-top: 1px solid var(--line); padding: 16px 12px 8px; }
.ab-labels--sheet .ab-labels-k { margin: 0 0 12px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.ab-labels--sheet .ab-labels-panel { width: auto; padding: 0; border: 0; box-shadow: none; background: transparent; gap: 10px; }
.ab-labels--sheet .ab-labels-panel a { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.ab-labels--sheet .ab-labels-panel a[aria-current="page"] span { border-bottom: 2px solid var(--red); }
.ab-primary a .ab-go { margin-left: auto; color: var(--ink-3); }
.ab-primary a:hover,
.ab-primary a:hover .ab-go { color: var(--ink); }
.ab-primary a[aria-current="page"] { border-bottom: 2px solid var(--red); }
.ab-chrome[data-ab-open="menu"] .ab-primary a { animation: ab-rise .45s var(--ab-ease) both; }
.ab-chrome[data-ab-open="menu"] .ab-primary a:nth-child(2) { animation-delay: .04s; }
.ab-chrome[data-ab-open="menu"] .ab-primary a:nth-child(3) { animation-delay: .08s; }
.ab-chrome[data-ab-open="menu"] .ab-primary a:nth-child(4) { animation-delay: .12s; }
.ab-chrome[data-ab-open="menu"] .ab-primary a:nth-child(5) { animation-delay: .16s; }
.ab-chrome[data-ab-open="menu"] .ab-primary a:nth-child(6) { animation-delay: .20s; }

.ab-facts { padding: 4px 20px 16px; display: flex; flex-direction: column; gap: 4px; }
.ab-facts a { font-weight: 500; color: var(--ink); }
.ab-facts a:hover { color: var(--ink); }
.ab-facts .ab-phone { font-size: 20px; letter-spacing: -.02em; }
.ab-facts .ab-addr { color: var(--ink-2); font-size: 14.5px; }

.ab-dock {
	position: sticky;
	bottom: 0;
	margin-top: auto;
	padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
	background: var(--bg);
}
a.ab-order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin: 0;
	padding: 14px 18px;
	border-radius: 999px;
	background: var(--red);
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	text-decoration: none;
}
a.ab-order:hover { background: var(--red-deep); color: #fff; }

@media (max-width: 860px) {
	:root { --ab-bar: 92px; }
	header.ab-chrome > .ab-labels-menu { display: none !important; }
	.ab-desk-nav,
	.ab-actions { display: none; }
	.ab-phone-end { display: flex; transform: translateY(7px); }
	header#masthead.ab-chrome .ab-bar-inner { padding: 0 12px 0 16px; gap: 8px; }
	.ab-logo img { height: 58px; }
	.ab-phone-end .ab-icon { width: 44px; height: 44px; }
	.ab-sheet { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .52s var(--ab-ease); }
	.ab-chrome[data-ab-open="menu"] .ab-sheet { grid-template-rows: 1fr; }
}

/* ─── Footer ─── */
footer.site-info {
	background: var(--bg);
	color: var(--ink);
	border-top: 1px solid var(--line);
	padding: 0;
	margin: 0;
	max-width: none;
	width: auto;
	text-align: start;
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 400;
	text-transform: none;
	line-height: 1.5;
}
footer.site-info .ab-stripe { height: 6px; }
footer.site-info a { color: inherit; text-decoration: none; }
footer.site-info a:hover { color: var(--ink); }
footer.site-info :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.ab-foot {
	max-width: 1120px;
	margin: 0 auto;
	padding: 48px 28px 28px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 36px;
}
.ab-foot h3 {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin: 0 0 12px;
}
.ab-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ab-foot li a { font-size: 15px; color: var(--ink); }
.ab-foot li a:hover { color: var(--ink); }
.ab-foot-brand img { display: block; height: 48px; width: auto; max-width: none; }
.ab-foot-brand p { margin: 14px 0 0; max-width: 36ch; color: var(--ink-2); font-size: 14.5px; }
.ab-talk a { display: block; }
.ab-talk .ab-phone { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.ab-talk .ab-phone:hover { color: var(--ink); }
.ab-talk .ab-mail { color: var(--ink-2); font-size: 14.5px; padding: 2px 0; }
.ab-talk .ab-mail:hover { color: var(--ink); }
.ab-talk .ab-addr { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; }

.ab-base {
	max-width: 1120px;
	margin: 0 auto;
	padding: 16px 28px 28px;
	border-top: 1px solid var(--line);
	display: flex;
	gap: 12px 28px;
	justify-content: space-between;
	flex-wrap: wrap;
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: var(--ink-3);
}
.ab-base a { color: var(--ink-3); }
.ab-base a:hover { color: var(--ink); }
.ab-policies { display: flex; gap: 8px 16px; flex-wrap: wrap; }

@media (max-width: 800px) {
	.ab-foot { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.ab-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.ab-foot { grid-template-columns: 1fr; padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.ab-sheet,
	.ab-lines span,
	.ab-primary a,
	.ab-stripe span {
		animation: none;
		transition: none;
	}
}

/* Mockup pages provide their own hero/title — hide GeneratePress's page title + its
   default content padding so the sections sit flush. */
.ab-no-page-title .entry-header, .ab-no-page-title .page-header { display: none; }
.ab-no-page-title .entry-content { margin-top: 0; }
.ab-no-page-title .site-content .content-area { padding: 0; }
.ab-no-page-title .entry-content > .ab-section:first-child { margin-top: 0; }

/* Block-built pages carry their own spacing. Stop GeneratePress adding it back. */
.home .inside-article,
.ab-gb-page .inside-article { padding: 0; }
.home .entry-content :is(p, h1, h2, h3, h4, ul, ol),
.ab-gb-page .entry-content :is(p, h1, h2, h3, h4, ul, ol) { margin: 0; padding: 0; }
.home .entry-content ul,
.ab-gb-page .entry-content ul { list-style: none; }
.home .ab-faq,
.ab-gb-page .ab-faq { border-top: 1px solid var(--ab-line-2, #CFC9BB); padding: 20px 0; }
.home .ab-faq summary,
.ab-gb-page .ab-faq summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 15.5px;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.home .ab-faq summary::-webkit-details-marker,
.ab-gb-page .ab-faq summary::-webkit-details-marker,
.home .ab-faq summary::marker,
.ab-gb-page .ab-faq summary::marker { display: none; content: ""; }
.home .ab-faq summary::after,
.ab-gb-page .ab-faq summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform .2s var(--ab-ease);
}
.home .ab-faq[open] summary::after,
.ab-gb-page .ab-faq[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.home .ab-faq p,
.ab-gb-page .ab-faq p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ab-ink-2, #4D535D); max-width: 58ch; }

.ab-marquee { display: flex; width: max-content; align-items: center; animation: ab-marquee 36s linear infinite; }
.ab-marquee:hover { animation-play-state: paused; }
/* JS (assets/js/marquee.js) marks the strip .is-loop, repeats the set until one
   copy covers the viewport, then duplicates that copy. The shift is one copy. */
.ab-marquee.is-loop {
	display: block;
	width: 100%;
	overflow: hidden;
	animation: none;
}
.ab-marquee.is-loop .ab-marquee__track {
	display: flex;
	width: max-content;
	align-items: center;
	animation: ab-marquee 36s linear infinite;
}
.ab-marquee.is-loop .ab-marquee__track > * { flex: 0 0 auto; }
.ab-marquee.is-loop:hover .ab-marquee__track { animation-play-state: paused; }
@keyframes ab-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(calc(var(--ab-marquee-shift, 50%) * -1)); }
}
@media (prefers-reduced-motion: reduce) {
	.ab-marquee,
	.ab-marquee.is-loop,
	.ab-marquee.is-loop .ab-marquee__track {
		animation: none;
		width: 100%;
	}
	.ab-marquee { flex-wrap: wrap; justify-content: center; }
	.ab-marquee.is-loop { display: block; overflow: visible; }
	.ab-marquee.is-loop .ab-marquee__track { display: flex; flex-wrap: wrap; justify-content: center; }
	.ab-marquee [hidden], .ab-marquee [aria-hidden="true"] { display: none; }
}

/* Homepage medical ID card. The portrait and the lines cross-fade through
   sample children (assets/js/home-card.js). */
.idcard .photo {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxMDAgMTIwJz48cGF0aCBkPSdNNTAgNjYgQzMwIDY2IDE2IDg0IDE2IDEyMCBMODQgMTIwIEM4NCA4NCA3MCA2NiA1MCA2NiBaJyBmaWxsPScjNUM3MDgwJy8+PHJlY3QgeD0nMjcnIHk9JzIyJyB3aWR0aD0nNDYnIGhlaWdodD0nNDAnIHJ4PScyMicgZmlsbD0nIzNBMkMyNCcvPjxyZWN0IHg9JzI3JyB5PSc0OCcgd2lkdGg9JzExJyBoZWlnaHQ9JzM0JyByeD0nNScgZmlsbD0nIzNBMkMyNCcvPjxyZWN0IHg9JzYyJyB5PSc0OCcgd2lkdGg9JzExJyBoZWlnaHQ9JzM0JyByeD0nNScgZmlsbD0nIzNBMkMyNCcvPjxyZWN0IHg9JzQ0JyB5PSc2MCcgd2lkdGg9JzEyJyBoZWlnaHQ9JzEwJyBmaWxsPScjRThDMjlBJy8+PGNpcmNsZSBjeD0nNTAnIGN5PSc0Nicgcj0nMTknIGZpbGw9JyNFOEMyOUEnLz48L3N2Zz4=");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.idcard .photo-fx { position: absolute; inset: 0; background-color: var(--ab-bg-2, #EFEDE5); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.idcard .rowline:last-child { border-bottom: 0; padding-bottom: 0; }
.idcard .nm, .idcard .rowline .v, .idcard .allergens .aval { transition: opacity .32s ease, filter .32s ease, transform .32s ease; }
.idcard .ab-swap-out { opacity: 0; filter: blur(4px); transform: translateY(-5px); }
@media (prefers-reduced-motion: reduce) {
	.idcard .nm, .idcard .rowline .v, .idcard .allergens .aval { transition: none; }
}

/* GenerateBlocks page sections: the GB element wrapper is layout-transparent so the
   mockup section markup inside behaves as a top-level full-width section. */
.ab-section { display: contents; }
/* full-bleed for content pages built from the mockups (GP full-width content) */
.page-template .entry-content > .ab-section,
.ab-section > .wp-block-html { display: block; }

/* shared content helpers used by the GenerateBlocks pages */
.ab-eyebrow { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

/* Smooth in-page anchors (e.g. homepage "See how it works" → #how) — native, no JS.
   Honoured only when the visitor hasn't asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
/* Sticky header clearance so anchored sections aren't hidden under the nav. */
:target { scroll-margin-top: calc(var(--ab-bar) + var(--ab-admin) + 15px); }

