/*
 * Abufulan — base styles: tokens, type, header, menus, footer, buttons, product cards,
 * carousels and the shared WooCommerce bits. Loaded on every page.
 * Page-specific styles: home.css, shop.css, product.css, checkout.css.
 */

/* Fonts (self-hosted variable fonts, SIL Open Font License — see assets/fonts) */
@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-variable-latin.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Outfit";
	src: url("../fonts/outfit-variable-latin.woff2") format("woff2");
	font-weight: 500 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--abf-ink: #18181b;
	--abf-ink-2: #3f4652;
	--abf-muted: #5b6472;
	--abf-faint: #a0a6b0;
	--abf-line: #e4e7ec;
	--abf-line-2: #eef0f3;
	--abf-input: #dde2e8;
	--abf-bg: #f6f8fb;
	--abf-soft: #f2f4f7;
	--abf-white: #fff;
	--abf-black: #0e0e10;
	--abf-red: #c62828;
	--abf-red-dark: #a11f1f;
	--abf-red-bright: #e5484d;
	--abf-red-soft: #fbeaea;
	--abf-red-tint: #fdf1f1;
	--abf-teal-deep: #083b4e;
	--abf-teal: #126e8a;
	--abf-teal-soft: #e8f1f4;
	--abf-teal-line: #8fd3e8;
	--abf-green: #1a7f37;
	--abf-green-soft: #e8f6ec;
	--abf-wa: #1a9e4f;
	--abf-new: #2e7d32;
	--abf-amber: #b45309;
	--abf-font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--abf-display: "Outfit", "Jost", system-ui, sans-serif;
	--abf-radius: 14px;
	--abf-radius-lg: 20px;
	--abf-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	--abf-shadow-lg: 0 24px 48px rgba(16, 24, 40, 0.18);
	--abf-pad: 16px;
	--abf-gap: 12px;
	--abf-visible: 2;
	--abf-bottom-nav: 68px;
}
@media (min-width: 700px) {
	:root { --abf-pad: 24px; --abf-gap: 14px; --abf-visible: 3; --abf-bottom-nav: 0px; }
}
@media (min-width: 1024px) {
	:root { --abf-gap: 16px; --abf-visible: 5; }
}
@media (min-width: 1280px) {
	:root { --abf-pad: 40px; --abf-visible: 6; }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0;
	background: var(--abf-bg);
	color: var(--abf-ink);
	font-family: var(--abf-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.abf-locked { overflow: hidden; }
img, svg, video { max-width: 100%; }
img { height: auto; border-style: none; }
a { color: var(--abf-red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--abf-red-dark); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--abf-teal); outline-offset: 2px; }
::selection { background: #f5c9c9; }

.abf-icon { display: inline-block; flex: none; fill: none; stroke: currentColor; vertical-align: middle; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.abf-skip:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	left: 12px;
	top: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--abf-white);
	color: var(--abf-ink);
	border-radius: 10px;
	box-shadow: var(--abf-shadow-lg);
}

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

/* Layout */
.abf-container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--abf-pad); }
.abf-main { display: block; min-height: 40vh; padding-bottom: 56px; }
.abf-page { padding-top: 24px; }
.abf-page-title { font-family: var(--abf-display); font-weight: 800; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; margin: 0 0 18px; }
.abf-section { margin-top: 32px; }
@media (min-width: 1024px) { .abf-section { margin-top: 48px; } }

/* Buttons */
.abf-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--abf-ink);
	color: var(--abf-white);
	font-family: var(--abf-font);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.abf-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: #2c2c31; color: var(--abf-white); }
.abf-btn:active { transform: translateY(1px); }
.abf-btn--red,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt { background: var(--abf-red); color: var(--abf-white); }
.abf-btn--red:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover { background: var(--abf-red-dark); color: var(--abf-white); }
.abf-btn--outline { background: transparent; color: var(--abf-ink); border-color: var(--abf-ink); }
.abf-btn--outline:hover { background: var(--abf-ink); color: var(--abf-white); }
.abf-btn--outline-red { background: var(--abf-white); color: var(--abf-red); border-color: var(--abf-input); }
.abf-btn--outline-red:hover { background: var(--abf-red-tint); color: var(--abf-red-dark); border-color: var(--abf-red); }
.abf-btn--white { background: var(--abf-white); color: var(--abf-teal-deep); }
.abf-btn--white:hover { background: #eef6f8; color: var(--abf-teal-deep); }
.abf-btn--dark { background: var(--abf-ink); color: var(--abf-white); }
.abf-btn--dark:hover { background: #2c2c31; color: var(--abf-white); }
.abf-btn--dark:disabled { opacity: 0.7; cursor: progress; }
.abf-btn--ghost { background: var(--abf-white); color: var(--abf-ink); border-color: var(--abf-input); }
.abf-btn--ghost:hover { background: var(--abf-soft); color: var(--abf-ink); }
.abf-btn--ghost-white { background: transparent; color: var(--abf-white); border-color: rgba(255, 255, 255, 0.75); }
.abf-btn--ghost-white:hover { background: rgba(255, 255, 255, 0.12); color: var(--abf-white); }
.abf-btn--caps { min-height: 42px; padding: 0 20px; font-size: 14.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.abf-btn--lg { min-height: 58px; font-size: 17px; font-weight: 700; }
.abf-btn--block { display: flex; width: 100%; white-space: normal; padding-block: 8px; }
.abf-btn .abf-icon--wa { color: var(--abf-wa); }
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button.disabled { opacity: 0.55; cursor: not-allowed; }
.woocommerce a.button.loading,
.woocommerce button.button.loading { opacity: 0.7; pointer-events: none; }

.abf-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: inherit;
	text-decoration: none;
	position: relative;
}
.abf-round-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--abf-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 12px rgba(16, 24, 40, 0.14);
	color: var(--abf-ink);
}
.abf-round-btn:hover { background: var(--abf-white); color: var(--abf-red); }
.abf-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

/* Count badges (cart and wishlist) */
.abf-cart-count,
.abf-count {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid var(--abf-ink);
	border-radius: 999px;
	background: var(--abf-red);
	color: var(--abf-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

/* Header */
.abf-header { position: relative; z-index: 50; background: var(--abf-ink); color: var(--abf-white); }
.abf-header a { color: inherit; text-decoration: none; }
.abf-topbar { display: none; background: var(--abf-black); border-bottom: 1px solid #26262b; color: #d3d6dc; font-size: 13.5px; }
.abf-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.abf-topbar__list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.abf-topbar__list li, .abf-topbar__list a { display: inline-flex; align-items: center; gap: 7px; }
.abf-topbar__list a:hover { color: var(--abf-white); }
.abf-topbar__icon { color: var(--abf-teal-line); }

.abf-header__main {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "logo actions" "search search";
	align-items: center;
	gap: 10px 12px;
	padding-top: 10px;
	padding-bottom: 12px;
}
.abf-logo { grid-area: logo; min-width: 0; }
.abf-logo a { display: inline-flex; align-items: center; }
.abf-logo img { display: block; width: auto; height: 46px; max-width: 200px; object-fit: contain; }
.abf-logo__text { font-family: var(--abf-display); font-weight: 800; font-size: 24px; letter-spacing: 0.02em; }
.abf-header__actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.abf-header__account { display: none; align-items: center; gap: 10px; min-height: 48px; }
.abf-header__account-text { display: flex; flex-direction: column; line-height: 1.15; }
.abf-header__account-small { font-size: 12.5px; color: #b9bdc5; }
.abf-header__account-big { font-size: 15px; font-weight: 600; }
.abf-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
}
.abf-header__wish .abf-count,
.abf-header__cart .abf-cart-count { top: 0; right: -2px; min-width: 19px; height: 19px; line-height: 15px; font-size: 11px; padding: 0 5px; }

@media (min-width: 700px) {
	.abf-header__main { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions"; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
	.abf-logo img { height: 54px; max-width: 240px; }
	.abf-header__call { display: none; }
	.abf-header__account { display: inline-flex; }
	/* Icon only on tablets; the words stay readable to screen readers. */
	.abf-header__account-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.abf-header__cart { width: 52px; height: 52px; border: 1.5px solid #3a3a40; }
	.abf-header__cart .abf-cart-count { top: -7px; right: -7px; min-width: 22px; height: 22px; line-height: 18px; font-size: 12px; padding: 0 6px; }
	.abf-header__actions { gap: 14px; }
}
@media (min-width: 1024px) {
	.abf-topbar { display: block; }
	.abf-header__main { gap: 40px; padding-top: 14px; padding-bottom: 14px; }
	.abf-logo img { height: 68px; }
	.abf-header__account-text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
}

/* Search */
.abf-search {
	grid-area: search;
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 700px;
	height: 48px;
	margin: 0 auto;
	padding: 0 5px 0 16px;
	border-radius: 999px;
	background: var(--abf-white);
	box-shadow: 0 0 0 2px var(--abf-white), inset 0 0 0 1.5px var(--abf-ink);
	color: var(--abf-ink);
}
.abf-search__icon { color: var(--abf-ink); }
.abf-search .abf-search__input {
	flex: 1;
	padding: 0;
	border-radius: 0;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 16px;
	color: var(--abf-ink);
	-webkit-appearance: none;
	appearance: none;
}
.abf-search .abf-search__input:focus { border: 0; box-shadow: none; }
.abf-search__input::placeholder { color: #6b7380; }
.abf-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.abf-search:focus-within { box-shadow: 0 0 0 2px var(--abf-white), inset 0 0 0 2px var(--abf-teal); }
.abf-search__submit {
	display: none;
	flex: none;
	height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--abf-red);
	color: var(--abf-white);
	font-size: 15px;
	font-weight: 600;
}
.abf-search__submit:hover { background: var(--abf-red-dark); }
@media (min-width: 700px) {
	.abf-search { height: 52px; padding-left: 20px; gap: 12px; }
	.abf-search__submit { display: inline-flex; align-items: center; }
}
.abf-main .abf-search { margin: 0 0 20px; box-shadow: inset 0 0 0 1.5px var(--abf-input); }

/* Live suggestions */
.abf-suggest {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 80;
	max-height: min(70vh, 560px);
	overflow-y: auto;
	border-radius: 18px;
	background: var(--abf-white);
	box-shadow: var(--abf-shadow-lg);
	color: var(--abf-ink);
	text-align: left;
}
.abf-suggest__group { padding: 14px 16px 8px; }
.abf-suggest__group + .abf-suggest__group { border-top: 1px solid var(--abf-line-2); }
.abf-suggest__label { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--abf-muted); }
.abf-suggest__product { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 10px; color: var(--abf-ink); text-decoration: none; }
.abf-suggest__product img, .abf-suggest__ph { flex: none; width: 52px; height: 52px; border-radius: 10px; background: #f0f0f0; object-fit: contain; }
.abf-suggest__name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.abf-suggest__title { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abf-suggest__stock { font-size: 13px; color: var(--abf-green); }
.abf-suggest__price { font-size: 15px; font-weight: 700; color: var(--abf-red); white-space: nowrap; }
.abf-suggest__cats { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.abf-suggest__cat { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--abf-teal-soft); color: var(--abf-teal-deep); font-size: 14px; font-weight: 500; text-decoration: none; }
.abf-suggest__all { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-top: 1px solid var(--abf-line-2); background: var(--abf-bg); color: var(--abf-red); font-weight: 600; text-decoration: none; }
.abf-suggest__empty { margin: 0; padding: 16px; color: var(--abf-ink-2); font-size: 15px; }
.abf-suggest__fixed { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--abf-line-2); color: var(--abf-ink-2); font-size: 14.5px; }
.abf-suggest__fixed strong { color: var(--abf-ink); }
.abf-suggest .abf-suggest__wa { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-top: 1px solid var(--abf-line-2); color: var(--abf-wa); font-weight: 600; text-decoration: none; }
.abf-suggest [aria-selected="true"], .abf-suggest a:hover { background: var(--abf-soft); }
.abf-suggest .abf-suggest__cat[aria-selected="true"], .abf-suggest .abf-suggest__cat:hover { background: #d7e8ee; }

/* Category bar and mega menu (desktop), chips (phones), drawer (phones) */
.abf-nav { border-top: 1px solid #2c2c31; }
.abf-nav__head { display: none; }
.abf-nav__inner { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.abf-nav__inner::-webkit-scrollbar { display: none; }
.abf-nav__menu { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.abf-nav__item { display: flex; align-items: center; }
.abf-nav__icon, .abf-nav__toggle { display: none; }
.abf-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	color: var(--abf-white);
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}
.abf-nav__link[aria-current="page"], .abf-nav__item.current-menu-ancestor > .abf-nav__link { box-shadow: inset 0 -3px 0 var(--abf-red); }
.abf-nav__deals {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 7px;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--abf-red);
	color: var(--abf-white) !important;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
.abf-nav__deals:hover { background: var(--abf-red-dark); }
.abf-nav__deals--event { max-width: 240px; }
.abf-nav__deals--event[aria-current="page"] { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); }
.abf-mega { display: none; }

/* Phones: chips row under the search box on the homepage and listings */
@media (max-width: 699px) {
	.abf-nav { border-top: 0; display: none; }
	.abf-show-chips .abf-nav { display: block; }
	.abf-show-chips .abf-nav:not(.is-open) .abf-nav__inner { padding-bottom: 12px; margin-top: -2px; }
	.abf-nav:not(.is-open) .abf-nav__deals { order: -1; }
	.abf-nav:not(.is-open) .abf-nav__link {
		min-height: 34px;
		padding: 0 14px;
		border: 1px solid #3f3f46;
		border-radius: 999px;
		font-size: 14px;
	}
	.abf-nav:not(.is-open) .abf-nav__deals { font-size: 14px; }
}

/* Phones: categories drawer (opened from the bottom bar) */
@media (max-width: 699px) {
	.abf-nav.is-open {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0 0 var(--abf-bottom-nav) 0;
		z-index: 90;
		background: var(--abf-white);
		color: var(--abf-ink);
	}
	.abf-nav.is-open .abf-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: none;
		padding: 8px 8px 8px 16px;
		background: var(--abf-ink);
		color: var(--abf-white);
	}
	.abf-nav__title { font-family: var(--abf-display); font-weight: 800; font-size: 21px; }
	.abf-nav.is-open .abf-nav__inner {
		position: relative;
		flex: 1;
		min-height: 0;
		display: block;
		padding: 0;
		overflow: hidden;
	}
	.abf-nav.is-open .abf-nav__menu {
		display: block;
		width: 112px;
		height: 100%;
		overflow-y: auto;
		background: var(--abf-soft);
	}
	.abf-nav.is-open .abf-nav__item { display: block; }
	.abf-nav.is-open .abf-nav__link,
	.abf-nav.is-open .abf-nav__toggle {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		width: 100%;
		min-height: 74px;
		padding: 8px 6px;
		border: 0;
		background: transparent;
		color: var(--abf-ink-2);
		font-size: 12.5px;
		font-weight: 500;
		line-height: 1.2;
		text-align: center;
		white-space: normal;
		box-shadow: none;
	}
	.abf-nav.is-open .abf-nav__item.menu-item-has-children > .abf-nav__link { display: none; }
	.abf-nav.is-open .abf-nav__icon { display: block; line-height: 0; }
	.abf-nav__chev { display: none; }
	.abf-nav.is-open .abf-nav__toggle[aria-expanded="true"] { background: var(--abf-white); color: var(--abf-red); font-weight: 600; }
	.abf-nav.is-open .abf-nav__toggle[aria-expanded="true"]::before {
		content: "";
		position: absolute;
		left: 0;
		top: 14px;
		bottom: 14px;
		width: 3px;
		border-radius: 0 3px 3px 0;
		background: var(--abf-red);
	}
	.abf-nav.is-open .abf-nav__item.is-open > .abf-mega {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 112px;
		overflow-y: auto;
		padding: 16px 14px 24px;
		background: var(--abf-white);
	}
	.abf-mega__inner { display: flex; flex-direction: column; gap: 16px; }
	.abf-mega__all { order: -2; display: flex; align-items: center; justify-content: space-between; font-family: var(--abf-display); font-weight: 800; font-size: 19px; color: var(--abf-ink) !important; }
	.abf-mega__all .abf-icon { color: var(--abf-red); }
	.abf-mega__promo { order: -1; display: block; border-radius: 14px; overflow: hidden; }
	.abf-mega__promo-img { display: block; width: 100%; height: auto; }
	.abf-mega__cols { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
	.abf-mega__heading { display: flex; align-items: center; min-height: 36px; font-size: 15px; font-weight: 600; color: var(--abf-teal-deep) !important; }
	.abf-mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
	.abf-mega__list--d1 .abf-mega__list { display: none; }
	.abf-mega__link {
		display: flex;
		align-items: center;
		min-height: 46px;
		padding: 6px 10px;
		border: 1px solid #e9edf2;
		border-radius: 12px;
		background: var(--abf-bg);
		color: var(--abf-ink) !important;
		font-size: 13.5px;
		font-weight: 500;
		line-height: 1.2;
	}
	.abf-nav.is-open .abf-nav__deals { position: absolute; left: 12px; bottom: 12px; }
}

/* Tablet and desktop: category bar */
@media (min-width: 700px) {
	.abf-nav__menu { gap: 28px; }
	.abf-nav__deals { margin-left: 22px; }
}
@media (min-width: 1024px) {
	.abf-nav { position: relative; }
	/* Centred when everything fits; scrolls sideways instead of cutting items off when it does not.
	   The mega menus are positioned on .abf-nav, so this scroll box never clips them. */
	.abf-nav__inner { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; }
	@supports (justify-content: safe center) {
		.abf-nav__inner { justify-content: safe center; }
	}
	.abf-nav__menu { gap: 16px; }
	.abf-nav__link { font-size: 14px; }
	.abf-nav__deals { margin-left: 12px; padding: 0 12px; font-size: 14px; }
	.abf-nav__item.menu-item-has-children > .abf-nav__link { padding-right: 2px; }
	.abf-nav__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: relative;
		width: 18px;
		height: 32px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--abf-white);
	}
	.abf-nav__toggle-label, .abf-nav__toggle .abf-nav__icon { display: none; }
	.abf-nav__toggle[aria-expanded="true"] .abf-nav__chev { transform: rotate(180deg); }
	.abf-nav__chev { transition: transform 0.15s ease; }

	.abf-mega {
		position: absolute;
		top: 100%;
		left: max(var(--abf-pad), calc((100% - 1440px) / 2 + var(--abf-pad)));
		right: max(var(--abf-pad), calc((100% - 1440px) / 2 + var(--abf-pad)));
		z-index: 60;
		padding: 28px 32px 24px;
		border-radius: 0 0 20px 20px;
		background: var(--abf-white);
		box-shadow: var(--abf-shadow-lg);
		color: var(--abf-ink);
	}
	.abf-nav__item.is-open > .abf-mega { display: block; }
	@media (hover: hover) and (pointer: fine) {
		.abf-nav__item:hover > .abf-mega { display: block; animation: abf-fade 0.12s ease 0.08s both; }
	}
	.abf-mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); grid-template-areas: "all promo" "cols promo"; gap: 14px 32px; align-items: start; }
	.abf-mega__inner:not(:has(.abf-mega__promo)) { grid-template-columns: 1fr; grid-template-areas: "all" "cols"; }
	.abf-mega__all { grid-area: all; display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 14.5px; font-weight: 600; color: var(--abf-red) !important; }
	.abf-mega__cols { grid-area: cols; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin: 0; padding: 0; list-style: none; }
	.abf-mega__heading { display: block; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--abf-red); font-family: var(--abf-display); font-weight: 700; font-size: 18px; color: var(--abf-teal-deep) !important; }
	.abf-mega__heading:hover { color: var(--abf-red) !important; }
	.abf-mega__list { margin: 0; padding: 0; list-style: none; }
	.abf-mega__list .abf-mega__list { padding-left: 12px; }
	.abf-mega__link { display: flex; align-items: center; min-height: 36px; font-size: 15.5px; color: var(--abf-ink) !important; }
	.abf-mega__link:hover { color: var(--abf-red) !important; }
	.abf-mega__promo { grid-area: promo; display: block; border-radius: 16px; overflow: hidden; }
	.abf-mega__promo-img { display: block; width: 100%; height: auto; }
}
@keyframes abf-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Headings: one colour, with an optional "View all" link on the right of the heading */
.abf-heading { margin: 0 0 16px; color: var(--abf-ink); font-family: var(--abf-display); font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.abf-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; margin-bottom: 12px; }
/* The heading and the link share the first row; the intro line runs underneath. */
.abf-head__titles { display: contents; }
.abf-head .abf-heading { grid-column: 1; grid-row: 1; margin: 0; }
.abf-head__sub { grid-column: 1 / -1; grid-row: 2; margin: 2px 0 0; color: var(--abf-ink-2); font-size: 15px; line-height: 1.4; }
.abf-head__all {
	position: relative;
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 44px;
	color: var(--abf-teal-deep);
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-decoration-color: rgba(8, 59, 78, 0.35);
	text-underline-offset: 5px;
	white-space: nowrap;
}
.abf-head__all:hover { color: var(--abf-ink); text-decoration-color: currentColor; }
@media (min-width: 700px) {
	.abf-heading { font-size: 26px; }
	.abf-head { margin-bottom: 14px; }
}
@media (min-width: 1024px) {
	.abf-heading { font-size: 30px; }
	.abf-head { margin-bottom: 18px; }
	.abf-head__sub { font-size: 16px; }
	.abf-head__all { font-size: 16px; }
}

/* Tabs */
.abf-tabs {
	display: flex;
	gap: 8px;
	margin: 14px calc(var(--abf-pad) * -1) 14px;
	padding: 0 var(--abf-pad);
	overflow-x: auto;
	scrollbar-width: none;
}
.abf-tabs::-webkit-scrollbar { display: none; }
.abf-tab {
	flex: none;
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: #e9ebef;
	color: var(--abf-ink);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
.abf-tab:hover { background: #dfe2e7; }
.abf-tab[aria-selected="true"] { background: var(--abf-ink); color: var(--abf-white); }
.abf-head + .abf-tabs { margin-top: 2px; }
@media (min-width: 1024px) {
	.abf-tabs { gap: 10px; margin: 18px 0; padding: 0; }
	.abf-tab { padding: 0 20px; font-size: 15.5px; }
}
.abf-tabpanel { min-height: 200px; }
.abf-tabpanel.is-loading { display: grid; place-items: center; color: var(--abf-muted); }

/* Carousel */
.abf-rail { position: relative; }
.abf-rail__track {
	display: flex;
	align-items: stretch;
	gap: var(--abf-gap);
	margin: 0;
	padding: 2px 0 4px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.abf-rail__track::-webkit-scrollbar { display: none; }
.abf-rail__item {
	display: flex;
	flex: 0 0 calc((100% - (var(--abf-visible) - 1) * var(--abf-gap)) / var(--abf-visible));
	min-width: 0;
	scroll-snap-align: start;
}
.abf-rail__arrow {
	position: absolute;
	top: calc(50% - 60px);
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--abf-line);
	border-radius: 50%;
	background: var(--abf-white);
	box-shadow: 0 4px 12px rgba(16, 24, 40, 0.14);
	color: var(--abf-ink);
}
.abf-rail__arrow:hover { color: var(--abf-red); }
.abf-rail__arrow--prev { left: 8px; }
.abf-rail__arrow--next { right: 8px; }
@media (min-width: 1024px) and (hover: hover) {
	.abf-rail__arrow:not([hidden]) { display: inline-flex; }
}
.abf-dots { display: flex; justify-content: center; gap: 6px; min-height: 6px; margin-top: 14px; }
.abf-dots:empty { display: none; }
.abf-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: #c3c8d0; transition: width 0.3s ease, background-color 0.3s ease; }
.abf-dot.is-active { width: 22px; background: var(--abf-red); }

/* Product card */
.abf-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--abf-line);
	border-radius: var(--abf-radius);
	background: var(--abf-white);
	box-shadow: var(--abf-shadow);
	color: var(--abf-ink);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.abf-card:hover { border-color: #d5dae1; box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08); }
.abf-card__media { position: relative; aspect-ratio: 1 / 1; background: #f0f0f0; }
.abf-card__img-link { position: absolute; inset: 0; display: block; }
.abf-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.abf-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.abf-badge, .woocommerce span.onsale {
	display: inline-block;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--abf-red);
	color: var(--abf-white);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
}
.abf-badge--new { background: var(--abf-new); }
.abf-badge--sale { background: var(--abf-ink); }
.abf-card__fav,
.abf-card__add {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--abf-ink);
}
.abf-card__fav { top: 4px; right: 4px; width: 44px; height: 44px; display: none; }
.abf-has-wishlist .abf-card__fav { display: flex; }
.abf-card__fav::before,
.abf-card__add::before { content: ""; position: absolute; z-index: 0; background: var(--abf-white); }
.abf-card__fav::before { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 1px 3px rgba(16, 24, 40, 0.14); }
.abf-card__fav .abf-icon, .abf-card__add .abf-icon { position: relative; z-index: 1; }
.abf-card__fav[aria-pressed="true"] { color: var(--abf-red); }
.abf-card__fav[aria-pressed="true"] .abf-icon { fill: currentColor; }
.abf-card__fav:hover { color: var(--abf-red); }
.abf-card__add { right: 4px; bottom: 4px; width: 46px; height: 46px; }
.abf-card__add::before { width: 38px; height: 38px; border: 1px solid var(--abf-input); border-radius: 10px; box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1); }
.abf-card__add:hover { color: var(--abf-white); }
.abf-card__add:hover::before { background: var(--abf-red); border-color: var(--abf-red); }
.abf-card__add.loading { pointer-events: none; }
.abf-card__add.loading .abf-icon { animation: abf-spin 0.8s linear infinite; }
.abf-card__add.added::before { background: var(--abf-green); border-color: var(--abf-green); }
.abf-card__add.added { color: var(--abf-white); }
.abf-card .added_to_cart { display: none; }
@keyframes abf-spin { to { transform: rotate(360deg); } }

.abf-card__body { flex: 1; display: flex; flex-direction: column; padding: 10px 10px 10px; }
/* Two lines are kept for the name so every card in a row is the same height; a one-line name sits
   on the lower line, so name, price and the delivery line always stay together. */
.abf-card__title { display: flex; align-items: flex-end; height: 2.5em; margin: 0; font-family: var(--abf-font); font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.abf-card__title a { display: -webkit-box; min-width: 0; max-width: 100%; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--abf-ink); text-decoration: none; }
.abf-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.abf-card__title a:hover { color: var(--abf-red); }
.abf-card__fav, .abf-card__add, .abf-card__foot { z-index: 2; }
.abf-card__price { display: flex; align-items: baseline; gap: 5px; height: 22px; margin: 3px 0 0; overflow: hidden; white-space: nowrap; line-height: 22px; }
.abf-card__from { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.abf-card__amount { font-size: 15px; font-weight: 700; color: var(--abf-red); }
.abf-card__amount--ask { font-size: 14px; color: var(--abf-ink-2); }
.abf-card__was { display: flex; align-items: baseline; gap: 6px; height: 17px; margin: 0; overflow: hidden; white-space: nowrap; font-size: 12.5px; line-height: 17px; }
.abf-card__was del { color: var(--abf-muted); }
.abf-card__off { font-weight: 700; color: var(--abf-green); }
/* The "was" row only takes space in a carousel, grid or Smartphones row that has a discounted
   product in it, so cards side by side keep one height. */
@supports selector(:has(*)) {
	.abf-card__was { display: none; }
	:is(.abf-rail__track, .abf-grid, ul.products):has(.abf-card__was--on) .abf-card__was { display: flex; }
	@media (min-width: 1280px) {
		.abf-twin__row:has(.abf-card__was--on) .abf-card__was { display: flex; }
	}
}
.abf-card__meta { position: relative; height: 18px; margin: 7px 0 0; overflow: hidden; color: var(--abf-ink-2); font-size: 12.5px; line-height: 18px; white-space: nowrap; }
.abf-card__msg { display: flex; align-items: center; gap: 6px; height: 18px; }
.abf-card__msg > span { overflow: hidden; text-overflow: ellipsis; }
.abf-card__msg--genuine .abf-icon { color: var(--abf-green); }
/* Two messages take turns, rolling upwards (site.js switches the state on <html> every few seconds). */
.abf-flip .abf-card__msg { position: absolute; inset: 0; }
.abf-flip .abf-card__msg + .abf-card__msg { transform: translateY(100%); }
.abf-flip-2 .abf-flip .abf-card__msg:first-child,
.abf-flip-1 .abf-flip .abf-card__msg + .abf-card__msg { animation: abf-roll-out 0.5s ease both; }
.abf-flip-2 .abf-flip .abf-card__msg + .abf-card__msg,
.abf-flip-1 .abf-flip .abf-card__msg:first-child { animation: abf-roll-in 0.5s ease both; }
@keyframes abf-roll-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes abf-roll-out { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.abf-flip .abf-card__msg { animation: none !important; }
}
.abf-card__body .abf-stock { align-self: flex-start; margin-top: 7px; }
.abf-card__foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--abf-line-2); }
.abf-btn--order {
	flex: 1;
	max-width: 132px;
	min-height: 44px;
	padding: 0 10px;
	gap: 7px;
	background: var(--abf-red);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.abf-btn--order:hover { background: var(--abf-red-dark); }
.abf-btn--enquire { background: var(--abf-white); color: var(--abf-ink); border-color: var(--abf-ink); font-size: 13.5px; letter-spacing: 0.03em; }
.abf-btn--enquire:hover { background: var(--abf-ink); color: var(--abf-white); }
.abf-card__call {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--abf-line);
	border-radius: 10px;
	background: var(--abf-white);
	color: var(--abf-red);
}
.abf-card__call:hover { border-color: var(--abf-red); background: var(--abf-red-tint); color: var(--abf-red-dark); }
.abf-card.is-unavailable .abf-card__media img { opacity: 0.7; }
@media (min-width: 700px) {
	.abf-card__body { padding: 12px 12px 10px; }
	.abf-card__title { font-size: 14.5px; }
	.abf-card__amount { font-size: 16px; }
	.abf-card__foot { padding: 10px 12px; }
	.abf-btn--order { min-height: 40px; }
	.abf-card__call { width: 42px; height: 40px; }
}

/* Stock pill */
.abf-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 3px 10px;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: var(--abf-green);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
}
.abf-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.abf-stock--low { color: var(--abf-amber); }
.abf-stock--out { color: var(--abf-muted); }
.abf-stock--backorder { color: var(--abf-teal); }

/* Product grids (listings and wishlist) */
.abf-grid,
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--abf-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.abf-grid > li,
.woocommerce ul.products li.product { display: flex; min-width: 0; margin: 0; padding: 0; width: auto; float: none; }
@media (min-width: 700px) {
	.abf-grid, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.abf-grid, .woocommerce ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
	.abf-grid, .woocommerce ul.products { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Chips */
.abf-chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--abf-input);
	border-radius: 999px;
	background: var(--abf-white);
	color: var(--abf-ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.abf-chip:hover { border-color: var(--abf-ink); color: var(--abf-ink); }
.abf-chip.is-current { border-color: var(--abf-red); background: var(--abf-red-tint); color: var(--abf-red-dark); }
.abf-chip--soft { min-height: 38px; border-color: transparent; background: var(--abf-soft); }
.abf-chip--soft:hover { border-color: var(--abf-input); background: var(--abf-white); }

/* Breadcrumb */
.abf-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 14px; color: var(--abf-muted); font-size: 14.5px; }
.abf-breadcrumb a { color: var(--abf-muted); text-decoration: none; }
.abf-breadcrumb a:hover { color: var(--abf-red); }
.abf-breadcrumb__sep { display: inline-flex; color: var(--abf-faint); }
.abf-breadcrumb > :last-child:not(a) { color: var(--abf-ink); font-weight: 500; }
@media (max-width: 699px) {
	.abf-breadcrumb { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; font-size: 13.5px; scrollbar-width: none; }
}

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 18px;
	padding: 14px 18px;
	border: 1px solid var(--abf-line);
	border-left: 0;
	border-radius: 14px;
	background: var(--abf-white);
	color: var(--abf-ink);
	font-size: 15px;
	list-style: none;
}
.woocommerce-message { background: var(--abf-green-soft); border-color: #b9e2c6; }
.woocommerce-info { background: var(--abf-teal-soft); border-color: #c4dde6; color: var(--abf-teal-deep); }
.woocommerce-error { background: var(--abf-red-tint); border-color: #f2c4c4; color: #7a1717; flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 14.5px; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], input[type="date"], select, textarea {
	max-width: 100%;
	border: 1px solid var(--abf-input);
	border-radius: 12px;
	background: var(--abf-white);
	color: var(--abf-ink);
	font-size: 16px;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], input[type="date"], select { min-height: 48px; padding: 0 14px; }
textarea { padding: 12px 14px; resize: vertical; }
select { padding-right: 36px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--abf-teal); box-shadow: 0 0 0 3px rgba(18, 110, 138, 0.18); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--abf-red); }
label { font-size: 14.5px; font-weight: 500; }

/* Quantity stepper (product page and cart) */
.quantity { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--abf-input); border-radius: 12px; background: var(--abf-white); }
.quantity .qty { width: 44px; min-height: 0; height: 46px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font-size: 17px; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.quantity .qty:focus { box-shadow: none; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.abf-qty-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 46px; padding: 0; border: 0; background: transparent; color: var(--abf-ink); }
.abf-qty-btn:hover { color: var(--abf-red); }
.quantity:has(input[type="hidden"]) { display: none; }

/* Prices */
.price del, .amount del { color: var(--abf-muted); font-weight: 400; }
.price ins { text-decoration: none; }

/* Pagination */
.woocommerce-pagination ul.page-numbers,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--abf-input); border-radius: 12px; background: var(--abf-white); color: var(--abf-ink); font-weight: 500; text-decoration: none; }
.page-numbers:hover { border-color: var(--abf-ink); color: var(--abf-ink); }
.page-numbers.current { border-color: var(--abf-red); background: var(--abf-red); color: var(--abf-white); font-weight: 600; }
.page-numbers.dots { border: 0; background: transparent; }

/* Content */
.abf-prose { max-width: 860px; color: var(--abf-ink-2); font-size: 16px; line-height: 1.7; }
.abf-prose h2, .abf-prose h3 { color: var(--abf-ink); margin-top: 1.4em; }
.abf-prose img { border-radius: 14px; }
.abf-prose table { width: 100%; border-collapse: collapse; }
.abf-prose th, .abf-prose td { padding: 10px; border-bottom: 1px solid var(--abf-line-2); text-align: left; }
.abf-entry__meta { color: var(--abf-muted); font-size: 14px; margin-top: -8px; }
/* Policy pages (template "Policy page"): date, "On this page", the text, and a help box */
.abf-policy__head { margin-bottom: 20px; }
.abf-policy__head .abf-page-title { margin: 0; }
.abf-policy__updated { margin: 6px 0 0; color: var(--abf-muted); font-size: 14.5px; }
.abf-policy__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.abf-policy__toc { align-self: start; border: 1px solid var(--abf-line); border-radius: 16px; background: var(--abf-white); }
.abf-policy__toc-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; font-weight: 600; list-style: none; cursor: pointer; }
.abf-policy__toc-title::-webkit-details-marker { display: none; }
.abf-policy__toc-chev { flex: none; transition: transform 0.15s ease; }
.abf-policy__toc[open] .abf-policy__toc-chev { transform: rotate(180deg); }
.abf-policy__toc-list { margin: 0; padding: 0 16px 12px 38px; color: var(--abf-muted); font-size: 15px; }
.abf-policy__toc-list a { display: block; padding: 7px 0; color: var(--abf-ink-2); line-height: 1.35; text-decoration: none; }
.abf-policy__toc-list a:hover { color: var(--abf-ink); text-decoration: underline; text-underline-offset: 3px; }
.abf-policy__body { max-width: 760px; }
.abf-policy__body > :first-child { margin-top: 0; }
.abf-policy__body h2 { margin: 1.9em 0 0.5em; font-family: var(--abf-display); font-weight: 700; font-size: 22px; line-height: 1.25; scroll-margin-top: 20px; }
.abf-policy__body ul, .abf-policy__body ol { padding-left: 1.3em; }
.abf-policy__body li + li { margin-top: 6px; }
.abf-policy__body a { color: var(--abf-teal-deep); text-underline-offset: 3px; }
.abf-policy__body strong { color: var(--abf-ink); }
.abf-prose .abf-policy-lead { color: var(--abf-ink); font-size: 18px; line-height: 1.6; }
.abf-prose .abf-policy-points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 20px 0 8px; padding: 0; list-style: none; }
.abf-prose .abf-policy-points li { margin: 0; padding: 16px 18px; border: 1px solid var(--abf-line); border-radius: 16px; background: var(--abf-white); font-size: 15px; line-height: 1.5; }
.abf-prose .abf-policy-points strong { display: block; margin-bottom: 2px; font-family: var(--abf-display); font-weight: 700; font-size: 17px; }
.abf-prose .abf-policy-table { margin: 16px 0; overflow-x: auto; border: 1px solid var(--abf-line); border-radius: 16px; background: var(--abf-white); }
.abf-prose .abf-policy-table table { min-width: 600px; font-size: 14.5px; line-height: 1.45; }
.abf-prose .abf-policy-table th { background: var(--abf-soft); color: var(--abf-ink); font-weight: 600; }
.abf-prose .abf-policy-table th, .abf-prose .abf-policy-table td { padding: 12px 14px; vertical-align: top; }
.abf-prose .abf-policy-table th, .abf-prose .abf-policy-table td { border: 0; border-bottom: 1px solid var(--abf-line-2); }
.abf-prose .abf-policy-table thead { border-bottom: 0; }
.abf-prose .abf-policy-table th { border-bottom-color: var(--abf-line); }
.abf-prose .abf-policy-table td:first-child { color: var(--abf-ink); font-weight: 600; }
/* Phones: the table scrolls sideways; the reason column stays in view. */
.abf-prose .abf-policy-table th:first-child, .abf-prose .abf-policy-table td:first-child { position: sticky; left: 0; z-index: 1; width: 130px; background: var(--abf-white); box-shadow: inset -1px 0 0 var(--abf-line-2); }
.abf-prose .abf-policy-table th:first-child { background: var(--abf-soft); }
.abf-prose .abf-policy-table tr:last-child td { border-bottom: 0; }
.abf-prose .abf-policy-note { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--abf-line); color: var(--abf-muted); font-size: 14.5px; }
.abf-policy__help { align-self: start; padding: 22px; border-radius: 20px; background: var(--abf-teal-soft); color: var(--abf-ink-2); }
.abf-policy__help-title { margin: 0; color: var(--abf-ink); font-family: var(--abf-display); font-weight: 700; font-size: 19px; line-height: 1.25; }
.abf-policy__help-text { margin: 6px 0 16px; font-size: 15px; line-height: 1.5; }
.abf-policy__help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 700px) {
	.abf-prose .abf-policy-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.abf-policy__head { margin-bottom: 28px; }
	.abf-policy__layout { grid-template-columns: 260px minmax(0, 760px); grid-template-areas: "toc body" "toc help"; column-gap: 56px; row-gap: 40px; }
	.abf-policy__toc { grid-area: toc; position: sticky; top: 24px; }
	.abf-policy__body { grid-area: body; }
	.abf-policy__help { grid-area: help; max-width: 760px; }
	.abf-policy__body h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.abf-policy__toc-chev { transition: none; }
}

.abf-entry__image img { border-radius: 20px; margin-bottom: 20px; }
.abf-post-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.abf-post-card { overflow: hidden; border: 1px solid var(--abf-line); border-radius: 18px; background: var(--abf-white); }
.abf-post-card__image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.abf-post-card__body { padding: 16px 18px; }
.abf-post-card__title { font-size: 19px; }
.abf-post-card__title a { color: var(--abf-ink); text-decoration: none; }
.abf-post-card__excerpt { color: var(--abf-ink-2); font-size: 15px; }
.abf-404 { text-align: center; max-width: 640px; }
.abf-404__code { margin: 0; font-family: var(--abf-display); font-weight: 900; font-size: 96px; line-height: 1; color: var(--abf-red); }
.abf-404 .abf-search { margin: 20px auto; }
.abf-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.abf-wishlist__status { color: var(--abf-ink-2); }
.abf-wishlist__more { margin-top: 24px; }

/* Category bar spacing grows with the screen. */
@media (min-width: 1280px) {
	.abf-nav__menu { gap: 22px; }
	.abf-nav__link { font-size: 15px; }
	.abf-nav__toggle { width: 20px; }
	.abf-nav__deals { margin-left: 16px; padding: 0 14px; font-size: 15px; }
}
@media (min-width: 1440px) {
	.abf-nav__menu { gap: 32px; }
	.abf-nav__link { font-size: 15.5px; }
	.abf-nav__toggle { width: 24px; }
	.abf-nav__deals { margin-left: 22px; }
}

/* Footer */
.abf-footer { background: var(--abf-ink); color: #d3d6dc; }
.abf-footer a { color: var(--abf-white); text-decoration: none; }
.abf-footer a:hover { color: var(--abf-white); text-decoration: underline; text-underline-offset: 4px; }
.abf-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 40px; padding-bottom: 32px; }
.abf-footer__brand, .abf-footer__visit { grid-column: 1 / -1; }
.abf-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.abf-footer__logo img { height: 72px; max-width: 220px; }
.abf-footer__lead { margin: 4px 0 0; max-width: 32ch; color: var(--abf-white); font-family: var(--abf-display); font-weight: 700; font-size: 20px; line-height: 1.3; }
.abf-footer__about { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.6; }
.abf-footer__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.abf-footer__actions .abf-btn--white, .abf-footer__actions .abf-btn--white:hover { color: var(--abf-teal-deep); text-decoration: none; }
.abf-footer__actions .abf-btn--ghost-white:hover { text-decoration: none; }
.abf-footer__heading { margin: 0 0 10px; color: var(--abf-white); font-family: var(--abf-font); font-size: 16px; font-weight: 600; }
.abf-footer__list { margin: 0; padding: 0; list-style: none; }
.abf-footer__list a { display: inline-flex; align-items: center; min-height: 36px; color: #d3d6dc; font-size: 15.5px; line-height: 1.3; }
.abf-footer__list a:hover { color: var(--abf-white); }
.abf-footer__info { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15.5px; line-height: 1.45; }
.abf-footer__info li { display: flex; align-items: flex-start; gap: 10px; }
.abf-footer__info .abf-icon { flex: none; margin-top: 2px; color: var(--abf-teal-line); }
.abf-footer__info a { display: inline-block; padding: 2px 0; }
.abf-footer__bar { border-top: 1px solid #2c2c31; color: #b9bdc5; font-size: 14px; }
.abf-footer__bar-inner { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: calc(16px + var(--abf-bottom-nav) + 12px); }
.abf-footer__bar p { margin: 0; }
@media (min-width: 700px) {
	.abf-footer__grid { gap: 36px; padding-top: 48px; padding-bottom: 40px; }
	.abf-footer__visit { grid-column: auto; }
	.abf-footer__bar-inner { padding-bottom: 16px; }
}
@media (min-width: 1024px) {
	.abf-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 48px; padding-top: 64px; padding-bottom: 48px; }
	.abf-footer__brand { grid-column: auto; }
	.abf-footer__logo img { height: 88px; }
	.abf-footer__bar-inner { flex-direction: row; padding-top: 18px; padding-bottom: 18px; }
}

/* Floating buttons */
.abf-float-wa {
	position: fixed;
	right: 16px;
	bottom: calc(var(--abf-bottom-nav) + 16px);
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--abf-wa);
	color: var(--abf-white);
	box-shadow: 0 6px 18px rgba(26, 158, 79, 0.35);
}
.abf-float-wa:hover { color: var(--abf-white); background: #168a44; }
.abf-to-top {
	position: fixed;
	right: 22px;
	bottom: calc(var(--abf-bottom-nav) + 84px);
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--abf-red);
	color: var(--abf-white);
}
.abf-to-top:hover { color: var(--abf-white); background: var(--abf-red-dark); }
@media (min-width: 700px) {
	.abf-float-wa { right: 28px; bottom: 92px; width: 60px; height: 60px; }
	.abf-to-top { right: 36px; bottom: 32px; }
}

/* Phone bottom bar */
.abf-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 85;
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	height: var(--abf-bottom-nav);
	padding-bottom: env(safe-area-inset-bottom);
	border-top: 1px solid var(--abf-line);
	background: var(--abf-white);
	box-shadow: 0 -4px 16px rgba(16, 24, 40, 0.06);
}
.abf-bottom-nav__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--abf-ink-2);
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
}
.abf-bottom-nav__item[aria-current="page"], .abf-bottom-nav__item[aria-expanded="true"] { color: var(--abf-red); font-weight: 600; }
.abf-bottom-nav__item[aria-current="page"]::before, .abf-bottom-nav__item[aria-expanded="true"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--abf-red); }
.abf-bottom-nav__icon { position: relative; line-height: 0; }
.abf-bottom-nav .abf-cart-count { top: -6px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-color: var(--abf-white); font-size: 11px; line-height: 14px; }
@media (min-width: 700px) {
	.abf-bottom-nav { display: none; }
}

/* Shop assistant: "Ask" buttons and the chat (a sheet on phones, a panel beside the page from tablets up) */
.abf-header__ask { display: none; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--abf-white); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.abf-header__ask-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 700px) {
	.abf-header__ask { display: inline-flex; width: 44px; }
}
@media (min-width: 1024px) {
	.abf-header__ask { width: auto; padding: 0 16px; background: var(--abf-white); color: var(--abf-ink); }
	.abf-header__ask .abf-icon { color: var(--abf-teal-deep); }
	.abf-header__ask:hover { background: #eef6f8; }
	.abf-header__ask-text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
.abf-bottom-nav__ask-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 28px; border-radius: 999px; background: var(--abf-teal-soft); color: var(--abf-teal-deep); }
.abf-bottom-nav__item--ask { color: var(--abf-teal-deep); font-weight: 600; }
.abf-bottom-nav__item--ask[aria-expanded="true"] { color: var(--abf-teal-deep); }
.abf-bottom-nav__item--ask[aria-expanded="true"]::before { background: var(--abf-teal-deep); }

.abf-suggest .abf-suggest__ask { display: flex; align-items: center; gap: 12px; margin: 10px 12px 4px; padding: 10px 12px; border-radius: 14px; background: var(--abf-teal-soft); color: var(--abf-ink); text-decoration: none; }
.abf-suggest .abf-suggest__ask[aria-selected="true"], .abf-suggest .abf-suggest__ask:hover { background: #d7e8ee; }
.abf-suggest__ask-mark { display: flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--abf-teal-deep); color: var(--abf-white); }
.abf-suggest__ask-text { display: flex; flex-direction: column; min-width: 0; }
.abf-suggest__ask-title { font-size: 15px; font-weight: 600; }
.abf-suggest__ask-q { overflow: hidden; color: var(--abf-ink-2); font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }

.abf-assist[hidden] { display: none; }
.abf-assist { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.abf-assist__backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, 0.55); opacity: 0; transition: opacity 0.18s ease; pointer-events: auto; }
.abf-assist.is-open .abf-assist__backdrop { opacity: 1; }
.abf-assist__panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: max(40px, env(safe-area-inset-top));
	display: flex;
	flex-direction: column;
	border-radius: 22px 22px 0 0;
	background: var(--abf-white);
	color: var(--abf-ink);
	box-shadow: var(--abf-shadow-lg);
	pointer-events: auto;
	transform: translateY(24px);
	opacity: 0;
	transition: transform 0.18s ease, opacity 0.18s ease;
	outline: none;
}
.abf-assist.is-open .abf-assist__panel { transform: none; opacity: 1; }
.abf-assist__grip { align-self: center; width: 40px; height: 5px; margin-top: 8px; border-radius: 3px; background: #d5dae1; }
.abf-assist__head { display: flex; align-items: center; gap: 12px; padding: 10px 8px 12px 16px; border-bottom: 1px solid var(--abf-line-2); }
.abf-assist__avatar { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--abf-teal-deep); color: var(--abf-white); font-family: var(--abf-display); font-weight: 800; font-size: 18px; }
.abf-assist__titles { flex: 1; min-width: 0; }
.abf-assist__title { margin: 0; font-family: var(--abf-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.abf-assist__sub { margin: 1px 0 0; color: var(--abf-muted); font-size: 13px; line-height: 1.3; }
.abf-assist__icon-btn { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--abf-ink); cursor: pointer; }
.abf-assist__icon-btn:hover { background: var(--abf-soft); color: var(--abf-ink); }
.abf-assist__wa, .abf-assist__wa:hover { color: var(--abf-green); }
.abf-assist__log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px; display: flex; flex-direction: column; gap: 16px; }
.abf-assist__turns { display: flex; flex-direction: column; gap: 16px; }
.abf-assist__turns:empty { display: none; }
.abf-assist__turn { display: flex; flex-direction: column; gap: 10px; }
.abf-assist__turn--you { align-items: flex-end; }
.abf-assist__turn--bot { align-items: flex-start; }
.abf-assist__msg { max-width: min(330px, 88%); margin: 0; padding: 12px 14px; font-size: 15.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.abf-assist__msg--bot { border-radius: 4px 18px 18px 18px; background: var(--abf-soft); }
.abf-assist__msg--you { border-radius: 18px 4px 18px 18px; background: var(--abf-ink); color: var(--abf-white); }
.abf-assist__msg--note { background: #fdf3e1; }
.abf-assist__try { display: flex; flex-direction: column; gap: 10px; }
.abf-assist__try[hidden] { display: none; }
.abf-assist__try-label { margin: 0; color: var(--abf-muted); font-size: 13.5px; font-weight: 600; }
.abf-assist__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.abf-assist__chip { min-height: 40px; padding: 6px 14px; border: 1px solid var(--abf-input); border-radius: 999px; background: var(--abf-white); color: var(--abf-ink); font: inherit; font-size: 14.5px; line-height: 1.3; text-align: left; cursor: pointer; }
.abf-assist__chip:hover { border-color: #c9d0d9; background: var(--abf-soft); }
.abf-assist__products { align-self: stretch; max-width: 360px; margin: 0; padding: 0; list-style: none; border: 1px solid var(--abf-line); border-radius: 16px; overflow: hidden; }
.abf-assist__product { display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 10px; }
.abf-assist__product + .abf-assist__product { border-top: 1px solid var(--abf-line-2); }
.abf-assist__thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; background: #f0f0f0; object-fit: contain; }
.abf-assist__pinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.abf-assist__pname { margin: 0; font-size: 14.5px; line-height: 1.3; }
.abf-assist__pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; font-size: 13.5px; }
.abf-assist__price { color: var(--abf-red); font-size: 14.5px; }
.abf-assist__stock { display: inline-flex; align-items: center; gap: 5px; color: var(--abf-green); }
.abf-assist__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.abf-assist__stock.is-out { color: var(--abf-muted); }
.abf-assist__view { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding: 0 10px; color: var(--abf-teal-deep); font-size: 14.5px; font-weight: 600; }
.abf-assist__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.abf-assist__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; }
.abf-assist__btn--dark { background: var(--abf-ink); color: var(--abf-white); }
.abf-assist__btn--dark:hover { background: #2c2c31; color: var(--abf-white); }
.abf-assist__btn--dark .abf-icon { color: #25d366; }
.abf-assist__btn--line { border: 1px solid var(--abf-input); color: var(--abf-ink); }
.abf-assist__btn--line:hover { background: var(--abf-soft); color: var(--abf-ink); }
.abf-assist__typing { display: flex; align-items: center; align-self: flex-start; margin: 0; padding: 14px 16px; border-radius: 4px 18px 18px 18px; background: var(--abf-soft); }
.abf-assist__dots, .abf-assist__dots::before, .abf-assist__dots::after { width: 7px; height: 7px; border-radius: 50%; background: var(--abf-muted); animation: abf-dot 1.2s infinite ease-in-out; }
.abf-assist__dots { position: relative; margin: 0 12px; animation-delay: 0.15s; }
.abf-assist__dots::before, .abf-assist__dots::after { content: ""; position: absolute; top: 0; }
.abf-assist__dots::before { left: -12px; animation-delay: 0s; }
.abf-assist__dots::after { left: 12px; animation-delay: 0.3s; }
@keyframes abf-dot { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.abf-assist__form { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--abf-line-2); }
.abf-assist__row { display: flex; align-items: flex-end; gap: 8px; }
.abf-assist__input { flex: 1; min-width: 0; min-height: 48px; max-height: 120px; box-sizing: border-box; padding: 13px 16px; border: 1px solid var(--abf-input); border-radius: 24px; background: var(--abf-white); color: var(--abf-ink); font: inherit; font-size: 16px; line-height: 1.3; resize: none; }
.abf-assist__input:focus { border-color: var(--abf-teal-deep); outline: 2px solid var(--abf-teal-line); outline-offset: 0; }
.abf-assist__input:disabled { background: var(--abf-soft); color: var(--abf-muted); }
.abf-assist__send { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--abf-ink); color: var(--abf-white); cursor: pointer; }
.abf-assist__send:hover { background: #2c2c31; }
.abf-assist__send:disabled { background: #d5dae1; color: var(--abf-muted); cursor: not-allowed; }
.abf-assist__note { margin: 0; color: var(--abf-muted); font-size: 12.5px; line-height: 1.45; }
html.abf-assist-open .abf-float-wa, html.abf-assist-open .abf-to-top { visibility: hidden; }
@media (min-width: 700px) {
	.abf-assist__backdrop { display: none; }
	.abf-assist__grip { display: none; }
	.abf-assist__panel { left: auto; top: auto; right: 24px; bottom: 24px; width: 400px; height: min(640px, calc(100vh - 48px)); height: min(640px, calc(100dvh - 48px)); border: 1px solid var(--abf-line); border-radius: 20px; box-shadow: 0 24px 48px rgba(16, 24, 40, 0.22); overflow: hidden; }
	.abf-assist__head { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.abf-assist__backdrop, .abf-assist__panel { transition: none; }
	.abf-assist__dots, .abf-assist__dots::before, .abf-assist__dots::after { animation: none; opacity: 0.7; }
}

/* Toast */
.abf-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--abf-bottom-nav) + 18px);
	z-index: 120;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: calc(100% - 32px);
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--abf-ink);
	color: var(--abf-white);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	font-size: 15px;
	transform: translateX(-50%);
	animation: abf-toast 0.2s ease;
}
.abf-toast a { color: #f2b8bf; font-weight: 600; white-space: nowrap; }
@keyframes abf-toast { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Sheets (filters on phones) */
.abf-backdrop { position: fixed; inset: 0; z-index: 88; background: rgba(24, 24, 27, 0.55); }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { color: var(--abf-muted); font-size: 14px; }

/* Recently viewed (product pages and homepage) */
.abf-recent__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.abf-recent__head .abf-heading { margin: 0; }
.abf-recent__clear { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--abf-teal); font: inherit; font-size: 14.5px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.abf-recent__clear:hover { color: var(--abf-teal-deep); }

/* Trade-in page */
.abf-tradein { max-width: 640px; padding-top: 20px; padding-bottom: 48px; }
.abf-tradein__eyebrow { margin: 0 0 6px; color: var(--abf-teal); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.abf-tradein__title { margin: 0; }
.abf-tradein__intro { margin: 8px 0 0; color: var(--abf-ink-2); font-size: 16px; line-height: 1.55; }
.abf-tradein__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.abf-tradein__steps li { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--abf-line); border-radius: 14px; background: var(--abf-white); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.abf-tradein__step-n { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--abf-teal-deep); color: var(--abf-white); font-size: 13px; }
.abf-tradein__form { display: flex; flex-direction: column; gap: 20px; margin-top: 18px; padding: 20px 16px; border: 1px solid var(--abf-line); border-radius: 20px; background: var(--abf-white); }
.abf-tradein__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.abf-tradein__field > label, .abf-tradein__field legend { padding: 0; font-size: 15px; font-weight: 700; }
.abf-tradein__field legend { margin-bottom: 10px; }
.abf-tradein__field input[type="text"], .abf-tradein__field input[type="number"], .abf-tradein__field select { width: 100%; min-height: 48px; }
.abf-tradein__inline { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.abf-tradein__inline input { max-width: 130px; }
.abf-tradein__optional, .abf-tradein__hint { color: var(--abf-muted); font-size: 13.5px; font-weight: 400; }
.abf-tradein__error { color: var(--abf-red-dark); font-size: 13.5px; font-weight: 600; }
.abf-tradein__types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.abf-tradein__conditions { display: flex; flex-direction: column; gap: 8px; }
.abf-choice { position: relative; display: block; cursor: pointer; }
.abf-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.abf-choice > span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; border: 1px solid var(--abf-input); border-radius: 12px; background: var(--abf-white); font-size: 15px; text-align: center; }
.abf-choice input:checked + span { border: 2px solid var(--abf-ink); padding: 7px 11px; font-weight: 700; }
.abf-choice input:focus-visible + span { outline: 2px solid var(--abf-teal); outline-offset: 2px; }
.abf-choice--card > span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 12px 14px; text-align: left; }
.abf-choice--card small { color: var(--abf-muted); font-size: 13.5px; font-weight: 400; line-height: 1.35; }
.abf-choice--card input:checked + span { border-color: var(--abf-red); background: var(--abf-red-tint); padding: 11px 13px; }
.abf-tradein__check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.abf-tradein__check input { width: 20px; height: 20px; margin: 0; accent-color: var(--abf-red); }
.abf-tradein__submit { gap: 10px; font-family: var(--abf-display); letter-spacing: 0.03em; text-transform: uppercase; }
.abf-tradein__note { margin: -8px 0 0; color: var(--abf-muted); font-size: 13.5px; line-height: 1.45; text-align: center; }
@media (min-width: 700px) {
	.abf-tradein { padding-top: 32px; }
	.abf-tradein__form { padding: 24px; }
	.abf-tradein__types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------------------------------------
 * Installable app: "Get the app" card and the iPhone guide (inc/app.php, assets/js/app.js).
 * ------------------------------------------------------------------------------------------ */
.abf-app-card {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(var(--abf-bottom-nav) + 12px);
	z-index: 86;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 14px;
	max-width: 480px;
	margin: 0 auto;
	padding: 16px;
	border-radius: 20px;
	background: var(--abf-white);
	box-shadow: 0 18px 40px rgba(16, 24, 40, 0.28);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.abf-app-card[hidden] { display: none; }
.abf-app-card.is-in { opacity: 1; transform: none; }
.abf-app-card__icon { width: 56px; height: 56px; border-radius: 15px; }
.abf-app-card__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.abf-app-card__title { margin: 0; font-family: var(--abf-display); font-size: 19px; font-weight: 800; line-height: 1.2; }
.abf-app-card__desc { margin: 0; color: var(--abf-ink-2); font-size: 14px; line-height: 1.45; }
.abf-app-card__close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -10px -10px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--abf-muted); cursor: pointer; }
.abf-app-card__close:hover { background: var(--abf-soft); color: var(--abf-ink); }
.abf-app-card__actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.abf-app-card__actions .abf-btn { min-height: 48px; }
.abf-app-card__install { font-family: var(--abf-display); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.abf-app-card__later { border-width: 1.5px; border-color: var(--abf-input); }

.abf-app-sheet { position: fixed; inset: 0; z-index: 110; }
.abf-app-sheet[hidden] { display: none; }
.abf-app-sheet__backdrop { position: absolute; inset: 0; background: rgba(14, 14, 16, 0.5); }
.abf-app-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 16px; max-width: 560px; max-height: calc(100% - 40px); margin: 0 auto; padding: 10px 20px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; border-radius: 24px 24px 0 0; background: var(--abf-white); box-sizing: border-box; outline: 0; }
.abf-app-sheet__grabber { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #d5dae1; }
.abf-app-sheet__head { display: flex; align-items: center; gap: 14px; }
.abf-app-sheet__head img { flex: none; width: 56px; height: 56px; border-radius: 15px; }
.abf-app-sheet__head h2 { margin: 0; font-family: var(--abf-display); font-size: 20px; font-weight: 800; line-height: 1.2; }
.abf-app-sheet__head p { margin: 2px 0 0; color: var(--abf-ink-2); font-size: 14px; }
.abf-app-sheet__steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.abf-app-sheet__steps li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--abf-line); border-radius: 14px; }
.abf-app-sheet__n { display: flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--abf-teal-deep); color: var(--abf-white); font-size: 14px; font-weight: 700; }
.abf-app-sheet__step { flex: 1; font-size: 15px; line-height: 1.4; }
.abf-app-sheet__glyph { flex: none; color: var(--abf-teal); }
.abf-app-sheet__ok { min-height: 50px; font-size: 16px; }
.abf-app-sheet-open { overflow: hidden; }

/* Deal alerts card at the top of the homepage, inside the installed app (inc/app.php, app.js). */
.abf-alerts-box { padding-top: 16px; }
.abf-alerts-box[hidden] { display: none; }
.abf-alerts-card { display: flex; flex-direction: column; gap: 14px; max-width: 720px; padding: 18px 16px; border-radius: var(--abf-radius-lg); background: var(--abf-teal-deep); color: var(--abf-white); }
.abf-alerts-card[hidden] { display: none; }
.abf-alerts-card__top { display: flex; align-items: flex-start; gap: 14px; }
.abf-alerts-card__bell { display: flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.abf-alerts-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.abf-alerts-card__title { margin: 0; color: var(--abf-white); font-family: var(--abf-display); font-size: 20px; font-weight: 800; line-height: 1.2; }
.abf-alerts-card__desc { margin: 0; color: #d7e8ee; font-size: 14.5px; line-height: 1.5; }
.abf-alerts-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.abf-alerts-card__on,
.abf-alerts-card__later { min-height: 48px; padding: 0 10px; border-radius: 999px; font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer; }
.abf-alerts-card__on { border: 0; background: var(--abf-white); color: var(--abf-ink); font-weight: 700; }
.abf-alerts-card__on:hover { background: #e8f1f4; }
.abf-alerts-card__later { border: 1.5px solid rgba(255, 255, 255, 0.6); background: transparent; color: var(--abf-white); font-weight: 600; }
.abf-alerts-card__later:hover { border-color: var(--abf-white); background: rgba(255, 255, 255, 0.08); }
.abf-alerts-card__on:focus-visible,
.abf-alerts-card__later:focus-visible { outline: 2px solid var(--abf-teal-line); outline-offset: 2px; }
.abf-alerts-card__on:disabled,
.abf-alerts-card__later:disabled { cursor: progress; opacity: 0.7; }
@media (max-width: 359px) {
	.abf-alerts-card__actions { grid-template-columns: minmax(0, 1fr); }
}
.abf-alerts-done { display: flex; align-items: center; gap: 12px; max-width: 720px; padding: 14px 16px; border-radius: 16px; background: var(--abf-green-soft); color: #14532d; font-size: 15px; font-weight: 600; line-height: 1.4; outline: 0; }
.abf-alerts-done[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
	.abf-app-card { transition: none; transform: none; }
}
