/*
 * Anakko Beauty: component styles ("Graphite & Copper").
 * Every colour below is a palette variable from theme.json, so the Dark and Light style
 * variations (Appearance › Editor › Styles) restyle the whole shop with no hex codes here.
 *
 * Palette slugs: background, surface, divider, heading, body-text, accent, accent-text,
 * on-accent, header, on-header, error.  Custom: --wp--custom--accent-hover, --wp--custom--input-border.
 * Rule: copper as TEXT always uses accent-text (accent is for fills with on-accent text).
 */

/* --------------------------------------------------------------
   Base
   -------------------------------------------------------------- */
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

.is-style-eyebrow,
p.is-style-eyebrow,
h2.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-text);
	margin: 0;
}
/* Small pill tag, e.g. "New", "Hydration series" */
p.is-style-pill {
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding: 0.3rem 0.8rem;
	border-radius: var(--wp--custom--button-radius);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
}
.anb-link-arrow { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 700; }
.anb-link-arrow a { text-decoration: none; border-bottom: 2px solid var(--wp--preset--color--accent); padding-bottom: 2px; }
.anb-link-arrow a:hover { border-bottom-color: var(--wp--preset--color--heading); color: var(--wp--preset--color--heading); }
.anb-link-arrow a::after { content: " →"; }

/* Buttons: 8px radius, at least 44px tall (touch target). Outline = ghost button. */
.wp-block-button__link,
.wp-element-button {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--heading);
	border: 1px solid var(--wp--custom--input-border);
	padding-top: calc(1rem - 1px);
	padding-bottom: calc(1rem - 1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--surface);
	border-color: var(--wp--preset--color--heading);
	color: var(--wp--preset--color--heading);
}
/* "Dark" button style = inverted: Bone on the dark scheme, Graphite on the light one */
.wp-block-button.is-style-dark > .wp-block-button__link {
	background: var(--wp--preset--color--heading);
	color: var(--wp--preset--color--background);
}
.wp-block-button.is-style-dark > .wp-block-button__link:hover,
.wp-block-button.is-style-dark > .wp-block-button__link:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--heading) 85%, var(--wp--preset--color--background));
	color: var(--wp--preset--color--background);
}
/* Links inside running text keep an underline so they don't rely on colour alone (WCAG 1.4.1) */
:where(.wp-block-post-content, .woocommerce-Tabs-panel, .wc-block-components-checkbox__label, .woocommerce-privacy-policy-text, .wc-block-checkout__terms) p a:where(:not(.wp-element-button)) { text-decoration: underline; }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--heading);
	outline-offset: 2px;
}

/* Cards (Card block style on Group) */
.is-style-card {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--body-text);
	border: 1px solid var(--wp--preset--color--divider);
	border-radius: var(--wp--custom--radius);
	box-shadow: var(--wp--custom--shadow);
	padding: 1.5rem;
}

/* --------------------------------------------------------------
   Header
   -------------------------------------------------------------- */
.anb-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .anb-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .anb-site-header { top: 0; } }
/* The mobile menu opens inside the header, so lift the header above the page while it is open */
.anb-site-header:has(.wp-block-navigation__responsive-container.is-menu-open) { z-index: 100001; }

.anb-topbar p { margin: 0; font-weight: 600; letter-spacing: 0.01em; }
.anb-topbar a { color: inherit; text-decoration: underline; }
.anb-header,
.anb-header .anb-logo a,
.anb-header .wp-block-site-title a,
.anb-header .anb-nav .wp-block-navigation-item__content,
.anb-header .wp-block-navigation__responsive-container-open,
.anb-header .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--on-header); }

.anb-header .anb-header__row { gap: 1.25rem; }
.anb-header .anb-logo { flex: 0 0 auto; margin: 0; }
.anb-header .anb-logo a,
.anb-footer__brand a { text-transform: uppercase; letter-spacing: 0.06em; }
.anb-header .anb-nav { flex: 1 1 auto; }
.anb-header .anb-nav .wp-block-navigation__container { flex-wrap: nowrap; }
.anb-header .anb-nav .wp-block-navigation-item__content { padding-block: 0.5rem; }
.anb-header .anb-nav .wp-block-navigation-item__content:hover,
.anb-header .anb-nav .wp-block-navigation-item__content:focus-visible { color: var(--wp--preset--color--accent); }
.anb-header .anb-nav .current-menu-item > .wp-block-navigation-item__content { box-shadow: inset 0 -2px 0 var(--wp--preset--color--accent); }
.anb-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--divider) !important;
	border-radius: var(--wp--custom--radius);
	padding: 0.5rem 0;
	min-width: 230px !important;
	background: var(--wp--preset--color--header) !important;
	color: var(--wp--preset--color--on-header) !important;
	box-shadow: var(--wp--custom--shadow);
	font-weight: 500;
}
.anb-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.55rem 1.1rem !important; }
.anb-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: color-mix(in srgb, var(--wp--preset--color--on-header) 8%, var(--wp--preset--color--header)); color: var(--wp--preset--color--accent); }
/* Brands and long category dropdowns: two columns on desktop once there are more than 6 items */
@media (min-width: 1024px) {
	.anb-header .anb-nav__brands > .wp-block-navigation__submenu-container:has(> li:nth-child(7)),
	.anb-header .anb-nav__cats > .wp-block-navigation__submenu-container:has(> li:nth-child(9)) {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-width: 420px !important;
	}
}

.anb-header__icons { flex: 0 0 auto; }
.anb-header__icons > * { margin: 0 !important; }
/* Search: pill field with a round button inside */
.anb-header .anb-search { margin: 0; width: 230px; }
.anb-header .anb-search .wp-block-search__inside-wrapper {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--on-header) 35%, var(--wp--preset--color--header));
	border-radius: var(--wp--custom--button-radius);
	padding: 3px;
	background: color-mix(in srgb, var(--wp--preset--color--on-header) 7%, var(--wp--preset--color--header));
}
.anb-header .anb-search .wp-block-search__input {
	border: 0;
	background: transparent;
	padding: 0.45rem 0.4rem 0.45rem 0.9rem;
	font-size: var(--wp--preset--font-size--small);
	min-width: 0;
	color: var(--wp--preset--color--on-header);
}
.anb-header .anb-search .wp-block-search__input::placeholder { color: color-mix(in srgb, var(--wp--preset--color--on-header) 70%, var(--wp--preset--color--header)); opacity: 1; }
.anb-header .anb-search .wp-block-search__input:focus { outline: none; }
.anb-header .anb-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--wp--preset--color--accent); }
.anb-header .anb-search .wp-block-search__button {
	margin: 0;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.anb-header .anb-search .wp-block-search__button:hover { background: var(--wp--custom--accent-hover); }
.anb-header .anb-search .wp-block-search__button svg { width: 20px; height: 20px; fill: currentColor; }
.anb-header__icons .wc-block-customer-account a,
.anb-header__icons .wp-block-woocommerce-customer-account a,
.anb-header__icons .wc-block-mini-cart__button {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0 0.25rem;
	color: var(--wp--preset--color--on-header);
}
.anb-header__icons .wc-block-mini-cart__button:hover,
.anb-header__icons .wc-block-customer-account a:hover,
.anb-header__icons .wp-block-woocommerce-customer-account a:hover { color: var(--wp--preset--color--accent); }
.anb-header__icons .wc-block-mini-cart__amount {
	display: inline !important;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	white-space: nowrap;
}
.anb-header__icons .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--on-accent) !important;
	font-weight: 700;
}

/* Tablet and phone: logo + menu button on the first row, search and icons on the second */
@media (max-width: 1023px) {
	.anb-header .anb-header__row { flex-wrap: wrap !important; row-gap: 0.75rem; }
	.anb-header .anb-logo { order: 1; }
	.anb-header .anb-nav { order: 2; flex: 0 0 auto; margin-inline-start: auto; }
	.anb-header .anb-header__icons { order: 3; flex: 1 1 100%; justify-content: space-between !important; }
	.anb-header .anb-search { flex: 1 1 0; width: auto; max-width: none; min-width: 0; }
	.anb-header .anb-search .wp-block-search__input { width: 100%; }
	.anb-header .anb-header__icons { gap: 0.25rem !important; min-width: 0; }
	.anb-header__icons .wc-block-mini-cart__amount { display: none !important; }
	.anb-header .wp-block-navigation__responsive-container-open { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
	.anb-header .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
	.anb-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.anb-header .wp-block-navigation__responsive-container.is-menu-open { display: flex; }
}
/* Inside the open mobile menu, show the submenus as plain lists */
.anb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.25rem; font-size: 1.0625rem; }
.anb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	position: static !important;
	border: 0 !important;
	box-shadow: none;
	opacity: 1 !important;
	visibility: visible !important;
	height: auto !important;
	width: auto !important;
	min-width: 0 !important;
	padding: 0.25rem 0 0.75rem 0.75rem !important;
	background: transparent !important;
	font-weight: 500;
	font-size: 0.9375rem;
}
.anb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle { display: none; }

/* --------------------------------------------------------------
   Home
   -------------------------------------------------------------- */
.anb-hero h1 { margin: 0 0 0.5rem; line-height: 1.08; font-size: clamp(2.5rem, 4.4vw, 3.5rem) !important; letter-spacing: -0.025em; }
.anb-hero .anb-hero__text .wp-block-buttons { margin-top: 0.75rem; }
.anb-hero .anb-hero__text > p:not(.is-style-eyebrow) { margin: 0; max-width: 34rem; line-height: 1.55; }
.anb-hero .anb-hero__media { box-shadow: var(--wp--custom--shadow); overflow: hidden; }

.anb-trust__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 2.75rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}
.anb-trust__list li { display: inline-flex; align-items: center; gap: 0.5rem; }
.anb-trust__list li::before {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	border-radius: 6px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
	content: "\2713";
	display: inline-grid;
	place-items: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.anb-section__head { margin-bottom: 1.75rem; gap: 0.75rem; }
.anb-section__head h2 { margin: 0; }

.anb-steps { gap: 18px !important; }
.anb-step {
	position: relative;
	border: 1px solid var(--wp--preset--color--divider);
	min-height: 190px;
	padding: 22px;
	gap: 6px !important;
	border-radius: var(--wp--custom--radius);
	background: var(--wp--preset--color--surface);
	transition: transform .25s ease, box-shadow .25s ease;
}
.anb-step:hover { transform: translateY(-3px); box-shadow: var(--wp--custom--shadow); border-color: var(--wp--preset--color--accent); }
.anb-step__title a { color: var(--wp--preset--color--heading); }
.anb-step p { margin: 0; }
.anb-step__title { font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; font-weight: var(--wp--custom--heading-weight, 500); line-height: 1.2; }
.anb-step__title a { text-decoration: none; }
/* The whole tile is the link */
.anb-step__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.anb-step:focus-within { outline: 2px solid var(--wp--preset--color--heading); outline-offset: 2px; }

.anb-concerns__title { margin-bottom: 1.25rem; }
.anb-pill .wp-block-button__link { padding: 0.7rem 1.4rem !important; font-weight: 600; }

.anb-routine h2 { margin-bottom: 0.25rem; }
.anb-routine > p { margin-top: 0; }
.anb-routine__steps { gap: 16px !important; margin-block: 1.5rem 0.75rem; }
.anb-routine__card {
	padding: 22px;
	border-radius: var(--wp--custom--radius);
	background: var(--wp--preset--color--background);
	border: 1px solid var(--wp--preset--color--divider);
}
.anb-routine__card > * { margin: 0; }
.anb-routine__card > * + * { margin-top: 0.5rem; }
.anb-routine__num { font-family: var(--wp--preset--font-family--heading); font-size: 1.875rem; font-weight: var(--wp--custom--heading-weight, 500); line-height: 1; color: var(--wp--preset--color--accent-text); }
.anb-routine__title { color: var(--wp--preset--color--heading); }
.anb-routine__title { font-size: 1.1875rem; font-weight: 600; }
.anb-routine__text { font-size: 0.875rem; color: var(--wp--preset--color--body-text); line-height: 1.5; }

.anb-signup h2 { margin: 0; }
.anb-signup p { margin: 0; }

/* Fluent Forms in the sign-up box: pill field and button in the theme style */
.anb-signup__form .fluentform .ff-el-group { margin-bottom: 0.75rem; }
.anb-signup__form .fluentform input[type="email"],
.anb-signup__form .fluentform .ff-el-form-control {
	border-radius: var(--wp--custom--button-radius) !important;
	border: 1px solid var(--wp--custom--input-border) !important;
	background: var(--wp--preset--color--background) !important;
	color: var(--wp--preset--color--heading) !important;
	min-height: 50px;
	padding: 0.75rem 1.25rem !important;
	font: inherit;
}
.anb-signup__form .fluentform .ff-btn-submit {
	border-radius: var(--wp--custom--button-radius) !important;
	background: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--on-accent) !important;
	border: 0 !important;
	min-height: 50px;
	padding: 0.75rem 2rem !important;
	font-weight: 700 !important;
}
.anb-signup__form .fluentform .ff-btn-submit:hover { background: var(--wp--custom--accent-hover) !important; }

/* --------------------------------------------------------------
   Product cards
   -------------------------------------------------------------- */
.anb-cards { gap: 1.75rem 1.5rem !important; }
.anb-cards.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.anb-cards.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1023px) { .anb-cards.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 781px) { .anb-cards.columns-3, .anb-cards.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.5rem 0.875rem !important; } .anb-card__title { font-size: 1.0625rem !important; } }
.anb-cards > li {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	text-align: start;
	padding: 0.75rem 0.75rem 1rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--divider);
	border-radius: var(--wp--custom--radius);
	transition: border-color .2s ease;
}
.anb-cards > li:hover { border-color: color-mix(in srgb, var(--wp--preset--color--accent) 60%, var(--wp--preset--color--divider)); }
.anb-cards > li > * { margin: 0 !important; }
.anb-cards .anb-card__media,
.anb-cards .wc-block-components-product-image {
	border-radius: var(--wp--custom--radius);
	overflow: hidden;
	background: var(--wp--preset--color--background);
	margin-bottom: 0.4rem !important;
}
.anb-cards .anb-card__media img { transition: transform .5s ease; }
.anb-cards > li:hover .anb-card__media img { transform: scale(1.03); }
.anb-cards .wc-block-components-product-sale-badge {
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.7rem;
	text-transform: none;
}
.anb-card__title { font-family: var(--wp--preset--font-family--heading); font-size: 1.3125rem !important; font-weight: var(--wp--custom--heading-weight, 500); line-height: 1.25; }
.anb-card__title a { text-decoration: none; color: var(--wp--preset--color--heading); }
.anb-card__terms { font-size: 0.875rem; color: var(--wp--preset--color--body-text); }
.anb-card__terms a { color: inherit; text-decoration: none; }
.anb-card__price { font-size: 0.9375rem; font-weight: 700; color: var(--wp--preset--color--heading); }
.anb-card__price .woocommerce-price-suffix,
.anb-product__price .woocommerce-price-suffix { font-size: 0.75em; font-weight: 400; color: var(--wp--preset--color--body-text); }
.anb-card__button { align-items: flex-start !important; }
.anb-card__button .wp-block-button__link,
.anb-card__button .wc-block-components-product-button__button {
	border-radius: var(--wp--custom--button-radius) !important;
	padding: 0.55rem 1.1rem !important;
	font-size: 0.875rem !important;
	font-weight: 700;
	min-height: 0;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
}
.anb-card__button .wc-block-components-product-button__button:hover { background: var(--wp--custom--accent-hover); }
.anb-card__button .added_to_cart { font-size: 0.875rem; margin-top: 0.4rem; display: inline-block; }

/* --------------------------------------------------------------
   Shop
   -------------------------------------------------------------- */
.anb-page-hero h1 { margin: 0; }
.anb-page-hero .wp-block-term-description,
.anb-page-hero .anb-shop-intro { margin-block: 0; color: var(--wp--preset--color--body-text); padding-inline-end: max(0px, calc(100% - 46rem)); box-sizing: border-box; }
.anb-page-hero .wp-block-term-description p { margin: 0; }
.anb-shop__filters .wc-block-product-filters { display: grid; gap: 1.75rem; }
.anb-filter__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.anb-shop__filters .wc-block-product-filter-checkbox-list__label { font-size: var(--wp--preset--font-size--small); }
.anb-shop__filters input[type="checkbox"] { accent-color: var(--wp--preset--color--accent); }
.anb-shop__filters .wc-block-product-filter-price-slider .wc-block-product-filter-price-slider__range { --range-color: var(--wp--preset--color--accent); }
.anb-pagination { margin-top: 2.5rem; gap: 0.5rem; }
.anb-pagination .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--wp--custom--button-radius); text-decoration: none; }
.anb-pagination .page-numbers { border: 1px solid var(--wp--preset--color--divider); color: var(--wp--preset--color--heading); }
.anb-pagination a.page-numbers:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-text); }
.anb-pagination .page-numbers.current { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
@media (max-width: 781px) {
	.anb-shop { flex-direction: column-reverse; }
	.anb-shop .anb-shop__filters { flex-basis: auto !important; }
}

/* --------------------------------------------------------------
   Single product
   -------------------------------------------------------------- */
.anb-product__gallery .woocommerce-product-gallery,
.anb-product__gallery .images { width: 100% !important; float: none !important; margin: 0 !important; }
.anb-product__gallery .woocommerce-product-gallery__wrapper,
.anb-product__gallery .flex-viewport { border-radius: var(--wp--custom--radius); overflow: hidden; background: var(--wp--preset--color--surface); }
.anb-product__gallery .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin-top: 0.75rem !important; }
.anb-product__gallery .flex-control-thumbs li { width: auto !important; margin: 0 !important; }
.anb-product__gallery .flex-control-thumbs img { border-radius: var(--wp--custom--radius); opacity: 0.6; }
.anb-product__gallery .flex-control-thumbs img.flex-active,
.anb-product__gallery .flex-control-thumbs img:hover { opacity: 1; }
.anb-product__gallery .woocommerce-product-gallery__trigger { inset-inline-end: 1rem; inset-inline-start: auto; top: 1rem; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--heading); border-radius: 50%; }
.anb-product__title { margin: 0; line-height: 1.12; }
.anb-product__summary .wp-block-post-excerpt__excerpt { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.anb-add-to-cart form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0; }
.anb-add-to-cart .stock { flex-basis: 100%; margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--body-text); }
.anb-add-to-cart .quantity input.qty {
	height: 52px;
	width: 4.75rem;
	padding: 0 0.5rem;
	border: 1px solid var(--wp--custom--input-border);
	border-radius: var(--wp--custom--button-radius);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--heading);
	text-align: center;
	font: inherit;
	font-weight: 600;
}
.anb-add-to-cart .single_add_to_cart_button {
	min-height: 52px;
	padding-inline: 2.25rem !important;
	font-size: 1rem !important;
	cursor: pointer;
}
.anb-product__info p { margin: 0; line-height: 1.55; }
.anb-product__meta { font-size: 0.8125rem; font-weight: 500; color: var(--wp--preset--color--body-text); }
.anb-product__meta a { color: inherit; }

/* Tabs */
.anb-tabs .wc-tabs {
	display: flex;
	gap: 1.75rem;
	padding: 0 !important;
	margin: 0 0 1.5rem !important;
	border-bottom: 1px solid var(--wp--preset--color--divider);
	list-style: none;
}
.anb-tabs .wc-tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.anb-tabs .wc-tabs li::before,
.anb-tabs .wc-tabs li::after { display: none !important; }
.anb-tabs .wc-tabs li a {
	display: block;
	padding: 0.85rem 0 !important;
	font-weight: 700;
	text-decoration: none;
	color: var(--wp--preset--color--body-text) !important;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.anb-tabs .wc-tabs li.active a { color: var(--wp--preset--color--heading) !important; border-bottom-color: var(--wp--preset--color--accent); }
.anb-tabs .woocommerce-Tabs-panel { font-size: 0.9375rem; color: var(--wp--preset--color--body-text); max-width: 48rem; }
.anb-tabs .woocommerce-Tabs-panel > h2:first-child { display: none; }
.anb-tabs .woocommerce-Tabs-panel h2,
.anb-tabs .woocommerce-Tabs-panel h3 { color: var(--wp--preset--color--heading); font-size: 1.25rem; }
.anb-tabs table.shop_attributes { border: 0; width: 100%; max-width: 36rem; }
.anb-tabs table.shop_attributes th,
.anb-tabs table.shop_attributes td { border: 0; border-bottom: 1px solid var(--wp--preset--color--divider); padding: 0.7rem 0; background: none; font-style: normal; text-align: start; }
.anb-tabs table.shop_attributes th { width: 40%; font-weight: 600; color: var(--wp--preset--color--heading); }
.anb-tabs table.shop_attributes td p { margin: 0; }

/* --------------------------------------------------------------
   Cart, checkout, forms: see "WooCommerce" at the end of this file
   -------------------------------------------------------------- */
@keyframes anb-spin { to { transform: rotate(360deg); } }

@media (max-width: 781px) {
	body.has-ds-satc { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* --------------------------------------------------------------
   Footer and newsletter
   -------------------------------------------------------------- */
.anb-footer a { text-decoration: none; }
.anb-footer a:hover { text-decoration: underline; }
.anb-footer__brand { margin: 0 0 0.75rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.375rem; }
.anb-footer { --anb-footer-soft: color-mix(in srgb, var(--wp--preset--color--on-header) 72%, var(--wp--preset--color--header)); }
.anb-footer__about { color: var(--anb-footer-soft); max-width: 18rem; margin: 0; }
.anb-footer__heading {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: inherit;
	margin: 0 0 1rem;
}
.anb-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-size: var(--wp--preset--font-size--small); }
.anb-footer__heading { color: var(--wp--preset--color--on-header); }
.anb-footer__links a { color: var(--anb-footer-soft); text-underline-offset: 0.2em; }
.anb-footer__links a:hover,
.anb-footer__links a:focus-visible { color: var(--wp--preset--color--on-header); }
.anb-footer__legal { border-top-color: color-mix(in srgb, var(--wp--preset--color--on-header) 18%, var(--wp--preset--color--header)) !important; }
.anb-footer__legal p { margin: 0; color: var(--anb-footer-soft); line-height: 1.6; }
.anb-footer :where(a, button):focus-visible { outline-color: var(--wp--preset--color--on-header); }

/* --------------------------------------------------------------
   Phones and tablets
   -------------------------------------------------------------- */
@media (max-width: 1023px) {
	.anb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.anb-routine__steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.anb-footer__cols { flex-wrap: wrap !important; }
	.anb-footer__cols > .wp-block-column { flex-basis: calc(50% - 1rem) !important; }
}
@media (max-width: 600px) {
	.anb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.anb-step { min-height: 140px; }
	.anb-routine__steps { grid-template-columns: 1fr !important; }
	.anb-signup { padding: 2rem 1.5rem !important; }
	.anb-hero .anb-hero__media { min-height: 300px !important; }
	.anb-trust__list { justify-content: flex-start; gap: 0.6rem 1.5rem; }
	.anb-footer__cols > .wp-block-column { flex-basis: 100% !important; }
}

/* --------------------------------------------------------------
   Motion
   -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.anb-step:hover { transform: none; }
}

/* Visually hidden helper */
.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;
}

/* Empty cart: "New in store" grid */
.wc-block-grid__product-image img { border-radius: var(--wp--custom--radius); }
.wc-block-grid__product-title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--wp--preset--color--heading); }

/* FAQ and reviews patterns */
.anb-faq__item { border-bottom: 1px solid var(--wp--custom--input-border); padding-block: 0.875rem; }
.anb-faq__item summary { color: var(--wp--preset--color--heading); cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style-position: outside; }
.anb-faq__item[open] summary { margin-bottom: 0.5rem; }
.anb-review__stars { letter-spacing: 0.15em; margin: 0; color: var(--wp--preset--color--accent); }
.anb-review > * { margin-block: 0; }

/* ------------------------------------------------------------------
 * Anakko Shop Kit features, styled to match the theme (and every style).
 * Anakko Shop Kit works without this theme; these rules only refine the look.
 * ------------------------------------------------------------------ */
.ansk-lp-card__value,
.ansk-lp-account h3,
.ansk-lp-rules h3 { font-family: var(--wp--preset--font-family--heading); }
.ansk-lp-card { box-shadow: var(--wp--custom--shadow); border-color: var(--wp--preset--color--divider); }
.ansk-lp-panel { border-radius: var(--wp--custom--radius); background: var(--wp--preset--color--surface); }
.ansk-bis-label { font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.ansk-bis-btn:hover,
.ansk-lp-btn:not(.ansk-lp-btn--link):hover { background: var(--wp--custom--accent-hover); }
.ansk-search-results { border-color: var(--wp--preset--color--divider); box-shadow: var(--wp--custom--shadow); }
.ansk-sr-item:hover, .ansk-sr-item.is-active { background: var(--wp--preset--color--surface); }
.ansk-swatch { border-color: var(--wp--custom--input-border); }
.ansk-swatch.is-selected { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); border-color: var(--wp--preset--color--accent); }
.ansk-wa-btn { border-radius: var(--wp--custom--button-radius); }
.ansk-dispatch-product .ansk-dispatch { color: var(--wp--preset--color--heading); }
.anb-admin-note { padding: 0.75rem 1rem; border: 1px dashed var(--wp--custom--input-border); border-radius: var(--wp--custom--radius); font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--body-text); }

/* ==================================================================
   WooCommerce
   Blocks (product grid, Cart, Checkout, mini-cart) and classic pages
   (My Account, notices, reviews). Palette variables only, so the Dark
   and Light style variations both work.
   ================================================================== */

/* Native controls (checkboxes, scrollbars, select menus) follow the scheme */
:root { color-scheme: var(--wp--custom--color-scheme, dark); }
::selection { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }

/* ---------- Form fields: inputs, selects, textareas ---------- */
:where(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
	input[type="number"], input[type="url"], input[type="date"], select, textarea),
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-form .wc-block-components-text-input input,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	background-color: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--heading) !important;
	border: 1px solid var(--wp--custom--input-border) !important;
	border-radius: var(--wp--custom--button-radius) !important;
	min-height: 44px;
	font: inherit;
	box-shadow: none !important;
}
textarea, .wc-block-components-textarea { min-height: 7rem; }
:where(input, select, textarea)::placeholder { color: var(--wp--preset--color--body-text); opacity: 1; }
:where(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
	input[type="number"], input[type="url"], select, textarea):focus,
.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	border-color: var(--wp--preset--color--accent) !important;
	outline: 2px solid var(--wp--preset--color--accent) !important;
	outline-offset: 0;
}
.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label,
.wc-blocks-components-select .wc-blocks-components-select__label,
.woocommerce form .form-row label { color: var(--wp--preset--color--body-text) !important; }
.wc-blocks-components-select .wc-blocks-components-select__container { background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--button-radius); }
.wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--wp--preset--color--heading); }
input[type="checkbox"], input[type="radio"],
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.wc-block-components-radio-control__input { accent-color: var(--wp--preset--color--accent); }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.wc-block-components-radio-control__input {
	background: var(--wp--preset--color--surface) !important;
	border: 1px solid var(--wp--custom--input-border) !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--wp--preset--color--accent) !important; border-color: var(--wp--preset--color--accent) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--wp--preset--color--on-accent) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--accent) !important; }
.wc-block-components-validation-error,
.woocommerce-invalid label,
.woocommerce form .form-row .required { color: var(--wp--preset--color--error) !important; }
.has-error input, .has-error select,
.wc-block-components-text-input.has-error input,
.woocommerce-invalid .input-text { border-color: var(--wp--preset--color--error) !important; }

/* ---------- Buttons ---------- */
.wc-block-components-button:not(.is-link):not(.outlined),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.woocommerce :where(a.button, button.button, input.button, #respond input#submit),
.woocommerce .single_add_to_cart_button {
	background: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--on-accent) !important;
	border: 0 !important;
	border-radius: var(--wp--custom--button-radius) !important;
	min-height: 44px;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 600 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
.wc-block-components-button:not(.is-link):not(.outlined):hover,
.wc-block-components-button:not(.is-link):not(.outlined):focus-visible,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button:hover,
.woocommerce :where(a.button, button.button, input.button, #respond input#submit):hover,
.woocommerce .single_add_to_cart_button:hover { background: var(--wp--custom--accent-hover) !important; color: var(--wp--preset--color--on-accent) !important; }
.wc-block-components-button.outlined,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button {
	background: transparent !important;
	color: var(--wp--preset--color--heading) !important;
	border: 1px solid var(--wp--custom--input-border) !important;
	border-radius: var(--wp--custom--button-radius) !important;
	box-shadow: none !important;
	min-height: 44px;
}
.wc-block-components-button.outlined:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button:hover { border-color: var(--wp--preset--color--heading) !important; background: var(--wp--preset--color--surface) !important; }
.wc-block-components-button.is-link,
.wc-block-components-product-details__name,
.wc-block-cart-item__remove-link { color: var(--wp--preset--color--accent-text) !important; }
.wc-block-components-button:disabled,
.wc-block-components-button[aria-disabled="true"] { opacity: 0.55; }

/* ---------- Product grid (Product Collection, All Products, classic loops) ---------- */
.wp-block-woocommerce-product-template > li,
.wc-block-product-template > li,
.wc-block-grid__product,
.woocommerce ul.products li.product {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--divider);
	border-radius: var(--wp--custom--radius);
	padding: 0.75rem 0.75rem 1rem;
	color: var(--wp--preset--color--body-text);
}
.wc-block-components-product-image,
.wc-block-grid__product-image { border-radius: calc(var(--wp--custom--radius) - 4px); overflow: hidden; background: var(--wp--preset--color--background); }
.wc-block-components-product-name,
.wp-block-post-title a,
.wc-block-grid__product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-loop-product__link { color: var(--wp--preset--color--heading); text-decoration: none; }
.wc-block-components-product-name:hover,
.woocommerce-loop-product__link:hover .woocommerce-loop-product__title { color: var(--wp--preset--color--accent-text); }

/* Prices: regular price in Bone/Graphite, struck-through price muted, sale price in accent-text */
.wc-block-components-product-price,
.wc-block-grid__product-price,
.woocommerce .price,
.wc-block-components-formatted-money-amount { color: var(--wp--preset--color--heading); }
.wc-block-components-product-price del,
.wc-block-components-product-price__regular,
.woocommerce .price del { color: var(--wp--preset--color--body-text); opacity: 1; }
.wc-block-components-product-price ins,
.wc-block-components-product-price__value.is-discounted,
.woocommerce .price ins { color: var(--wp--preset--color--accent-text); text-decoration: none; font-weight: 700; }

/* Sale badges: copper fill, graphite text */
.wc-block-components-product-sale-badge,
.wc-block-grid__product-onsale,
.wc-block-components-sale-badge,
.wc-block-components-product-badge,
.woocommerce span.onsale {
	background: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--on-accent) !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	min-height: 0;
	line-height: 1.4;
	padding: 0.25rem 0.6rem;
}

/* Star ratings: copper stars, empty stars in the divider tone */
.wc-block-components-product-rating__stars,
.wc-block-grid__product-rating .star-rating,
.woocommerce .star-rating,
.woocommerce p.stars a { color: var(--wp--preset--color--accent); }
.wc-block-components-product-rating__stars::before,
.woocommerce .star-rating::before { color: var(--wp--custom--input-border); opacity: 1; }
.wc-block-components-product-rating__stars span::before,
.woocommerce .star-rating span::before { color: var(--wp--preset--color--accent); }
.wc-block-components-product-rating-counter__reviews_count a,
.woocommerce-review-link { color: var(--wp--preset--color--body-text); }

/* Stock */
.wc-block-components-product-stock-indicator,
.woocommerce .stock { color: var(--wp--preset--color--body-text); }
.wc-block-components-product-stock-indicator--out-of-stock,
.woocommerce .stock.out-of-stock { color: var(--wp--preset--color--error) !important; }

/* Sorting, result count, breadcrumbs */
.wc-block-catalog-sorting select,
.woocommerce-ordering select { min-width: 12rem; }
.wc-block-product-results-count,
.woocommerce-result-count,
.wc-block-breadcrumbs,
.woocommerce-breadcrumb { color: var(--wp--preset--color--body-text); font-size: var(--wp--preset--font-size--small); }
.wc-block-breadcrumbs a,
.woocommerce-breadcrumb a { color: var(--wp--preset--color--accent-text); }

/* ---------- Pagination ---------- */
.wp-block-query-pagination,
.woocommerce-pagination ul.page-numbers,
.wc-block-pagination { gap: 0.5rem; border: 0 !important; }
.wp-block-query-pagination :where(.page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next),
.woocommerce-pagination ul.page-numbers li .page-numbers,
.wc-block-pagination-page {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.75rem;
	border: 1px solid var(--wp--preset--color--divider) !important;
	border-radius: var(--wp--custom--button-radius);
	background: transparent;
	color: var(--wp--preset--color--heading);
	text-decoration: none;
}
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.wp-block-query-pagination a:hover,
.woocommerce-pagination ul.page-numbers li a:hover,
.wc-block-pagination-page:hover { border-color: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--accent-text); background: transparent; }
.wp-block-query-pagination .page-numbers.current,
.woocommerce-pagination ul.page-numbers li span.current,
.wc-block-pagination-page--active {
	background: var(--wp--preset--color--accent) !important;
	border-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--on-accent) !important;
}

/* ---------- Single product ---------- */
.single-product .product_title,
.wp-block-post-title { color: var(--wp--preset--color--heading); }
.woocommerce div.product form.cart .variations label,
.woocommerce div.product form.cart .variations th { color: var(--wp--preset--color--heading); }
.woocommerce div.product form.cart .reset_variations { color: var(--wp--preset--color--accent-text); }
.woocommerce div.product .woocommerce-variation-price .price { color: var(--wp--preset--color--heading); }
.quantity .qty,
.wc-block-components-quantity-selector {
	background: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--heading) !important;
	border: 1px solid var(--wp--custom--input-border) !important;
	border-radius: var(--wp--custom--button-radius) !important;
}
.wc-block-components-quantity-selector::after { border: 0 !important; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { background: transparent !important; border: 0 !important; color: var(--wp--preset--color--heading) !important; min-height: 0; outline: none !important; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--wp--preset--color--heading); min-width: 36px; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover { color: var(--wp--preset--color--accent-text); }
.product_meta,
.wp-block-woocommerce-product-meta { color: var(--wp--preset--color--body-text); }
.product_meta a { color: var(--wp--preset--color--accent-text); }
/* Reviews */
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border: 1px solid var(--wp--preset--color--divider);
	border-radius: var(--wp--custom--radius);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--body-text);
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta,
.woocommerce #review_form #respond .comment-reply-title { color: var(--wp--preset--color--heading); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { background: var(--wp--preset--color--surface); border-color: var(--wp--preset--color--divider); }
.wp-block-woocommerce-product-details .wc-tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--wp--preset--color--body-text); }
.wp-block-woocommerce-product-details .wc-tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--wp--preset--color--heading); }
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: transparent; border-color: var(--wp--preset--color--divider); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--wp--preset--color--divider); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--wp--preset--color--background); }

/* ---------- Cart and Checkout blocks ---------- */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { color: var(--wp--preset--color--body-text); }
.wc-block-cart .wc-block-components-sidebar,
.wc-block-checkout .wc-block-components-sidebar .wc-block-components-checkout-order-summary__content,
.wp-block-woocommerce-checkout-order-summary-block {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--divider) !important;
	border-radius: var(--wp--custom--radius);
	padding: 1.25rem !important;
}
.wc-block-components-sidebar-layout .wc-block-components-main { padding-inline-end: var(--wp--preset--spacing--30); }
.wc-block-cart-items,
.wc-block-cart-items th,
.wc-block-cart-items td,
.wc-block-cart-items__row,
.wc-block-components-totals-wrapper,
.wc-block-components-panel,
.wc-block-components-order-summary-item,
.wc-block-components-checkout-step,
.wc-block-components-totals-footer-item,
.wc-block-components-express-payment-continue-rule::before,
.wc-block-components-express-payment-continue-rule::after { border-color: var(--wp--preset--color--divider) !important; }
.wc-block-cart-items th,
.wc-block-components-totals-item__description,
.wc-block-components-product-metadata,
.wc-block-components-order-summary-item__description,
.wc-block-components-checkout-step__description,
.wc-block-components-express-payment-continue-rule { color: var(--wp--preset--color--body-text); }
.wc-block-cart-item__product .wc-block-components-product-name,
.wc-block-components-order-summary-item__description .wc-block-components-product-name,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item,
.wc-block-components-checkout-step__title,
.wc-block-components-title,
.wc-block-cart__totals-title,
.wc-block-components-panel__button { color: var(--wp--preset--color--heading) !important; }
.wc-block-components-checkout-step__title,
.wc-block-cart__totals-title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.wc-block-components-order-summary-item__quantity {
	background: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--on-accent) !important;
	border-color: var(--wp--preset--color--surface) !important;
	box-shadow: none !important;
}
.wc-block-components-product-image img { border-radius: 8px; }
.wc-block-components-checkout-step__container::after { border-color: var(--wp--preset--color--divider); }
.wc-block-components-checkout-step::after { background: var(--wp--preset--color--divider); }
/* Shipping and payment choices */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option,
.wc-block-checkout__shipping-method-option {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--heading);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--divider) !important;
	border-radius: var(--wp--custom--button-radius);
}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-checkout__shipping-method-option--selected { box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent) !important; }
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__secondary-label { color: var(--wp--preset--color--heading); }
.wc-block-components-radio-control__description,
.wc-block-components-radio-control__secondary-description,
.wc-block-components-radio-control-accordion-content { color: var(--wp--preset--color--body-text); }
.wc-block-components-address-card { border-color: var(--wp--preset--color--divider); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--body-text); }
.wc-block-components-address-card__edit,
.wc-block-checkout__login-prompt,
.wc-block-components-checkout-return-to-cart-button { color: var(--wp--preset--color--accent-text) !important; }
.wc-block-components-checkout-return-to-cart-button svg { fill: currentColor; }
.wc-block-components-loading-mask__children { opacity: 0.6; }
/* Free-shipping and coupon chips */
.wc-block-components-chip { background: var(--wp--preset--color--background); color: var(--wp--preset--color--heading); border: 1px solid var(--wp--preset--color--divider); }
.wc-block-components-chip .wc-block-components-chip__remove-icon { fill: currentColor; }

/* Order confirmation */
.wc-block-order-confirmation-status,
.wc-block-order-confirmation-summary,
.woocommerce-order-overview { color: var(--wp--preset--color--body-text); }
.wc-block-order-confirmation-summary-list-item__key,
.wc-block-order-confirmation-summary-list-item__value { color: var(--wp--preset--color--heading); }

/* ---------- Tables (My Account orders, classic cart, order details) ---------- */
.woocommerce table.shop_table,
.woocommerce-orders-table,
.woocommerce-table--order-details,
.wc-block-order-confirmation-totals__table {
	border: 1px solid var(--wp--preset--color--divider) !important;
	border-radius: var(--wp--custom--radius);
	border-collapse: separate;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--body-text);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.wc-block-order-confirmation-totals__table :where(th, td) { border-color: var(--wp--preset--color--divider) !important; }
.woocommerce table.shop_table th,
.wc-block-order-confirmation-totals__table th { color: var(--wp--preset--color--heading); }

/* ---------- My Account ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1rem;
	border-radius: var(--wp--custom--button-radius);
	color: var(--wp--preset--color--heading);
	text-decoration: none;
	border-inline-start: 3px solid transparent;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { background: var(--wp--preset--color--surface); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background: var(--wp--preset--color--surface);
	border-inline-start-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--heading);
	font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-content { color: var(--wp--preset--color--body-text); }
.woocommerce-account .woocommerce-MyAccount-content :where(strong, mark) { color: var(--wp--preset--color--heading); background: transparent; }
.woocommerce-account .woocommerce-Address,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password,
.woocommerce-form-coupon,
.woocommerce-form-login {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--divider) !important;
	border-radius: var(--wp--custom--radius) !important;
	padding: 1.5rem !important;
}
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account h2,
.woocommerce-account h3 { color: var(--wp--preset--color--heading); }
.woocommerce-account .woocommerce-Address-title a,
.woocommerce-LostPassword a,
.woocommerce-privacy-policy-link { color: var(--wp--preset--color--accent-text); }
.woocommerce form .password-input .show-password-input { color: var(--wp--preset--color--body-text); }
.woocommerce-password-strength { border-radius: 6px; color: var(--wp--preset--color--heading); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--divider); }
.woocommerce-password-strength.bad,
.woocommerce-password-strength.short { border-color: var(--wp--preset--color--error); }
.woocommerce-password-strength.strong,
.woocommerce-password-strength.good { border-color: var(--wp--preset--color--accent); }

/* ---------- Notices ---------- */
.wc-block-components-notice-banner,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--heading) !important;
	border: 1px solid var(--wp--preset--color--divider) !important;
	border-inline-start: 4px solid var(--wp--preset--color--accent) !important;
	border-radius: var(--wp--custom--button-radius) !important;
	padding: 1rem 1.25rem !important;
}
.wc-block-components-notice-banner.is-error,
.woocommerce-error { border-inline-start-color: var(--wp--preset--color--error) !important; }
.wc-block-components-notice-banner > svg,
.woocommerce-message::before,
.woocommerce-info::before { background: transparent !important; fill: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.wc-block-components-notice-banner.is-error > svg,
.woocommerce-error::before { fill: var(--wp--preset--color--error); color: var(--wp--preset--color--error); }
.wc-block-components-notice-banner a,
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) { color: var(--wp--preset--color--accent-text); text-decoration: underline; }
.wc-block-components-notice-banner .wc-block-components-button.is-link { color: var(--wp--preset--color--accent-text) !important; }
.woocommerce-store-notice,
p.demo_store { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
.woocommerce-store-notice a { color: inherit; text-decoration: underline; }

/* ---------- Mini-cart ---------- */
.wc-block-mini-cart__badge {
	background: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--on-accent) !important;
	font-weight: 700;
}
.wc-block-mini-cart__drawer .components-modal__frame,
.wc-block-mini-cart__drawer .wc-block-mini-cart__template-part,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
	background: var(--wp--preset--color--background) !important;
	color: var(--wp--preset--color--body-text);
}
.wc-block-components-drawer__screen-overlay { background-color: color-mix(in srgb, var(--wp--preset--color--header) 70%, transparent) !important; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__title { font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; font-weight: 700; color: var(--wp--preset--color--heading); }
.wc-block-mini-cart__drawer .wc-block-mini-cart__items { border-color: var(--wp--preset--color--divider); }
.wc-block-mini-cart__drawer .wc-block-cart-items__row { border-bottom: 1px solid var(--wp--preset--color--divider); }
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
	background: var(--wp--preset--color--surface);
	border-top: 1px solid var(--wp--preset--color--divider);
	box-shadow: none;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__label { color: var(--wp--preset--color--heading); }
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button { min-height: 48px; padding: 0.75rem 1rem; }
.wc-block-components-drawer__close { border-radius: 50%; color: var(--wp--preset--color--heading); min-width: 44px; min-height: 44px; }
.wc-block-components-drawer__close:hover { color: var(--wp--preset--color--accent-text); }
.wc-block-mini-cart__empty-cart-wrapper { color: var(--wp--preset--color--body-text); }

/* ---------- Product filters (Product Filters block) ---------- */
.wc-block-product-filter-checkbox-list__label,
.wc-block-product-filter-chips__item { color: var(--wp--preset--color--heading); }
.wc-block-product-filter-chips__item { background: var(--wp--preset--color--surface); border-color: var(--wp--preset--color--divider); border-radius: 6px; }
.wc-block-product-filter-chips__item[aria-checked="true"] { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); border-color: var(--wp--preset--color--accent); }
.wc-block-product-filter-removable-chips__item,
.wc-block-product-filter-active__item { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--heading); border: 1px solid var(--wp--preset--color--divider); }
.wc-block-product-filter-clear-button .wp-block-button__link { background: transparent; color: var(--wp--preset--color--accent-text); min-height: 0; padding: 0; }
.wc-block-product-filter-price-slider input[type="range"] { accent-color: var(--wp--preset--color--accent); }

/* Header search sits on the header colour: keep its field transparent (overrides the global field style above) */
.anb-header .anb-search .wp-block-search__input,
.anb-header .anb-search .wp-block-search__input:focus {
	background: transparent !important;
	border: 0 !important;
	color: var(--wp--preset--color--on-header) !important;
	outline: none !important;
	min-height: 0;
}
.anb-header .anb-search .wp-block-search__inside-wrapper:focus-within { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; }

/* Long brand lists: more columns */
@media (min-width: 1024px) {
	.anb-header .anb-nav__brands > .wp-block-navigation__submenu-container:has(> li:nth-child(19)) { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 600px !important; }
}
@media (min-width: 782px) {
	.anb-footer__cols > .wp-block-column:has(.anb-footer__links > li:nth-child(13)) { flex-grow: 2 !important; }
	.anb-footer__links:has(> li:nth-child(13)) { display: block; columns: 2; column-gap: 1.5rem; }
	.anb-footer__links:has(> li:nth-child(13)) > li { break-inside: avoid; margin-bottom: 0.55rem; }
}

/* ==================================================================
   Old colour names (from before v2.0) still work
   Header/footer parts, pages or menus saved in the Site Editor with an older
   version of the theme still carry classes like has-tile-background-color.
   These map them onto the new palette so nothing turns invisible.
   ================================================================== */
:root { --wp--preset--color--base: var(--wp--preset--color--background); --wp--preset--color--tile: var(--wp--preset--color--surface); --wp--preset--color--highlight: var(--wp--preset--color--surface); --wp--preset--color--primary: var(--wp--preset--color--accent); --wp--preset--color--on-primary: var(--wp--preset--color--on-accent); --wp--preset--color--contrast: var(--wp--preset--color--heading); --wp--preset--color--muted: var(--wp--preset--color--body-text); --wp--preset--color--line: var(--wp--preset--color--divider); --wp--preset--color--line-strong: var(--wp--preset--color--divider); }
.has-base-color { color: var(--wp--preset--color--background) !important; }
.has-base-background-color { background-color: var(--wp--preset--color--background) !important; }
.has-base-border-color { border-color: var(--wp--preset--color--background) !important; }
.has-tile-color { color: var(--wp--preset--color--surface) !important; }
.has-tile-background-color { background-color: var(--wp--preset--color--surface) !important; }
.has-tile-border-color { border-color: var(--wp--preset--color--surface) !important; }
.has-highlight-color { color: var(--wp--preset--color--surface) !important; }
.has-highlight-background-color { background-color: var(--wp--preset--color--surface) !important; }
.has-highlight-border-color { border-color: var(--wp--preset--color--surface) !important; }
.has-primary-color { color: var(--wp--preset--color--accent) !important; }
.has-primary-background-color { background-color: var(--wp--preset--color--accent) !important; }
.has-primary-border-color { border-color: var(--wp--preset--color--accent) !important; }
.has-on-primary-color { color: var(--wp--preset--color--on-accent) !important; }
.has-on-primary-background-color { background-color: var(--wp--preset--color--on-accent) !important; }
.has-on-primary-border-color { border-color: var(--wp--preset--color--on-accent) !important; }
.has-contrast-color { color: var(--wp--preset--color--heading) !important; }
.has-contrast-background-color { background-color: var(--wp--preset--color--heading) !important; }
.has-contrast-border-color { border-color: var(--wp--preset--color--heading) !important; }
.has-muted-color { color: var(--wp--preset--color--body-text) !important; }
.has-muted-background-color { background-color: var(--wp--preset--color--body-text) !important; }
.has-muted-border-color { border-color: var(--wp--preset--color--body-text) !important; }
.has-line-color { color: var(--wp--preset--color--divider) !important; }
.has-line-background-color { background-color: var(--wp--preset--color--divider) !important; }
.has-line-border-color { border-color: var(--wp--preset--color--divider) !important; }
.has-line-strong-color { color: var(--wp--preset--color--divider) !important; }
.has-line-strong-background-color { background-color: var(--wp--preset--color--divider) !important; }
.has-line-strong-border-color { border-color: var(--wp--preset--color--divider) !important; }

/* The header, top bar and mobile menu always use their own colours, whatever an older saved header says */
.anb-site-header .anb-header.has-background,
.anb-site-header .anb-header:not(.has-background) { background-color: var(--wp--preset--color--header) !important; color: var(--wp--preset--color--on-header) !important; border-bottom-color: var(--wp--preset--color--divider) !important; }
.anb-site-header .anb-topbar.has-contrast-color.has-surface-background-color { background-color: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--on-accent) !important; }
.anb-site-header .anb-header .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--wp--preset--color--header) !important; color: var(--wp--preset--color--on-header) !important; }

/* ==================================================================
   Header layout (v2.1), modelled on anakko.co.uk
   Row 1: logo · wide search · Log in · light/dark switch · basket
   Row 2: full-width menu bar
   Works with the theme's header and with a header saved in the Site Editor
   (both are: logo, Navigation, then a group of search/account/basket).
   ================================================================== */
.anb-site-header { overflow-x: clip; }
.anb-site-header .anb-header { padding-bottom: 0 !important; }
.anb-header .anb-header__row {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto auto auto;
	grid-template-areas:
		"logo search account toggle cart"
		"nav  nav    nav     nav    nav";
	align-items: center;
	column-gap: 0.75rem;
	row-gap: 0.875rem;
}
.anb-header .anb-header__row > :first-child { grid-area: logo; margin: 0; }
.anb-header .anb-header__row > :first-child img,
.anb-header .anb-logo img { max-height: 40px; width: auto; height: auto; }
.anb-header .anb-logo:has(.wp-block-site-logo img) .wp-block-site-title { display: none; }
.anb-header .anb-header__icons { display: contents !important; }
.anb-header .anb-search { grid-area: search; justify-self: center; width: 100%; max-width: 560px; }
.anb-header .wp-block-woocommerce-customer-account,
.anb-header .wc-block-customer-account { grid-area: account; }
.anb-header .anb-theme-toggle { grid-area: toggle; }
.anb-header .wc-block-mini-cart { grid-area: cart; }

/* Search: same colour as the header, thin outline, copper button inside */
.anb-header .anb-search .wp-block-search__inside-wrapper {
	background: var(--wp--preset--color--header);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--on-header) 40%, var(--wp--preset--color--header));
	border-radius: 10px;
	padding: 3px;
}
.anb-header .anb-search .wp-block-search__input { padding: 0.55rem 0.5rem 0.55rem 0.9rem; font-size: 0.9375rem; }
.anb-header .anb-search .wp-block-search__button {
	width: 40px;
	height: 40px;
	min-height: 40px;
	border-radius: 8px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
}
.anb-header .anb-search .wp-block-search__button:hover { background: var(--wp--custom--accent-hover); }
/* Log in, switch and basket */
.anb-header .wc-block-customer-account a,
.anb-header .wp-block-woocommerce-customer-account a {
	gap: 0.4rem;
	color: var(--wp--preset--color--on-header) !important;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}
.anb-header .wc-block-customer-account .wc-block-customer-account__label,
.anb-header .wp-block-woocommerce-customer-account .wc-block-customer-account__label { text-decoration: underline; text-underline-offset: 3px; }
.anb-header .wc-block-customer-account svg,
.anb-header .wp-block-woocommerce-customer-account svg,
.anb-header .wc-block-mini-cart__icon { color: var(--wp--preset--color--on-header); fill: currentColor; }
.anb-header .wc-block-customer-account a:hover,
.anb-header .wp-block-woocommerce-customer-account a:hover,
.anb-header .wc-block-mini-cart__button:hover { color: var(--wp--preset--color--accent) !important; }
.anb-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--on-header);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.anb-theme-toggle:hover { color: var(--wp--preset--color--accent); background: color-mix(in srgb, var(--wp--preset--color--on-header) 8%, var(--wp--preset--color--header)); }
.anb-theme-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--on-header); outline-offset: 2px; }
html[data-theme="dark"] .anb-theme-toggle__moon,
html:not([data-theme="dark"]) .anb-theme-toggle__sun { display: none; }
.anb-header .wc-block-mini-cart__button { color: var(--wp--preset--color--on-header) !important; }
.anb-header .wc-block-mini-cart__amount { color: var(--wp--preset--color--on-header); }

/* Menu bar: full width, a shade lighter than the header */
.anb-header .anb-nav {
	grid-area: nav;
	position: relative;
	isolation: isolate;
	justify-self: stretch;
	--anb-navbar: color-mix(in srgb, var(--wp--preset--color--on-header) 6%, var(--wp--preset--color--header));
}
.anb-header .anb-nav::before {
	content: "";
	position: absolute;
	inset: 0 -100vmax;
	z-index: -1;
	background: var(--anb-navbar);
	border-top: 1px solid var(--wp--preset--color--divider);
}
.anb-header .anb-nav .wp-block-navigation__container { flex-wrap: wrap !important; justify-content: center; column-gap: 1.75rem; row-gap: 0; }
.anb-header .anb-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding-block: 0.8rem; font-weight: 600; }
.anb-header .anb-nav .wp-block-navigation__submenu-container { z-index: 20; }

/* Tablet and phone: logo · Log in · switch · basket · menu button, then search full width */
@media (max-width: 1023px) {
	.anb-site-header .anb-header { padding-bottom: 0.875rem !important; }
	.anb-header .anb-header__row {
		grid-template-columns: auto minmax(0, 1fr) auto auto auto auto;
		grid-template-areas:
			"logo . account toggle cart nav"
			"search search search search search search";
		column-gap: 0.25rem;
	}
	.anb-header .anb-search { max-width: none; }
	.anb-header .anb-nav::before { display: none; }
.anb-header .wc-block-customer-account .wc-block-customer-account__label,
.anb-header .wp-block-woocommerce-customer-account .wc-block-customer-account__label { display: none; }
	.anb-header .anb-header__row > :first-child img,
	.anb-header .anb-logo img { max-height: 32px; }
}
