/*
 * Lekker V2, piece A: the warm background (and the design tokens the other
 * pieces use). Loaded on the live site when "a" is in option
 * lp_v2_features (see v2.php), and always in the full V2 preview. Scoped
 * under body.lp-v2a.
 *
 * Fonts: the site stays on Lato, loaded by the theme. The owner tried
 * Fraunces and DM Sans on 7 October and asked to return to Lato, so this file
 * sets no typefaces, sizes or weights of its own; the font tokens below are
 * Lato too, so the header and menu pieces follow suit.
 *
 * Headings keep whatever colour the page gives them, so text on dark
 * sections stays light. Accent colours are left to the later pieces.
 */

/* 2. Tokens */
body.lp-v2a {
	--v2-ink: #0b1b3a;
	--v2-navy: #12266b;
	--v2-ink-deep: #08142b;
	--v2-text: #1d2433;
	--v2-muted: #586174;
	--v2-lime: #8cc63f;
	--v2-lime-ink: #3d6514;
	--v2-lime-pale: #eef5e1;
	--v2-bone: #f7f4ee;
	--v2-paper: #ffffff;
	--v2-sand: #ece6da;
	--v2-line: #e2dccf;
	--v2-line-strong: #cfc7b6;

	--v2-display: "Lato", sans-serif;
	--v2-sans: "Lato", sans-serif;

	--v2-fs-hero: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
	--v2-fs-h1: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
	--v2-fs-h2: clamp(1.625rem, 1.3rem + 1.5vw, 2.5rem);
	--v2-fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
	--v2-fs-h4: 1.125rem;
	--v2-fs-body: 1.0625rem;
	--v2-fs-small: 0.875rem;
	--v2-fs-micro: 0.8125rem;

	--v2-space-1: 4px;
	--v2-space-2: 8px;
	--v2-space-3: 12px;
	--v2-space-4: 16px;
	--v2-space-5: 24px;
	--v2-space-6: 32px;
	--v2-space-7: 48px;
	--v2-space-8: 72px;
	--v2-gutter: clamp(16px, 4vw, 40px);
	--v2-section: clamp(48px, 7vw, 112px);

	--v2-radius-s: 8px;
	--v2-radius: 12px;
	--v2-radius-l: 18px;
	--v2-shadow: 0 1px 2px rgba(11, 27, 58, 0.05), 0 8px 24px rgba(11, 27, 58, 0.07);
	--v2-touch: 48px;

	--ast-global-color-4: var(--v2-bone);

	background: var(--v2-bone);
	color: var(--v2-text);
}

/* 3. The warm background behind the page and content areas. */
body.lp-v2a .site-content,
body.lp-v2a .ast-separate-container,
body.lp-v2a.ast-separate-container,
body.lp-v2a #page {
	background-color: var(--v2-bone);
}

/* 4. Focus: a clear ring for keyboard users. */
body.lp-v2a :focus-visible {
	outline: 3px solid var(--v2-lime-ink);
	outline-offset: 2px;
	border-radius: 4px;
}
body.lp-v2a .site-header :focus-visible,
body.lp-v2a .ast-mobile-popup-drawer :focus-visible { outline-color: var(--v2-lime); }


/* Elementor's global fonts are set to Roboto, which this site never loads;
 * point them at Lato so the homepage matches the rest of the site. */
body.lp-v2a {
	--e-global-typography-primary-font-family: "Lato";
	--e-global-typography-secondary-font-family: "Lato";
	--e-global-typography-text-font-family: "Lato";
	--e-global-typography-accent-font-family: "Lato";
}

/* Keep the site name on one line in the phone header. */
@media (max-width: 921px) {
	body.lp-v2a #ast-mobile-header .site-title,
	body.lp-v2a #ast-mobile-header .site-title a { font-size: 1.0625rem !important; white-space: nowrap; }
	body.lp-v2a #ast-mobile-header .ast-woo-header-cart-total,
	body.lp-v2a #ast-mobile-header .ast-woo-header-cart-total * { white-space: nowrap; }
}
