/*
 * Vitality Nutrition: component styles (Core Navy + Neon Mint).
 * Colours and fonts come from theme.json (Appearance › Editor › Styles), so changing a
 * colour there restyles everything below, including the free delivery bars.
 * Dark mode swaps the same colour slots, see "Dark mode" at the end.
 */

/* --------------------------------------------------------------
   Base
   -------------------------------------------------------------- */
body { -webkit-font-smoothing: antialiased; transition: background-color .2s ease, color .2s ease; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, .wp-block-site-title { font-stretch: 92%; }

.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: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}
.has-navy-background-color .is-style-eyebrow { color: var(--wp--preset--color--primary); }
p.is-style-pill {
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent);
	color: var(--wp--preset--color--on-primary);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}
.vt-link-arrow { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 800; }
.vt-link-arrow a { text-decoration: none; border-bottom: 2px solid var(--wp--preset--color--primary); padding-bottom: 2px; }
.vt-link-arrow a:hover { border-bottom-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--contrast); }
.vt-link-arrow a::after { content: " →"; }

/* Buttons: pill shaped. Mint with navy text by default. */
.wp-block-button__link,
.wp-element-button { transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.wp-block-button:not(.is-style-outline):not(.is-style-dark) > .wp-block-button__link:hover { box-shadow: 0 6px 18px rgb(54 236 222 / 0.35); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--line-strong);
	padding-top: calc(0.9375rem - 1px);
	padding-bottom: calc(0.9375rem - 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--tile);
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--contrast);
}
/* Outline button on a navy band */
.has-navy-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline.vt-on-navy > .wp-block-button__link {
	color: var(--wp--preset--color--on-navy);
	border-color: rgb(255 255 255 / 0.35);
}
.has-navy-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline.vt-on-navy > .wp-block-button__link:hover {
	background: rgb(255 255 255 / 0.08);
	border-color: var(--wp--preset--color--on-navy);
	color: var(--wp--preset--color--on-navy);
}
.wp-block-button.is-style-dark > .wp-block-button__link {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--on-navy);
}
.wp-block-button.is-style-dark > .wp-block-button__link:hover,
.wp-block-button.is-style-dark > .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--navy-soft);
	color: var(--wp--preset--color--on-navy);
}
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

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

/* --------------------------------------------------------------
   Header: navy top bar, white logo/search row, navy menu bar
   -------------------------------------------------------------- */
.vt-site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--wp--preset--color--line); }
.admin-bar .vt-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .vt-site-header { top: 0; } }
.vt-site-header:has(.wp-block-navigation__responsive-container.is-menu-open) { z-index: 100001; }

.vt-topbar p { margin: 0; font-weight: 600; letter-spacing: 0.01em; }
.vt-topbar__msg--uk::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 12px;
	margin-inline-end: 0.5rem;
	vertical-align: -1px;
	border-radius: 2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23b)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}
@media (max-width: 720px) { .vt-topbar__msg--secondary { display: none; } }

/* Dispatch countdown ([vt_dispatch]) */
.vt-dispatch { display: inline-flex; align-items: center; gap: 0.5rem; }
.vt-dispatch__icon { display: inline-flex; color: var(--wp--preset--color--primary); }
.vt-dispatch__icon svg { width: 16px; height: 16px; }
.vt-hero__dispatch { margin: 0.25rem 0 0; }
.vt-hero__dispatch .vt-dispatch__icon,
.vt-page-hero .vt-dispatch__icon { color: var(--wp--preset--color--contrast); }
.vt-product__dispatch { margin: 0; }
.vt-product__dispatch .vt-dispatch {
	display: flex;
	padding: 0.6rem 1rem;
	border-radius: 12px;
	font-weight: 600;
	background: color-mix(in srgb, var(--wp--preset--color--primary) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 50%, transparent);
}
.vt-product__dispatch .vt-dispatch__icon { color: var(--wp--preset--color--contrast); }

.vt-header .vt-header__row { gap: 2rem; }
.vt-logo-wrap { flex: 0 0 auto; gap: 0 !important; }
.vt-logo-wrap > * { margin: 0 !important; }
.vt-header .vt-logo { margin: 0; font-size: 1.75rem !important; font-weight: 900; font-stretch: 112%; letter-spacing: 0.01em; line-height: 1; }
.vt-header .vt-logo a { text-transform: uppercase; color: var(--wp--preset--color--navy); }
html[data-theme="dark"] .vt-header .vt-logo a { color: var(--wp--preset--color--contrast); }
.vt-logo__tagline { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--muted); }

/* Big search with a square mint button */
.vt-header .vt-search { margin: 0; flex: 1 1 auto; max-width: 560px; }
.vt-header .vt-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 10px;
	padding: 3px;
	background: var(--wp--preset--color--tile);
}
.vt-header .vt-search .wp-block-search__input {
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	padding: 0.5rem 0.4rem 0.5rem 0.9rem;
	font-size: var(--wp--preset--font-size--small);
	min-width: 0;
}
.vt-header .vt-search .wp-block-search__input:focus { outline: none; }
.vt-header .vt-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary) 30%, transparent); }
.vt-header .vt-search .wp-block-search__button {
	margin: 0;
	width: 40px;
	height: 38px;
	padding: 0;
	border-radius: 8px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.vt-header .vt-search .wp-block-search__button:hover { background: var(--wp--preset--color--primary-hover); }
.vt-header .vt-search .wp-block-search__button svg { width: 20px; height: 20px; fill: currentColor; }

.vt-header__icons { flex: 0 0 auto; }
.vt-header__icons > * { margin: 0 !important; }
.vt-header__icons .wc-block-customer-account a,
.vt-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.4rem;
	color: var(--wp--preset--color--contrast) !important;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none !important;
}
.vt-header__icons .wc-block-customer-account a * { text-decoration: none; }
.vt-header__icons .wc-block-mini-cart__amount { display: inline !important; font-size: var(--wp--preset--font-size--small); font-weight: 700; white-space: nowrap; }
.vt-header__icons .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--on-primary) !important;
	font-weight: 800;
}

/* Light/dark switch ([vt_theme_toggle]) */
.vt-toggle-wrap { margin: 0; line-height: 0; }
.vt-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--contrast);
	cursor: pointer;
}
.vt-theme-toggle:hover { background: var(--wp--preset--color--surface); }
.vt-theme-toggle__sun { display: none; }
.vt-theme-toggle__moon, .vt-theme-toggle__sun { line-height: 0; }
html[data-theme="dark"] .vt-theme-toggle__sun { display: inline; }
html[data-theme="dark"] .vt-theme-toggle__moon { display: none; }

/* Navy menu bar */
.vt-navbar .vt-nav { min-height: 48px; }
.vt-navbar .wp-block-navigation-item__content { padding-block: 0.85rem; color: var(--wp--preset--color--on-navy); font-weight: 600; }
.vt-navbar .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--primary); }
.vt-navbar .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--navy-soft) !important;
	border-radius: 12px;
	padding: 0.5rem 0;
	min-width: 230px !important;
	background: var(--wp--preset--color--navy) !important;
	box-shadow: 0 20px 50px rgb(0 0 0 / 0.25);
}
.vt-navbar .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.55rem 1.1rem !important; }
.vt-navbar .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--navy-soft); }

@media (max-width: 1023px) {
	.vt-header .vt-header__row { flex-wrap: wrap !important; row-gap: 0.75rem; }
	.vt-logo-wrap { order: 1; }
	.vt-header__icons { order: 2; margin-inline-start: auto; }
	.vt-header .vt-search { order: 3; flex: 1 1 100%; max-width: none; }
	.vt-header .vt-search .wp-block-search__input { width: 100%; }
	.vt-header__icons .wc-block-customer-account__link .label,
	.vt-header__icons .wc-block-mini-cart__amount { display: none !important; }
	.vt-header .vt-logo { font-size: 1.4rem !important; }
	.vt-navbar .vt-nav { min-height: 44px; justify-content: flex-start !important; }
	.vt-navbar .wp-block-navigation__responsive-container-open { display: flex; min-width: 44px; min-height: 44px; align-items: center; color: var(--wp--preset--color--on-navy); }
	.vt-navbar .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
	.vt-navbar .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.vt-navbar .wp-block-navigation__responsive-container.is-menu-open { display: flex; }
}
.vt-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.25rem; font-size: 1.0625rem; }
.vt-navbar .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;
}
.vt-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle { display: none; }

/* --------------------------------------------------------------
   Home
   -------------------------------------------------------------- */
.vt-hero,
.vt-page-hero {
	background: linear-gradient(180deg, var(--wp--preset--color--tile) 0%, var(--wp--preset--color--base) 100%);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.vt-hero__title {
	margin: 0;
	font-size: clamp(2rem, 3.6vw, 3.1rem) !important;
	font-weight: 900;
	line-height: 1.04;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	font-stretch: 96%;
	color: var(--wp--preset--color--navy);
}
html[data-theme="dark"] .vt-hero__title { color: var(--wp--preset--color--contrast); }
.vt-hero__intro { margin: 0.25rem 0 0; max-width: 32rem; line-height: 1.55; }
.vt-hero .wp-block-button__link { border-radius: 8px; }

/* Three product photos, best seller in front, with a round mint badge */
.vt-hero__products { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 360px; padding-top: 2rem; }
.vt-hero__products > .wp-block-image { margin: 0 !important; flex: 0 0 auto; mix-blend-mode: multiply; }
html[data-theme="dark"] .vt-hero__products > .wp-block-image,
html[data-theme="dark"] .vt-banner__products > .wp-block-image { mix-blend-mode: normal; }
.vt-hero__products > .wp-block-image img { display: block; width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
html[data-theme="dark"] .vt-hero__products > .wp-block-image img { mix-blend-mode: normal; }
.vt-hero__products > .wp-block-image { width: 34%; }
.vt-hero__products--3 > .wp-block-image:nth-child(2) { width: 44%; margin-inline: -9% !important; position: relative; z-index: 2; }
.vt-hero__products--3 > .wp-block-image:nth-child(1),
.vt-hero__products--3 > .wp-block-image:nth-child(3) { transform: translateY(-4%); }
.vt-hero__products--1 > .wp-block-image { width: 60%; }
.vt-hero__badge {
	position: absolute;
	top: 0;
	left: 18%;
	z-index: 3;
	width: 96px;
	height: 96px;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
	font-size: 0.78rem;
	font-weight: 900;
	line-height: 1.15;
	box-shadow: 0 10px 24px rgb(54 236 222 / 0.35);
	transform: rotate(-8deg);
}

/* Trust badges list (pattern vt/trust-badges) */
.vt-trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 2.25rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}
.vt-trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.vt-trust li::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300203F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.vt-product__summary .vt-trust { justify-content: flex-start; gap: 0.6rem 1.25rem; font-size: var(--wp--preset--font-size--x-small); }

.vt-section__head { margin-bottom: 1rem; gap: 0.75rem; }
.vt-section__head h2 { margin: 0; }
.vt-section__title { font-family: var(--wp--preset--font-family--body); font-size: 1.5rem !important; font-weight: 700; letter-spacing: -0.01em; }
.vt-see-all { margin: 0; font-size: var(--wp--preset--font-size--small); }
.vt-see-all a { color: var(--wp--preset--color--muted); text-decoration: none; }
.vt-see-all a:hover { color: var(--wp--preset--color--contrast); }

/* White panels used on the homepage */
.vt-catlist,
.vt-banner,
.vt-featcat__card,
.vt-cattile {
	background: var(--wp--preset--color--tile);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	box-shadow: var(--wp--custom--shadow);
}

/* Category list card */
.vt-catlist { padding: 1rem 0.5rem; height: 100%; box-sizing: border-box; }
.vt-catlist > * { margin: 0 !important; }
.vt-catlist__title { font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small) !important; font-weight: 800; padding: 0 0.75rem 0.4rem; }
.vt-catlist__list { list-style: none; margin: 0; padding: 0; }
.vt-catlist__list li { margin: 0; }
.vt-catlist__list .children { display: none; }
.vt-catlist__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.45rem 0.75rem;
	border-radius: 8px;
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}
.vt-catlist__list a::after { content: "›"; font-size: 1.1rem; line-height: 1; color: var(--wp--preset--color--muted); }
.vt-catlist__list a:hover { background: var(--wp--preset--color--surface); }
@media (max-width: 781px) { .vt-catlist-col { flex-basis: 100% !important; } }

/* Promo banner */
.vt-banner { background: linear-gradient(120deg, var(--wp--preset--color--surface), var(--wp--preset--color--tile)); }
.vt-banner__title { margin: 0; font-family: var(--wp--preset--font-family--body); font-weight: 800; letter-spacing: -0.01em; }
.vt-banner p { margin: 0; }
.vt-banner .wp-block-button__link,
.vt-featcat .wp-block-button__link { border-radius: 8px; padding: 0.65rem 1.25rem; }
.vt-banner__products { gap: 0 !important; }
.vt-banner__products > .wp-block-image { margin: 0 !important; width: 24%; flex: 0 0 auto; mix-blend-mode: multiply; }
.vt-banner__products > .wp-block-image:nth-child(2) { width: 30%; margin-inline: -3% !important; position: relative; z-index: 2; }
.vt-banner__products img { width: 100%; height: auto; mix-blend-mode: multiply; }
html[data-theme="dark"] .vt-banner__products img { mix-blend-mode: normal; }

/* Featured category card */
.vt-featcat__card { padding: 1.5rem; height: 100%; box-sizing: border-box; background: linear-gradient(120deg, var(--wp--preset--color--surface), var(--wp--preset--color--tile)); }
.vt-featcat__text { flex: 1 1 55%; }
.vt-featcat__text > * { margin: 0 !important; }
.vt-featcat__text > * + * { margin-top: 0.6rem !important; }
.vt-featcat__title { font-family: var(--wp--preset--font-family--body); font-size: 1.6rem !important; font-weight: 800; }
.vt-featcat__img { flex: 0 1 45%; margin: 0 !important; }
.vt-featcat__img img { width: 100%; height: auto; mix-blend-mode: multiply; }
html[data-theme="dark"] .vt-featcat__img img { mix-blend-mode: normal; }

/* Category tiles */
.vt-cattiles { gap: 1rem !important; }
.vt-cattile { position: relative; padding: 1rem; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.vt-cattile:hover { transform: translateY(-3px); border-color: var(--wp--preset--color--primary); }
.vt-cattile > * { margin: 0 !important; }
.vt-cattile__img { aspect-ratio: 1; border-radius: 10px; background: var(--wp--preset--color--surface); overflow: hidden; }
.vt-cattile__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
html[data-theme="dark"] .vt-cattile__img img { mix-blend-mode: normal; }
.vt-cattile__name { margin-top: 0.75rem !important; font-weight: 800; }
.vt-cattile__name a { text-decoration: none; }
.vt-cattile__name a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 781px) { .vt-cattiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

.vt-brands__title { margin-bottom: 1rem; font-family: var(--wp--preset--font-family--body); font-weight: 700; }
.vt-pill .wp-block-button__link { padding: 0.65rem 1.3rem !important; font-weight: 700; background: var(--wp--preset--color--tile) !important; }
.vt-pill .wp-block-button__link:hover { border-color: var(--wp--preset--color--navy) !important; }

.vt-why h2 { margin-bottom: 1.5rem; }
.vt-why__cards { gap: 16px !important; margin-block: 0 1.5rem; }
.vt-why__card { padding: 24px; border-radius: var(--wp--custom--radius); background: var(--wp--preset--color--navy); color: var(--wp--preset--color--on-navy); }
.vt-why__card > * { margin: 0; }
.vt-why__card > * + * { margin-top: 0.5rem; }
.vt-why__num { font-family: var(--wp--preset--font-family--heading); font-size: 2rem; font-weight: 900; line-height: 1; color: var(--wp--preset--color--primary); }
.vt-why__title { font-size: 1.1875rem; font-weight: 800; color: var(--wp--preset--color--on-navy); }
.vt-why__text { font-size: 0.9rem; color: rgb(255 255 255 / 0.75); line-height: 1.5; }

.vt-signup { border: 1px solid var(--wp--preset--color--line); box-shadow: var(--wp--custom--shadow); }
.vt-signup h2 { margin: 0; }
.vt-signup p { margin: 0; }
.vt-signup__form .fluentform .ff-el-group { margin-bottom: 0.75rem; }
.vt-signup__form .fluentform input[type="email"],
.vt-signup__form .fluentform .ff-el-form-control {
	border-radius: 999px !important;
	border: 1px solid var(--wp--preset--color--line-strong) !important;
	background: var(--wp--preset--color--tile) !important;
	min-height: 50px;
	padding: 0.75rem 1.25rem !important;
	font: inherit;
}
.vt-signup__form .fluentform .ff-btn-submit {
	border-radius: 999px !important;
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--on-primary) !important;
	border: 0 !important;
	min-height: 50px;
	padding: 0.75rem 2rem !important;
	font-weight: 800 !important;
}
.vt-signup__form .fluentform .ff-btn-submit:hover { background: var(--wp--preset--color--primary-hover) !important; }

/* --------------------------------------------------------------
   Product cards: white tile, photo, brand, name, price + round mint basket button
   -------------------------------------------------------------- */
.vt-cards { gap: 1rem !important; }
.vt-cards.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.vt-cards.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.vt-cards.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1023px) { .vt-cards.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 781px) { .vt-cards.columns-3, .vt-cards.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.75rem !important; } }
.vt-cards > li {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	text-align: start;
	padding: 12px;
	background: var(--wp--preset--color--tile);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	box-shadow: var(--wp--custom--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.vt-cards > li:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(0 32 63 / 0.08), 0 16px 32px rgb(0 32 63 / 0.1); }
.vt-cards > li > * { margin: 0 !important; }
.vt-cards .vt-card__media,
.vt-cards .wc-block-components-product-image {
	border-radius: 10px;
	overflow: hidden;
	background: var(--wp--preset--color--tile);
	margin-bottom: 0.4rem !important;
}
.vt-cards .vt-card__media img { transition: transform .5s ease; }
.vt-cards > li:hover .vt-card__media img { transform: scale(1.04); }
.vt-card__brand {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.vt-card__brand a { color: inherit; text-decoration: none; }
.vt-card__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.92rem !important;
	font-weight: 500;
	line-height: 1.35;
	min-height: 2.7em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vt-card__title a { text-decoration: none; }
.vt-card__foot { margin-top: auto !important; padding-top: 0.35rem; }
.vt-card__foot > * { margin: 0 !important; }
.vt-card__price { font-size: 1rem; font-weight: 800; }
.vt-card__price del { font-weight: 500; color: var(--wp--preset--color--muted); font-size: 0.85em; }
.vt-card__price ins { text-decoration: none; }
.vt-card__price .woocommerce-price-suffix,
.vt-product__price .woocommerce-price-suffix { font-size: 0.75em; font-weight: 400; color: var(--wp--preset--color--muted); }

/* Round mint basket button. The text stays for screen readers, the icon shows on screen. */
.vt-card__button { flex: 0 0 auto; width: auto !important; }
.vt-card__button .wp-block-button__link,
.vt-card__button .wc-block-components-product-button__button {
	position: relative;
	width: 40px !important;
	height: 40px;
	min-height: 0;
	padding: 0 !important;
	border-radius: 10px !important;
	font-size: 0 !important;
	color: transparent !important;
	overflow: hidden;
	background: var(--wp--preset--color--primary);
	box-shadow: none;
}
.vt-card__button .wc-block-components-product-button__button::before,
.vt-card__button .wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	background: var(--wp--preset--color--on-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3Cpath d='M12 7v6M9 10h6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3Cpath d='M12 7v6M9 10h6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vt-card__button--view .wc-block-components-product-button__button::before,
.vt-card__button--view .wp-block-button__link::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}
.vt-card__button--view .wc-block-components-product-button__button { background: var(--wp--preset--color--surface) !important; }
.vt-card__button--view .wc-block-components-product-button__button::before { background: var(--wp--preset--color--contrast); }
.vt-card__button .wc-block-components-product-button__button:hover { background: var(--wp--preset--color--primary-hover); }
.vt-card__button .wc-block-components-product-button__button.loading::before,
.vt-card__button .wc-block-components-product-button__button.is-loading::before { opacity: 0.4; }
.vt-card__button .added_to_cart,
.vt-card__button .wc-block-components-product-button__button + a { display: none !important; }

/* --------------------------------------------------------------
   Shop
   -------------------------------------------------------------- */
.vt-page-hero h1 { margin: 0; font-weight: 900; text-transform: uppercase; color: var(--wp--preset--color--navy); }
html[data-theme="dark"] .vt-page-hero h1 { color: var(--wp--preset--color--contrast); }
.vt-page-hero .wp-block-term-description,
.vt-page-hero .vt-shop-intro { margin-block: 0; color: var(--wp--preset--color--muted) !important; padding-inline-end: max(0px, calc(100% - 46rem)); box-sizing: border-box; }
.vt-page-hero .wp-block-term-description p { margin: 0; }
.vt-page-hero .is-style-eyebrow { color: var(--wp--preset--color--contrast); letter-spacing: 0.02em; text-transform: none; font-weight: 600; }
.vt-shop__toolbar { margin-bottom: 1.25rem !important; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.vt-shop__toolbar > * { margin: 0 !important; }
.vt-shop__toolbar select { border-radius: 999px; padding: 0.45rem 0.9rem; }
.vt-shop__filters .wc-block-product-filters { display: grid; gap: 1.75rem; }
.vt-filter__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.vt-shop__filters .wc-block-product-filter-checkbox-list__label { font-size: var(--wp--preset--font-size--small); }
.vt-shop__filters input[type="checkbox"] { accent-color: var(--wp--preset--color--navy); }
.vt-shop__filters .wc-block-product-filter-price-slider .wc-block-product-filter-price-slider__range { --range-color: var(--wp--preset--color--navy); }
/* Brand chips: white pills, navy when chosen */
.vt-filter--brand .wc-block-product-filter-chips__items { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vt-filter--brand .wc-block-product-filter-chips__item {
	border: 1px solid var(--wp--preset--color--line-strong) !important;
	border-radius: 999px !important;
	background: var(--wp--preset--color--tile) !important;
	color: var(--wp--preset--color--contrast) !important;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--x-small);
	padding: 0.45rem 0.9rem !important;
}
.vt-filter--brand .wc-block-product-filter-chips__item[aria-checked="true"] {
	background: var(--wp--preset--color--navy) !important;
	border-color: var(--wp--preset--color--navy) !important;
	color: var(--wp--preset--color--on-navy) !important;
}
.vt-pagination { margin-top: 2.5rem; gap: 0.5rem; }
.vt-pagination .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; background: var(--wp--preset--color--tile); }
.vt-pagination .page-numbers.current { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--on-navy); }
@media (max-width: 781px) {
	.vt-shop { flex-direction: column-reverse; }
	.vt-shop .vt-shop__filters { flex-basis: auto !important; }
}

/* --------------------------------------------------------------
   Single product
   -------------------------------------------------------------- */
.vt-product-card { border: 1px solid var(--wp--preset--color--line); box-shadow: var(--wp--custom--shadow); margin-top: 1rem !important; }
@media (max-width: 600px) { .vt-product-card { padding: 1rem !important; } }
.vt-product__gallery .woocommerce-product-gallery,
.vt-product__gallery .images { width: 100% !important; float: none !important; margin: 0 !important; }
.vt-product__gallery .woocommerce-product-gallery__wrapper,
.vt-product__gallery .flex-viewport { border-radius: var(--wp--custom--radius); overflow: hidden; background: var(--wp--preset--color--surface); }
.vt-product__gallery .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin-top: 0.75rem !important; }
.vt-product__gallery .flex-control-thumbs li { width: auto !important; margin: 0 !important; }
.vt-product__gallery .flex-control-thumbs img { border-radius: 10px; opacity: 0.6; }
.vt-product__gallery .flex-control-thumbs img.flex-active,
.vt-product__gallery .flex-control-thumbs img:hover { opacity: 1; }
.vt-product__gallery .woocommerce-product-gallery__trigger { inset-inline-end: 1rem; inset-inline-start: auto; top: 1rem; background: var(--wp--preset--color--tile); border-radius: 50%; }
.vt-product__brand { display: inline-block; align-self: flex-start; padding: 0.3rem 0.75rem; border-radius: 999px; background: color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent); color: var(--wp--preset--color--contrast); }
.vt-product__title { margin: 0; line-height: 1.1; }
.vt-product__summary .wp-block-post-excerpt__excerpt { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.vt-add-to-cart form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0; }
.vt-add-to-cart .stock { flex-basis: 100%; margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 700; color: var(--wp--preset--color--muted); }
.vt-add-to-cart .quantity input.qty {
	height: 52px;
	width: 4.75rem;
	padding: 0 0.5rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 999px;
	background: var(--wp--preset--color--tile);
	color: var(--wp--preset--color--contrast);
	text-align: center;
	font: inherit;
	font-weight: 700;
}
.vt-add-to-cart .single_add_to_cart_button {
	min-height: 52px;
	padding-inline: 2.25rem !important;
	font-size: 1rem !important;
	cursor: pointer;
	flex: 1 1 12rem;
}
.vt-product__info p { margin: 0; line-height: 1.55; }
.vt-product__meta { font-size: 0.8125rem; font-weight: 500; color: var(--wp--preset--color--muted); }
.vt-product__meta a { color: inherit; }

/* Tabs */
.vt-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--line-strong);
	list-style: none;
	overflow-x: auto;
}
.vt-tabs .wc-tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.vt-tabs .wc-tabs li::before,
.vt-tabs .wc-tabs li::after { display: none !important; }
.vt-tabs .wc-tabs li a {
	display: block;
	padding: 0.85rem 0 !important;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	color: var(--wp--preset--color--muted) !important;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}
.vt-tabs .wc-tabs li.active a { color: var(--wp--preset--color--contrast) !important; border-bottom-color: var(--wp--preset--color--primary); }
.vt-tabs .woocommerce-Tabs-panel { font-size: 0.9375rem; color: var(--wp--preset--color--contrast); max-width: 52rem; }
.vt-tabs .woocommerce-Tabs-panel > h2:first-child { display: none; }
.vt-tabs .woocommerce-Tabs-panel h2,
.vt-tabs .woocommerce-Tabs-panel h3 { font-size: 1.25rem; }
/* Nutrition / dosage tables written in the description */
.vt-tabs table,
.vt-tabs table.shop_attributes { border: 0; border-collapse: collapse; width: 100%; max-width: 40rem; }
.vt-tabs table th,
.vt-tabs table td { border: 0; border-bottom: 1px solid var(--wp--preset--color--line-strong); padding: 0.7rem 0.5rem 0.7rem 0; background: none; font-style: normal; text-align: start; }
.vt-tabs table th { width: 40%; font-weight: 700; }
.vt-tabs table td p { margin: 0; }
.vt-related:not(:has(.wc-block-product)):not(:has(li)) { display: none; }

/* --------------------------------------------------------------
   Cart, checkout, forms
   -------------------------------------------------------------- */
.vt-wc-page .wp-block-post-title { margin-bottom: var(--wp--preset--spacing--30); }
.vt-wc-page > .wp-block-post-title.alignwide { max-width: var(--wp--style--global--wide-size) !important; }
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--on-primary) !important;
	border-radius: 999px !important;
	font-weight: 800;
	min-height: 52px;
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover { background: var(--wp--preset--color--primary-hover) !important; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select select { border-radius: 12px !important; border-color: var(--wp--preset--color--line-strong) !important; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-inline-end: var(--wp--preset--spacing--30); }
.wc-block-components-totals-wrapper,
.wc-block-cart .wc-block-components-sidebar { border-color: var(--wp--preset--color--line) !important; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
	border-radius: 12px;
	border: 1px solid var(--wp--preset--color--line-strong);
	background: var(--wp--preset--color--tile);
	color: var(--wp--preset--color--contrast);
}
.wc-block-components-notice-banner { border-radius: 12px; }
.wc-block-components-product-badge,
.wc-block-components-sale-badge { border-radius: 999px; }

/* --------------------------------------------------------------
   Free delivery progress bar
   -------------------------------------------------------------- */
.vt-fdb {
	--vt-fdb-fill: var(--wp--preset--color--accent);
	--vt-fdb-done: var(--wp--preset--color--accent);
	margin: 0 0 var(--wp--preset--spacing--30);
	padding: 1rem 1.15rem 1.15rem;
	background: var(--wp--preset--color--tile);
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
}
.vt-fdb[hidden] { display: none; }
.vt-fdb.is-done { background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, var(--wp--preset--color--tile)); border-color: color-mix(in srgb, var(--wp--preset--color--accent) 50%, transparent); }
.vt-fdb__head { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.vt-fdb__icon { display: inline-flex; color: var(--wp--preset--color--contrast); flex: 0 0 auto; }
.vt-fdb__msg { margin: 0; flex: 1 1 14rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; line-height: 1.45; }
.vt-fdb__msg [hidden] { display: none !important; }
.vt-fdb__amount { font-weight: 800; color: var(--wp--preset--color--contrast); white-space: nowrap; }
.vt-fdb__done { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; color: var(--wp--preset--color--contrast); }
.vt-fdb__cta {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--vt-fdb-fill);
	white-space: nowrap;
}
.vt-fdb__cta[hidden] { display: none; }
.vt-fdb__track {
	position: relative;
	height: 8px;
	margin-top: 0.8rem;
	border-radius: 999px;
	background: var(--wp--preset--color--line);
	overflow: hidden;
}
.vt-fdb__fill {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	border-radius: inherit;
	background: var(--vt-fdb-fill);
	transition: width .6s cubic-bezier(.2, .8, .2, 1), background-color .3s ease;
}
.vt-fdb.is-done .vt-fdb__fill { background: var(--vt-fdb-done); }
.vt-fdb--checkout { margin-bottom: var(--wp--preset--spacing--40); }
.vt-fdb--mini-cart { margin: 1.75rem 1rem 0.5rem; padding: 0.85rem 1rem; border-radius: 14px; background: var(--wp--preset--color--surface); }
.wc-block-mini-cart__drawer .wc-block-mini-cart__title { font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; font-weight: 800; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button { min-height: 48px; padding: 0.75rem 1rem; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button {
	background: transparent !important;
	border: 1px solid var(--wp--preset--color--line-strong) !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--contrast) !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button:hover { background: var(--wp--preset--color--surface) !important; }
.wc-block-components-drawer__close { border-radius: 50%; }
.vt-fdb--mini-cart .vt-fdb__icon { display: none; }

/* Sitewide bar: inside the sticky header, slides open once the basket has something in it. */
.vt-gfdb {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
	background: var(--wp--preset--color--navy-soft);
	color: var(--wp--preset--color--on-navy);
}
.vt-gfdb.is-open { grid-template-rows: 1fr; opacity: 1; }
.vt-gfdb.no-anim { transition: none; }
.vt-gfdb__inner { min-height: 0; overflow: hidden; }
.vt-gfdb:not(.is-open) .vt-gfdb__inner { visibility: hidden; }
.vt-fdb--global {
	display: flex;
	align-items: center;
	gap: 0.6rem 1.5rem;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0.55rem var(--wp--style--root--padding-right, 1.5rem) 0.6rem var(--wp--style--root--padding-left, 1.5rem);
	background: transparent !important;
	border: 0;
	border-radius: 0;
	color: var(--wp--preset--color--on-navy);
}
.vt-fdb--global .vt-fdb__icon,
.vt-fdb--global .vt-fdb__amount,
.vt-fdb--global .vt-fdb__done,
.vt-fdb--global .vt-fdb__cta { color: var(--wp--preset--color--on-navy); }
.vt-fdb--global .vt-fdb__amount { color: var(--wp--preset--color--primary); }
.vt-fdb--global .vt-fdb__track { background: rgb(255 255 255 / 0.15); }
.vt-fdb--global .vt-fdb__head { flex: 0 1 auto; flex-wrap: nowrap; gap: 0.6rem 1rem; }
.vt-fdb--global .vt-fdb__msg { flex: 0 1 auto; font-size: 0.85rem; }
.vt-fdb--global .vt-fdb__icon svg { width: 20px; height: 20px; }
.vt-fdb--global .vt-fdb__track { flex: 1 1 40%; margin-top: 0; height: 6px; min-width: 120px; }
@media (max-width: 781px) {
	.vt-fdb--global { flex-direction: column; align-items: stretch; gap: 0.4rem; padding-top: 0.5rem; padding-bottom: 0.55rem; }
	.vt-fdb--global .vt-fdb__icon,
	.vt-fdb--global .vt-fdb__cta { display: none; }
	.vt-fdb--global .vt-fdb__msg { font-size: 0.8rem; text-align: center; }
	.vt-fdb--global .vt-fdb__track { flex: 0 0 auto; width: 100%; height: 4px; }
}

/* --------------------------------------------------------------
   Out of stock: Notify me + View similar
   -------------------------------------------------------------- */
.vt-oos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	align-items: start;
	margin: 0.25rem 0 0;
}
.vt-oos .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding-inline: 1rem;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.25;
}
.vt-oos .vt-oos__similar.wp-element-button {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--line-strong);
}
.vt-oos .vt-oos__similar.wp-element-button:hover,
.vt-oos .vt-oos__similar.wp-element-button:focus-visible {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
}
@media (max-width: 480px) {
	.vt-oos { grid-template-columns: 1fr; }
}
.vt-related { scroll-margin-top: 180px; }
.vt-related:focus { outline: none; }

/* Notify me dialog */
.vt-notify {
	width: min(92vw, 460px);
	max-height: calc(100dvh - 2rem);
	margin: auto !important;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: var(--wp--preset--color--tile);
	color: var(--wp--preset--color--contrast);
	box-shadow: 0 24px 64px rgb(0 32 63 / 0.3);
	overflow: hidden;
}
.vt-notify::backdrop { background: rgb(0 32 63 / 0.6); }
.vt-notify[open] { animation: vt-notify-in .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes vt-notify-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.vt-notify__form { position: relative; display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem 1.75rem 1.75rem; border-top: 4px solid var(--wp--preset--color--accent); }
.vt-notify__close { position: absolute; top: 0.5rem; inset-inline-end: 0.5rem; width: 44px; height: 44px; border: 0; background: none; font-size: 1.75rem; line-height: 1; color: var(--wp--preset--color--contrast); cursor: pointer; }
.vt-notify__title { margin: 0; font-size: var(--wp--preset--font-size--large); line-height: 1.2; padding-inline-end: 2rem; }
.vt-notify__fields { display: flex; flex-direction: column; gap: 0.75rem; }
.vt-notify__fields[hidden] { display: none; }
.vt-notify__text, .vt-notify__small { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.vt-notify__small { font-size: var(--wp--preset--font-size--x-small); }
.vt-notify__label { font-size: var(--wp--preset--font-size--x-small); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.vt-notify__input { width: 100%; min-height: 50px; padding: 0.75rem 1rem; border: 1px solid var(--wp--preset--color--line-strong); border-radius: 12px; background: var(--wp--preset--color--tile); color: inherit; font: inherit; box-sizing: border-box; }
.vt-notify__input:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: transparent; }
.vt-notify__submit.wp-element-button { min-height: 52px; cursor: pointer; }
.vt-notify__submit.is-loading { opacity: 0.6; pointer-events: none; }
.vt-notify__msg { margin: 0; padding: 0.9rem 1rem; background: var(--wp--preset--color--surface); border-inline-start: 4px solid var(--wp--preset--color--accent); font-weight: 600; }
.vt-notify__msg.is-error { border-inline-start-color: #B3261E; }
.vt-notify__msg[hidden] { display: none; }
.vt-notify:not([open]) { display: none; }
@supports not selector(dialog::backdrop) { .vt-notify { display: block; position: static; width: auto; margin-top: 1rem; } }

/* --------------------------------------------------------------
   Sticky Add to basket bar
   -------------------------------------------------------------- */
.vt-satc {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 90;
	background: var(--wp--preset--color--tile);
	color: var(--wp--preset--color--contrast);
	border-top: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 -10px 30px rgb(0 32 63 / 0.12);
	padding: 0.6rem clamp(0.75rem, 4vw, 1.25rem) calc(0.6rem + env(safe-area-inset-bottom, 0px));
	transform: translateY(110%);
	transition: transform .3s cubic-bezier(.2, .8, .2, 1);
	display: none;
}
.vt-satc.is-visible { transform: translateY(0); }
.vt-satc__inner { display: flex; align-items: center; gap: 0.75rem; max-width: 1320px; margin: 0 auto; }
.vt-satc__img { width: 52px !important; height: 52px !important; object-fit: contain; background: var(--wp--preset--color--surface); border-radius: 10px; flex: 0 0 auto; padding: 3px; box-sizing: border-box; }
.vt-satc__text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.25; }
.vt-satc__designer { color: var(--wp--preset--color--muted); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.vt-satc__title { font-size: 0.82rem; color: var(--wp--preset--color--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-satc__price { font-size: 0.95rem; font-weight: 800; }
.vt-satc__price del { font-weight: 400; color: var(--wp--preset--color--muted); }
.vt-satc__button.wp-element-button {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0.8rem 1.2rem;
	font-size: 0.85rem;
	white-space: nowrap;
	cursor: pointer;
	position: relative;
}
.vt-satc__button.is-loading { color: transparent !important; pointer-events: none; }
.vt-satc__button.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 18px;
	height: 18px;
	border: 2px solid var(--wp--preset--color--on-primary);
	border-inline-end-color: transparent;
	border-radius: 50%;
	animation: vt-spin .7s linear infinite;
}
@keyframes vt-spin { to { transform: rotate(360deg); } }

@media (max-width: 781px) {
	.vt-satc { display: block; }
	body.has-vt-satc { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 782px) {
	.vt-satc--desktop { display: block; }
	.vt-satc--desktop .vt-satc__img { width: 60px !important; height: 60px !important; }
	body.has-vt-satc:has(.vt-satc--desktop) { padding-bottom: 84px; }
}

/* --------------------------------------------------------------
   Footer and newsletter
   -------------------------------------------------------------- */
.vt-footer a { text-decoration: none; }
.vt-footer a:hover { text-decoration: underline; color: var(--wp--preset--color--primary); }
.vt-footer__trust .vt-trust { color: var(--wp--preset--color--on-navy); }
.vt-footer__brand { margin: 0 0 0.75rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.375rem; }
.vt-footer__about { color: rgb(255 255 255 / 0.75); max-width: 20rem; margin: 0 0 0.75rem; }
.vt-footer__heading {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: inherit;
	margin: 0 0 1rem;
}
.vt-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-size: var(--wp--preset--font-size--small); }
.vt-footer__links a { color: rgb(255 255 255 / 0.8); }
.vt-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vt-chips li {
	padding: 0.35rem 0.75rem;
	border-radius: 8px;
	border: 1px solid rgb(255 255 255 / 0.16);
	background: rgb(255 255 255 / 0.06);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}
.vt-chips--payments li { background: #FFFFFF; color: #00203F; border-color: #FFFFFF; }
.vt-footer__legal p { margin: 0 0 0.4rem; color: rgb(255 255 255 / 0.65); line-height: 1.6; }

.vt-newsletter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vt-newsletter input[type="email"] {
	flex: 1 1 14rem;
	min-height: 50px;
	padding: 0 1.25rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 999px;
	background: var(--wp--preset--color--tile);
	color: inherit;
	font: inherit;
}
.vt-newsletter .wp-element-button { min-height: 50px; cursor: pointer; }
.vt-newsletter__msg { flex-basis: 100%; font-size: var(--wp--preset--font-size--small); margin: 0.25rem 0 0; }
.vt-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------
   Phones and tablets
   -------------------------------------------------------------- */
@media (max-width: 1023px) {
	.vt-goals { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.vt-footer__cols { flex-wrap: wrap !important; }
	.vt-footer__cols > .wp-block-column { flex-basis: calc(50% - 1rem) !important; }
}
@media (max-width: 781px) {
	.vt-why__cards { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
	.vt-goals { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.vt-goal { min-height: 130px; }
	.vt-signup { padding: 2rem 1.5rem !important; }
	.vt-hero .vt-hero__media { min-height: 260px !important; }
	.vt-trust { justify-content: flex-start; gap: 0.6rem 1.5rem; }
	.vt-footer__cols > .wp-block-column { flex-basis: 100% !important; }
}

/* --------------------------------------------------------------
   Dark mode (the switch in the header). Swaps the colour slots from theme.json,
   so every block that uses them follows. Navy bands stay navy, mint stays mint.
   -------------------------------------------------------------- */
html[data-theme="dark"] {
	color-scheme: dark;
	--wp--preset--color--base: #06121F;
	--wp--preset--color--tile: #0C2036;
	--wp--preset--color--surface: #10294A;
	--wp--preset--color--navy: #001629;
	--wp--preset--color--navy-soft: #123A63;
	--wp--preset--color--contrast: #E6E9EC;
	--wp--preset--color--muted: #9FB0C2;
	--wp--preset--color--line: #1D3550;
	--wp--preset--color--line-strong: #2A4A6E;
	--wp--custom--shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
}
html[data-theme="dark"] body { background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
html[data-theme="dark"] :where(h1, h2, h3, h4, h5, h6) { color: var(--wp--preset--color--contrast); }
html[data-theme="dark"] .vt-why h2 { color: var(--wp--preset--color--on-primary); }
html[data-theme="dark"] .vt-product__dispatch .vt-dispatch__icon { color: var(--wp--preset--color--primary); }
html[data-theme="dark"] .wc-block-components-sidebar-layout,
html[data-theme="dark"] .wc-block-mini-cart__drawer .components-modal__content { color: var(--wp--preset--color--contrast); }
html[data-theme="dark"] .wc-block-mini-cart__drawer .wc-block-components-drawer__content,
html[data-theme="dark"] .wc-block-components-drawer { background: var(--wp--preset--color--tile); color: var(--wp--preset--color--contrast); }

/* --------------------------------------------------------------
   Motion
   -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	body, .vt-satc, .vt-fdb__fill, .vt-gfdb, .vt-notify[open], .vt-goal, .vt-cards > li, .vt-cards .vt-card__media img { transition: none !important; }
	.vt-notify[open] { animation: none; }
	.vt-goal:hover, .vt-cards > li:hover { transform: none; }
	.vt-satc__button.is-loading::after { animation-duration: 2s; }
}

.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;
}

.wc-block-grid__product-image img { border-radius: var(--wp--custom--radius); }
.wc-block-grid__product-title { font-weight: 700; }

/* Sale badge on the product page */
.vt-product__gallery .onsale,
.wc-block-components-product-sale-badge {
	min-width: 0;
	min-height: 0;
	padding: 0.35rem 0.8rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--primary);
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1;
}

/* Header account link: no underline. Card titles: always two lines so prices line up. */
.vt-header__icons .wc-block-customer-account a,
.vt-header__icons .wc-block-customer-account a span { text-decoration: none !important; }
.vt-cards .vt-card__title { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vt-header__icons .wc-block-customer-account__link .label { text-decoration: none !important; }

@media (max-width: 781px) {
	.vt-hero__products { min-height: 0; padding-top: 3.5rem; }
	.vt-hero__badge { width: 76px; height: 76px; font-size: 0.66rem; left: 4%; }
	.vt-topbar__msg--uk { text-align: center; }
	.vt-header .vt-header__row { column-gap: 0.5rem; }
}
