/*
 * Newsite Base — component styles. Every colour, font and radius is a theme.json token,
 * so a store re-skins everything from its child theme's theme.json without touching this file.
 * Rules: lime-style "highlight" colour only ever on the brand-strong colour; the button keeps its
 * border (a light button colour on white is invisible without it); 44px+ tap targets; 16px form text.
 */

:root {
	--nsb-radius-card: var(--wp--custom--radius--card, 14px);
	--nsb-radius-panel: var(--wp--custom--radius--panel, 18px);
	--nsb-radius-small: var(--wp--custom--radius--small, 10px);
	--nsb-tap: var(--wp--custom--tap, 44px);
}

/* Focus: always visible, never removed. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}
input, select, textarea { font-size: max(16px, 1rem); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Announcement + header ---------- */
.nsb-announcement {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
	text-align: center;
	font-size: var(--wp--preset--font-size--small);
	padding: 0.55rem 16px;
}
.nsb-announcement p { margin: 0; }

.nsb-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--base);
}
.nsb-header__row {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	max-width: var(--wp--style--global--wide-size); margin: 0 auto; padding: 0.75rem 16px;
}
.nsb-header__tools { display: flex; align-items: center; gap: 0.5rem; }
.nsb-brand {
	display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
	color: var(--wp--preset--color--accent); min-height: var(--nsb-tap);
}
.nsb-brand__mark svg { display: block; width: 26px; height: auto; }
.nsb-brand__word {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1;
}
.nsb-brand__logo { max-height: 36px; width: auto; }

.nsb-menu__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nsb-menu__list a {
	display: inline-flex; align-items: center; min-height: var(--nsb-tap); padding: 0 0.7rem;
	color: var(--wp--preset--color--contrast); text-decoration: none; font-weight: 500; white-space: nowrap;
}
.nsb-menu__list a:hover, .nsb-menu__list .current-menu-item > a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 781px) {
	/* Phones: the menu stays visible as a swipeable row under the logo (no hamburger to hide "Refills"). */
	.nsb-header__row { flex-wrap: wrap; }
	.nsb-menu--primary { order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 8px; }
	.nsb-menu--primary::-webkit-scrollbar { display: none; }
}

/* ---------- Footer ----------
 * On the brand-strong colour (accent), so the highlight colour is allowed here. Phones: brand,
 * then two link columns side by side, promises, small print. Desktop: brand left, columns right.
 */
.nsb-footer {
	--nsb-footer-soft: color-mix(in srgb, var(--wp--preset--color--on-accent) 82%, var(--wp--preset--color--accent));
	--nsb-footer-rule: color-mix(in srgb, var(--wp--preset--color--on-accent) 18%, var(--wp--preset--color--accent));
	margin-top: 3rem; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent);
}
.nsb-footer a { color: inherit; text-underline-offset: 4px; }
.nsb-footer :focus-visible { outline-color: var(--wp--preset--color--highlight); }
.nsb-footer__inner {
	max-width: var(--wp--style--global--wide-size); margin: 0 auto;
	padding: 2.75rem 16px calc(1.25rem + var(--nsb-float-clear, 0px) + env(safe-area-inset-bottom));
	display: grid; gap: 2rem; box-sizing: border-box;
}
.nsb-footer__top { display: grid; gap: 2rem; min-width: 0; }
/* The grid/flex gaps do the spacing; drop the block editor's flow margins inside the footer. */
.nsb-footer :is(.nsb-footer__inner, .nsb-footer__top, .nsb-footer__lead, .nsb-footer__trust, .nsb-footer__base) > * { margin-block: 0; }
.nsb-footer__lead { display: grid; gap: 1.75rem; align-content: start; min-width: 0; }
.nsb-footer .nsb-brand { color: var(--wp--preset--color--on-accent); }
.nsb-footer .nsb-brand__mark { color: var(--wp--preset--color--highlight); }
.nsb-footer__tagline { margin: 0.6rem 0 0; max-width: 34ch; color: var(--nsb-footer-soft); line-height: 1.5; }
.nsb-footer__contact { margin: 0.9rem 0 0; color: var(--nsb-footer-soft); overflow-wrap: anywhere; }
.nsb-footer__contact a { color: var(--wp--preset--color--on-accent); font-weight: 600; text-decoration: underline; display: inline-block; padding: 0.7rem 0; margin: -0.7rem 0; }
/* Link groups: always a 2-wide grid, so four groups make a 2×2 block with room between the rows. */
.nsb-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; min-width: 0; align-content: start; }
.nsb-footer__heading {
	margin: 0 0 0.25rem; font-family: inherit; font-size: 0.75rem; font-weight: 800; line-height: 1.4;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--highlight);
}
.nsb-footer__list, .nsb-footer__promises, .nsb-footer__payments, .nsb-footer__legal ul { list-style: none; margin: 0; padding: 0; }
.nsb-footer__list a {
	display: flex; align-items: center; min-height: var(--nsb-tap); color: var(--nsb-footer-soft);
	text-decoration: none; line-height: 1.3; overflow-wrap: anywhere;
}
.nsb-footer__list a:hover, .nsb-footer__list a[aria-current] { color: var(--wp--preset--color--on-accent); text-decoration: underline; }
.nsb-footer__trust {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
	padding: 1.25rem 0; border-block: 1px solid var(--nsb-footer-rule);
}
.nsb-footer__promises { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; font-weight: 600; }
.nsb-footer__promises li { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.nsb-footer__promises .nsb-ico { width: 24px; height: 24px; color: var(--wp--preset--color--highlight); }
.nsb-footer__base {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem;
	font-size: var(--wp--preset--font-size--small); color: var(--nsb-footer-soft);
}
.nsb-copyright { margin: 0; color: inherit; }
.nsb-footer__legal ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.nsb-footer__legal a { display: inline-flex; align-items: center; min-height: var(--nsb-tap); }
@media (min-width: 782px) {
	.nsb-footer__inner { padding-top: 3.5rem; gap: 2.5rem; }
	.nsb-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; }
	.nsb-footer__links { gap: 2.25rem 2rem; }
}

/* Payment marks: the brands' own colour card badges, all one size (38×24 artwork shown 26px tall). */
.nsb-footer__payments { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.nsb-footer__payments li { display: block; }
.nsb-pay { display: block; height: 26px; width: auto; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); }

/* Email signup (Dhamsells Newsletter plugin; the theme gives it its look). Field + button on one row; the button wraps under on very narrow screens. */
.nsb-newsletter__heading { margin: 0; font-family: inherit; font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--wp--preset--color--on-accent); }
.nsb-newsletter__text { margin: 0.35rem 0 0; color: var(--nsb-footer-soft); line-height: 1.5; }
.nsb-newsletter__form { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.85rem 0 0; max-width: 440px; }
.nsb-newsletter__input {
	flex: 1 1 12rem; min-width: 0; min-height: 48px; box-sizing: border-box; padding: 0 1rem;
	border: 1.5px solid transparent; border-radius: 999px; background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast); font: inherit; font-size: max(16px, 1rem);
}
.nsb-newsletter__input::placeholder { color: var(--wp--preset--color--contrast-soft); opacity: 1; }
.nsb-newsletter__button {
	flex: 0 0 auto; min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--wp--preset--color--cta); color: var(--wp--preset--color--on-cta); font: inherit; font-weight: 700;
}
.nsb-newsletter__button:hover { filter: brightness(1.05); }
.nsb-newsletter__form.is-busy .nsb-newsletter__button { opacity: 0.6; }
.nsb-newsletter__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.nsb-newsletter__ts { flex-basis: 100%; max-width: 100%; }
.nsb-newsletter__ts:empty { display: none; }
.nsb-newsletter__msg { flex-basis: 100%; margin: 0; min-height: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--on-accent); }
.nsb-newsletter__msg:empty { display: none; }
.nsb-newsletter__form.is-error .nsb-newsletter__input { border-color: var(--wp--preset--color--highlight); }

/* ---------- Product page layout ---------- */

/* Phones: headline first, then media, then the buy box. */

/* Media */

/* Bundle cards */

/* With cards showing, WooCommerce's own option buttons stay in the page (the cards press them) but out of sight. */

/* Add to cart */

/* Refill line, promises, chips, callout */

/* Long description: sections built from the base patterns */

/* ---------- Pattern components ---------- */

@media (max-width: 600px) {
	/* Phones: each row becomes a small card (label on top, the two answers side by side). */
	
	
	
	
	
}

/* ---------- Sticky add-to-cart bar ---------- */

.nsb-section { margin-top: 2.5rem; }
.nsb-section > h2 { margin: 0 0 1rem; }

/* Groups inside the header and product page are laid out by grid/flex above, not by block gap. */
.nsb-header__row > *, .nsb-header__tools > *, .nsb-footer__inner > * { margin-block: 0; }
.nsb-header__tools .wc-block-mini-cart__button, .nsb-header__tools .wc-block-customer-account__account-icon { min-width: var(--nsb-tap); min-height: var(--nsb-tap); }
@media (max-width: 781px) {
	/* Keep the first phone screen for headline, picture and bundles: photos are shown whole, but not taller than this. */
	
}

/* With cards showing, the cards already say what's inside: hide WooCommerce's repeat of it under them. */

/*
 * Side padding lives on each page area, never on <body>: WooCommerce's slide-out cart writes
 * "padding-right: 0" straight onto <body>, which made every page lopsided (16px left, 0 right).
 * Top bar, header and footer therefore run edge to edge with no tricks.
 */
:root { --nsb-gutter: var(--wp--custom--gutter, 16px); }
.wp-site-blocks > main, .wp-site-blocks > .wp-block-group:not(.nsb-header):not(.nsb-footer) { padding-left: var(--nsb-gutter); padding-right: var(--nsb-gutter); }
.nsb-header__row, .nsb-footer__inner { padding-left: var(--nsb-gutter); padding-right: var(--nsb-gutter); }
.nsb-announcement { padding-left: var(--nsb-gutter); padding-right: var(--nsb-gutter); }
@media (max-width: 781px) {
	.nsb-menu--primary { margin: 0 calc(-1 * var(--nsb-gutter)); padding: 0 calc(var(--nsb-gutter) - 0.7rem); }
}

/* ---------- Icon set (use: <span class="nsb-ico nsb-ico--drop"></span>) ---------- */
.nsb-ico { display: inline-block; width: 28px; height: 28px; background: currentColor; -webkit-mask: var(--nsb-ico) center / contain no-repeat; mask: var(--nsb-ico) center / contain no-repeat; flex: none; }
.nsb-ico--drop { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3s-6 7-6 11a6 6 0 0 0 12 0c0-4-6-11-6-11z%22/%3E%3C/svg%3E"); }
.nsb-ico--spray { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4h7a3 3 0 0 1 3 3v1%22/%3E%3Cellipse cx=%2214%22 cy=%2210%22 rx=%226%22 ry=%222.2%22/%3E%3Cpath d=%22M10 15v3M14 15v5M18 15v3M12 16v3M16 16v3%22/%3E%3C/svg%3E"); }
.nsb-ico--hand { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 11V6a1.5 1.5 0 0 1 3 0v4M10 10V4.5a1.5 1.5 0 0 1 3 0V10M13 10V5.5a1.5 1.5 0 0 1 3 0V12M16 11a1.5 1.5 0 0 1 3 0v3a7 7 0 0 1-7 7h-.5A6.5 6.5 0 0 1 5 14.5V12a1.5 1.5 0 0 1 3 0%22/%3E%3C/svg%3E"); }
.nsb-ico--cartridge { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%228%22 y=%223%22 width=%228%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22M8 8h8M8 13h8M8 18h8%22/%3E%3C/svg%3E"); }
.nsb-ico--shield { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l7 3v5c0 5-3 8.5-7 10-4-1.5-7-5-7-10V6z%22/%3E%3Cpath d=%22M9 12l2 2 4-4%22/%3E%3C/svg%3E"); }
.nsb-ico--truck { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 6h11v10H3zM14 9h4l3 3v4h-7%22/%3E%3Ccircle cx=%227%22 cy=%2218%22 r=%221.8%22/%3E%3Ccircle cx=%2217%22 cy=%2218%22 r=%221.8%22/%3E%3C/svg%3E"); }
.nsb-ico--box { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 7l9-4 9 4-9 4zM3 7v10l9 4 9-4V7M12 11v10%22/%3E%3C/svg%3E"); }
.nsb-ico--chat { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v11H9l-5 4z%22/%3E%3C/svg%3E"); }
.nsb-ico--leaf { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 19C5 10 11 5 20 5c0 9-5 15-14 15zM5 19l8-8%22/%3E%3C/svg%3E"); }
.nsb-ico--x { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 6l12 12M18 6L6 18%22/%3E%3C/svg%3E"); }
.nsb-ico--check { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7%22/%3E%3C/svg%3E"); }

/* ---------- Buy box extras ---------- */

/* ---------- Long page: sections, bands, splits ---------- */

.nsb-band { background: var(--wp--preset--color--surface); margin-left: calc(-1 * var(--nsb-gutter)); margin-right: calc(-1 * var(--nsb-gutter)); padding: 3rem var(--nsb-gutter); }

.nsb-band > * { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }
.nsb-band.nsb-section { margin-top: 3.5rem; }

/* (old .nsb-media placeholder box removed in 0.17.0: the class now belongs to library media, see ugc-library.php) */

/* Icon tiles */

/* Checklist and "what it doesn't do" */

/* Panel used as a split column (e.g. hose section) */

/* Refill timeline */

/* What's in the box */

/* Guarantee */

/* Closing call to action */

/* Comparison: any number of columns; phones stack each row with labelled answers */

/* FAQ reads narrower */

@media (max-width: 600px) {
	/* Phones: row label on top, then one small column per answer with its column name above it. */
	
	
	
	
	
}

/* ---------- v0.4 fixes (review panel) ---------- */
/* The page's own Add to cart keeps the bordered-button rule (WooCommerce's button style dropped the border). */

/* Grid children must not take the block-gap top margin (it pushed rows out of line). */
:where(.nsb-tiles, .nsb-facts, .nsb-honest, .nsb-steps, .nsb-split, .nsb-timeline, .nsb-box, .nsb-guarantee) > * { margin-block-start: 0 !important; }
/* "What it doesn't do": quiet solid cards, not dashed placeholders. */

/* FAQ: show that questions open. */

/* Evidence voice: numbers and sources in Newsreader; section titles use the selling face (theme.json). */

@media (max-width: 781px) {
	/* First phone screen: headline → short picture/video → bundles → button. */
	
	
	
	
	
	
	.nsb-announcement { font-size: 0.8rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }
	/* Menu fits one phone row. */
	.nsb-menu__list a { padding: 0 0.55rem; font-size: 0.95rem; }
	.nsb-header__row { padding-top: 0.4rem; padding-bottom: 0.2rem; }
}

@media (max-width: 781px) {
	/* WooCommerce locks each gallery slide square; on phones use a short landscape slide so the bundles reach the first screen. */
	
	
	
	
	
}
@media (max-width: 781px) {
	
	
	
	.nsb-menu__list a { min-height: 40px; }
	.nsb-header__row { row-gap: 0; }
	
}

/* ---------- Proof components (fill only with real buyers' words, photos and videos) ---------- */
/* Star rating under the headline: WooCommerce's own block, shows only when real reviews exist. */

/* Customer photos / videos: grid on desktop, swipe row on phones */

/* Before / after slider */

/* Quote cards */

/* What to expect */

/* Founder note */

:where(.nsb-ugc, .nsb-ba-row, .nsb-quotes, .nsb-expect, .nsb-founder) > * { margin-block-start: 0 !important; }

@media (max-width: 600px) {
	/* Phones: before/after and quotes swipe sideways instead of stacking (keeps the page short). */
	
	
	
}
@media (pointer: coarse) {
	/* Touch: only the band around the handle moves the slider, so the rest of the picture still swipes the row. */
	
}

/* Deal / was price / proof line */

/* ---------- 0.7: reviews block, trust icon row, payment marks, phone hero, spacing ---------- */
/* Stars from a number: <span class="nsb-stars" style="--r:4.8"></span> */

.nsb-reviews { display: grid; gap: 1.5rem; scroll-margin-top: 1rem; }
:where(.nsb-reviews, .nsb-reviews__summary) > * { margin-block-start: 0 !important; }

/* Trust as a 4-icon row + payment marks (under the button) */

.nsb-ico--card { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E"); }

/* Spacing: no dead gap between the buy box and the first section */

@media (max-width: 781px) {
	/* Phones: hero runs edge to edge and larger (4:3), so the product is the biggest thing on screen one. */
	
	
	
	
	
}

/* ---------- 0.8: title = product name, promise under it ---------- */

/* ---------- 0.8: trust row — even columns, labels balanced, no ragged wrap ---------- */

@media (max-width: 480px) {
	/* Phones: 2 × 2, icon left of a one-line label, all left-aligned so nothing goes ragged. */
	
	
}
/* Payment marks: one tidy row; if they must wrap, the rows split evenly instead of orphaning one. */

/* ---------- 0.8: customer clips (UGC) ---------- */
/* First section under the buy area: a sideways photo strip with arrows and a progress line. */

/* ---------- 0.8: objections ("Still deciding?") ---------- */

/* ---------- 0.8: buyer types ("Made for how you shower") ---------- */

.nsb-ico--key { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M16 7l3 3M14 9l2 2'/%3E%3C/svg%3E"); }
.nsb-ico--wave { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M2 8c3 0 3-2 6-2s3 2 6 2 3-2 6-2M2 14c3 0 3-2 6-2s3 2 6 2 3-2 6-2M2 20c3 0 3-2 6-2s3 2 6 2 3-2 6-2'/%3E%3C/svg%3E"); }
.nsb-ico--home { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9H3z'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.nsb-ico--sparkle { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 3l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3C/svg%3E"); }
.nsb-ico--family { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8' cy='6' r='2.5'/%3E%3Ccircle cx='17' cy='9' r='2'/%3E%3Cpath d='M3.5 20v-5a4.5 4.5 0 0 1 9 0v5M14 20v-3.5a3 3 0 0 1 6 0V20'/%3E%3C/svg%3E"); }
.nsb-ico--move { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4z'/%3E%3Cpath d='M3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E"); }
.nsb-ico--swim { --nsb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Cpath d='M4 13l5-4 4 3 3-2M2 18c3 0 3-2 6-2s3 2 6 2 3-2 6-2'/%3E%3C/svg%3E"); }

/* ---------- 0.8: alignment pass ---------- */

/* ---------- 0.8 alignment fixes (mock review) ---------- */

/* ---------- 0.8.1: assurance card under the button ---------- */

.nsb-ico--lock { --nsb-ico: 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%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
/* Ticks + refills under the card: same left edge, calmer size */

/* ---------- 0.8.2: trust style options ---------- */
/* Arrival line (A under the button, B above it) */

/* A: one icon row */

/* B: small payment logos + one badge line */

/* Plan cards (refill / subscription choices) */

/* ---------- 0.8.7: panel 7 fixes ---------- */
/* What is charged and when: shown only inside the chosen card. */

/* The fit line is a buying fact: keep it on phones too. */

/* Refill line: the arrow stays with the last word. */

/* In the box + contact, under the chips. */

/* Mid-page button */

/* Specs table: two plain columns (label, value), no comparison highlight; one column per row on phones. */

/* ---------- 0.10.1: bundle card offer rows ---------- */

/* ---------- 0.10.2: full-width section bands ---------- */
/* Grey bands reach both edges of the screen (painted, not widened, so nothing scrolls sideways)… */
.nsb-band { box-shadow: 0 0 0 100vmax var(--wp--preset--color--surface); clip-path: inset(0 -100vmax); }
/* …and two bands in a row join into one, with a hairline instead of a white strip. */

/* ---------- 0.10.3: the deal as a gift line inside the refill plan box ---------- */

/* ---------- 0.11.0: long-description design pass ---------- */

/* One rhythm: same gap above every section, same padding inside every band. */

/* One heading block: title, short intro, then content. */

/* Two content widths only: grids 1080px, reading/data blocks 820px. */
:is(.nsb-objections, .nsb-usecases, .nsb-ba-row, .nsb-quotes, .nsb-plans, .nsb-expect, .nsb-steps, .nsb-box) { max-width: var(--nsb-inner); margin-left: auto; margin-right: auto; }
:is(.nsb-facts, .nsb-section > .nsb-compare, .nsb-specs, .nsb-faq > .wp-block-details) { max-width: var(--nsb-text); margin-left: auto; margin-right: auto; }

/* Made for how you shower: tabs + one card. */

/* See it work: four across on desktop instead of a 2 × 2 wall. */

/* What to expect / How your plan works: a numbered timeline, not tab-shaped cards. */

/* On in about a minute: three step cards + "In the box" chips. */

/* Quick answers: swipe row on phones instead of nine stacked cards. */

/* Compare table on phones: our column full width and tinted, the other two side by side. */

/* ---------- 0.11.1 ---------- */
/* Dark panels: the title box is centred like the text under it (it was pinned left). */

/* ---------- 0.11.3: polish pass ---------- */
/* Menu: no resting underline (two items point at this page, so two were underlined); underline on hover only. */
.nsb-menu__list .current-menu-item > a:not(:hover) { text-decoration: none; }
.nsb-menu__list .current-menu-item > a { color: var(--wp--preset--color--accent); }
/* Rating: everything on one line with the stars. */

/* Buy area below the bullets: one even gap between chips, box line, contact line and refill line. */

/* Gift line: icon stays on the first line when the text wraps. */

/* Compare table: light rules like every other card, columns of sensible width. */

/* Reviews use the same 1080px width as the other card sections. */

/* Questions: tighter rows. */

/* Quick answers swipe row: keep the page gutter before the first card. */

/* ---------- 0.12.0: visual sections (number band, product diagram, illustrated steps) ---------- */
/* Big-number band */

/* Product diagram: drawing + numbered parts */

@keyframes nsb-fx-spray { 0% { opacity: 0; transform: scale(0.94); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes nsb-fx-flow { to { stroke-dashoffset: -32; } }

/* Illustrated install steps */

/* ---------- 0.12.1: design-system pass (two design reviews) ---------- */

/* Links: brand ink with a soft underline (the blue stays only for the "your tap water" data bar). */

.nsb-header .wc-block-customer-account__link, .nsb-header .wc-block-mini-cart__button { color: var(--wp--preset--color--contrast); }
/* One primary button everywhere: lime pill, no hard border. */

/* Data numbers: one display-sans token (serif stays for editorial voice only). */

/* Title block: one clear lead, quieter supporting lines. */

/* With reviews, the stars sit directly under the product name. */

.nsb-rating-line { font-size: 0.9rem; color: var(--wp--preset--color--contrast); text-decoration: none !important; }
.nsb-rating-line strong { font-weight: 800; }
/* Option cards: the chosen card leads, the other recedes. */

/* Plan options: only the chosen one shows its plan detail, so the button stays close. */

/* Under the button: one alignment, even gaps, trust icons in a soft strip. */

/* Number band: aligned labels and a row divider on phones. */

/* Bands: dark CTA panels run edge to edge like the grey bands (one layout system). */

/* Two widths only. */

/* Owners quotes: cards don't stretch to the tallest one. */

/* Fact cards: white cards with a border, on the grey band. */

/* Timelines on phones: the connector stops at the last dot. */

/* Plan cards: not selectable, so no "selected" border; Annual (best value) gets the emphasis. */

/* Guarantee seal: room for its words. */

/* Quick answers: cards size to their text. */

/* Use-case tabs: same width as the panel; fade at the edge of the swipe row on phones. */
/* Questions: comfortable rows. */

/* Specs: quiet keys, zebra rows. */

/* One button style, outline included: every primary button gets the same thin ink outline (the main
   Add to cart kept one from an earlier panel; lime alone is faint on white). */

/* Links on dark panels/bands: light, not ink (0.12.3 set page links to ink). */

/* ---------- 0.15.1: section blocks in the long description ---------- */
/* One gap between sections; bands that touch each other join with no white strip. */

/* Coloured section blocks reach both screen edges, like the grey bands (painted, so nothing scrolls sideways). */

/* Quick answers: content at the same 1040px width as the other card sections. */

/* 0.17.0 Library media (nsb_ugc_media): images and tap-to-play videos share one look. */

/* 0.17.0 Phone first screen: the product, not the chrome. Logo row + one compact swipeable link row; tight gaps down to the bundles. */
@media (max-width: 781px) {
	.nsb-header__row { flex-wrap: wrap; padding-top: 0; padding-bottom: 0; column-gap: 0.25rem; row-gap: 0; }
	.nsb-header__row > *, .nsb-header__tools > * { margin-block: 0 !important; }
	.nsb-brand { min-height: 44px; }
	.nsb-brand__word { font-size: 1.3rem; }
	.nsb-header__tools { gap: 0; }
	.nsb-menu.nsb-menu--primary { order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--nsb-gutter)); padding: 0 calc(var(--nsb-gutter) - 0.55rem); }
	.nsb-menu--primary .nsb-menu__list { gap: 0; }
	.nsb-menu--primary .nsb-menu__list a { min-height: 36px; padding: 0 0.55rem; font-size: 0.9rem; }
	body.single-product .wp-site-blocks > header + .wp-block-group { margin-top: 0 !important; } /* product page only: other pages keep their gap under the menu */
	
	
	
	
	
	
	
	/* Gallery: square on phones too (owner's call), for WooCommerce's gallery and the library carousel alike. */
	.nsb-mg { --nsb-mg-ratio: 1 / 1; }
	
	
}

/* 0.17.4 Clean-up: header children and the three top columns never pick up WordPress's block-gap margins. */
.nsb-header__row > *, .nsb-header__tools > * { margin-block: 0 !important; }

@media (max-width: 781px) {
	/* Gallery sits inside the page margins like everything else (not edge to edge), square, rounded. */
	
	
	
}
@media (min-width: 782px) {
	/* Desktop header: logo left, menu centred, icons right, all on one line; edges line up with the page content. */
	.nsb-header__row {
		display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1.5rem;
		box-sizing: border-box; max-width: calc(var(--wp--style--global--wide-size) + 2 * var(--nsb-gutter));
		min-height: 72px; padding: 0.5rem var(--nsb-gutter);
	}
	.nsb-brand { justify-self: start; }
	.nsb-menu--primary { justify-self: center; }
	.nsb-header__tools { justify-self: end; gap: 0.25rem; }
	.nsb-menu--primary .nsb-menu__list { gap: 0.5rem; }
	.nsb-menu--primary .nsb-menu__list a { padding: 0 0.75rem; }
	
}

/* 0.17.6 Ordinary pages (Your water, Sources, Cart, Account): the same breathing room under the menu as the shop and product pages. */
body.page .wp-site-blocks > header + * { margin-top: 1.75rem !important; }
@media (min-width: 782px) { body.page .wp-site-blocks > header + * { margin-top: 3.5rem !important; } }

/* 0.17.7 Desktop product page: content starts close under the menu (was 56px). */
@media (min-width: 782px) {
	body.single-product .wp-site-blocks > header + .wp-block-group { margin-top: 0 !important; }
	
}

/* 0.18.0 Buy box (panel 28 Oct): the plan is named on the card, the one-time option is a full card,
   a per-day line explains the struck refill price, and one closed question answers "why every 10 days?". */

/* 0.18.3 The refill-plan options sit in one box named by its label (the plan is said once, not on every card);
   the buy-once option is a quiet line under the box again. */

/* 0.18.13 The box label is a light pill in sentence case (like the "Save … every month" pill), so the dark
   uppercase badge on the chosen card is the only thing that reads as a badge. */

/* 0.18.14 Room between the box label and the first card's badge, so the two pills don't touch. */

/* 0.34.50 The buy-once box has no card badge under its label, so it needs less room on top. */

/* 0.18.7 Plan box: cards carry no margins of their own (the box's gap spaces them, so no gap under the last);
   the struck price sits at the end of the "Save" row; the one-time option is a plain line with no visible radio
   (still a real, focusable choice); less air between the options and the button. */

/* The button: WooCommerce's notices wrapper, its form and the button group each add 16px on top (merged); 8px is enough. */

/* 0.18.9 Spacing pass (28 Oct). One step between sections (44px phone, 64px desktop). A tinted or dark band brings
   its own padding, so the white gap beside it is half a step: content-to-content stays even instead of doubling. */

/* The first section after the buy area gets a full step (it had 16px under the photo strip). */

/* The closing panel had 24px inside: give it room. */

/* WooCommerce's ".woocommerce-page img { height: auto }" beat the media fill rule: photos and frames now fill their frames. */

/* 0.18.10 Sections with their own background use the same step inside as everywhere else (desktop had 72–88px). */

/* 0.18.11 The photo strip's tiles too: WooCommerce's img height:auto left a dark block under each picture. */

/* 0.21.1 Full-bleed photo breaks sit flush against tinted neighbours (bands, panels, founder note, pressure hero…):
   no white strip between a tinted section and the photo. Next to plain white sections the normal half step stays. */

/* Account > Orders on phones: WooCommerce's small-screen styles hide every row-heading cell, and
   the order number is one. */
@media (max-width: 768px) {
	.woocommerce table.shop_table_responsive tbody th.woocommerce-orders-table__cell {
		display: block;
		text-align: right;
	}
	.woocommerce table.shop_table_responsive tbody th.woocommerce-orders-table__cell::before {
		content: attr(data-title) ": ";
		float: left;
		font-weight: 700;
	}
}

/* ---------- RULE: on a product page a section's BACKGROUND may run edge to edge, its CONTENT never does ---------- */
/* Text, photos, video and cards stay inside the page margins at every screen size. Colour bands bleed
   through their box-shadow; everything in them keeps the content width. New sections follow the same rule. */

/* Every section sits the same step apart, so none touch by accident. */

/* The closing panel is light, so it never stacks on the dark card above it. */

@media (max-width: 781px) {
	/* Section headings line up: centred, like the rest of the page. */
	
	
	
	/* Refill plan price chips fill the tile. */
	
}

/* What happens after today, right under the button while a plan option is chosen. */

/* Two full-width colour bands in a row join with no gap. */

/* A section with its own tint that stays inside the margins has rounded corners. */

/* Questions with tabs: pdp.js turns each .nsb-faq__group heading into a tab. Without it the groups simply list. */

/* Phones: sections read as one long column without a clear break, so they get a bigger step (about 70px between plain sections). */

/* Below Add to cart: terms and shipping stay with the button, the rest falls into labelled groups. */

/* Payment logo as a trust-line icon (nsb_trust_lines icon "klarna"): full colour, so no icon mask. */
.nsb-ico--klarna {
	width: 38px;
	height: 26px;
	-webkit-mask: none;
	mask: none;
	background: url("../img/pay/klarna.svg") center / contain no-repeat;
}

/* Kept from WooCommerce's classic styling, which product pages no longer load. */
.single-product .woocommerce.product { position: relative; }

/* Guides: article body, photos and the product card. */
.single-post .wp-block-post-title { max-width: 720px; margin-left: auto; margin-right: auto; }
.single-post .wp-block-post-content > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.single-post .wp-block-post-content h2 { margin-top: 2.25rem; }
.single-post .wp-block-post-content figure.wp-block-image img { width: 100%; height: auto; border-radius: 16px; }
.single-post .wp-block-post-content table { width: 100%; border-collapse: collapse; }
.single-post .wp-block-post-content th, .single-post .wp-block-post-content td { padding: .6rem .5rem; border-bottom: 1px solid var(--wp--preset--color--line); text-align: left; vertical-align: top; }

/* Guide links above the footer (design/guides-strip.php). */

