/* =========================================================================
   Zara Morgan Hairdressing
   One stylesheet, mobile-first, no build step, no framework.
   ========================================================================= */

/* ---------------------------------------------------------------- Fonts */
@font-face {
	font-family: 'Instrument Serif';
	src: url('../fonts/instrument-serif-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Instrument Serif';
	src: url('../fonts/instrument-serif-400i.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Manrope';
	src: url('../fonts/manrope-var.woff2') format('woff2-variations'), url('../fonts/manrope-var.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

/* --------------------------------------------------------------- Tokens */
:root {
	/* Black and beige, from the logo. --beige is a placeholder until the logo
	   files arrive; every beige on the site reads from here. Beige is a FILL,
	   never text on paper (2.1:1). Ink on beige reads at 14:1. */
	--ink: #0b0b0b;
	--ink-2: #1c1a17;
	--ink-3: #2e2b27;
	--beige: #d8c7ae;
	--beige-2: #e9ddc9;
	--beige-dark: #a98f6a; /* borders and icons only: 2.9:1 on paper */
	--beige-text: #7d6545; /* beige for text and stars: 5.2:1 on paper */
	--sand: #efe8dc;
	--paper: #fbf9f5;
	--white: #ffffff;
	--line: #e3dccf;
	--slate: #5f5a53; /* 6.6:1 on paper: fine for small text */
	--success: #2f6b3a;

	--font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
	--font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--wrap: 1320px;
	--gutter: clamp(1rem, 4vw, 2.5rem);

	--s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.25rem;
	--s6: 1.5rem; --s7: 2rem; --s8: 3rem; --s9: 4rem; --s10: 6rem;

	--radius: 18px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--shadow: 0 10px 30px rgba(11, 11, 11, .08);
	--shadow-lg: 0 30px 60px rgba(11, 11, 11, .14);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 68px;
}

/* ---------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word; /* the salon email on a 320px phone */
}
img, svg, video, canvas, iframe { max-width: 100%; height: auto; display: block; }
img { font-style: italic; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-color: var(--beige-dark); }
button { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 var(--s4); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 var(--s4); }
/* The last block in a container ends flush, so section padding and grid gaps set the space below it. */
:where(p, h1, h2, h3, h4):last-child { margin-bottom: 0; }
strong { font-weight: 700; }
small { font-size: .85em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s3) var(--s5); background: var(--ink); color: var(--paper); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--s4); }

/* --------------------------------------------------------------- Layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--bleed { width: 100%; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--paper); }
.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__intro { color: var(--slate); font-size: 1.05rem; }
.section--ink .section__intro { color: var(--beige-2); }
.section__foot { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.prose h2, .prose h3 { margin-top: var(--s7); }
.prose > :first-child { margin-top: 0; }
/* Swipe strips: the first card lines up with the page gutter, and absolutely positioned
   children (screen-reader text) stay inside the strip instead of widening the whole page. */
.team, .reviews, .brand-tiles, .pills__inner, .site-main ul.products.products--row { position: relative; scroll-padding-inline: var(--gutter); }
.prose ul { padding-left: 1.2em; }
.prose--page { font-size: 1.05rem; }

/* -------------------------------------------------------------- Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .75rem 1.35rem;
	border-radius: var(--radius-pill); border: 1.5px solid transparent;
	font-weight: 700; font-size: .95rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { flex: none; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-3); box-shadow: var(--shadow); }
.btn--beige { background: var(--beige); color: var(--ink); }
.btn--beige:hover { background: var(--beige-2); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--outline-light { background: transparent; border-color: var(--beige); color: var(--paper); }
.btn--outline-light:hover { background: var(--beige); color: var(--ink); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .875rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.7rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
@media (max-width: 599px) { .btn-row .btn { flex: 1 1 auto; } } /* buttons that wrap onto their own line run full width, not ragged */
@media (max-width: 359px) { .btn { white-space: normal; text-align: center; } }
/* Single-column grids on phones: a long word or button label wraps instead of widening the column past the screen. */
.page-hero__inner > *, .contact__grid > *, .product-page div.product > * { min-width: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--beige-dark); padding-bottom: .1em; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.badge { display: inline-block; padding: .2em .6em; border-radius: var(--radius-pill); background: var(--beige); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; font-family: var(--font-body); }
.badge--sale { position: absolute; top: var(--s3); left: var(--s3); z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip small { color: var(--slate); }

/* --------------------------------------------------------------- Header */
.offer-bar { display: block; padding: .55rem var(--s4); background: var(--beige); color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .04em; line-height: 1.35; text-align: center; text-decoration: none; }
.offer-bar:hover { background: var(--beige-2); }
.site-header {
	position: sticky; top: 0; z-index: 50;
	/* Solid on phones: a backdrop-filter here would become the containing block
	   for the fixed nav panel and clip it to the header. Desktop gets the blur. */
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: var(--header-h); }
.site-header__brand { display: flex; align-items: center; }
.site-header__brand img { height: 65px; width: auto; } /* The mark has clear space built in; 48px of this is ink. */
.site-header__wordmark { font-family: var(--font-display); font-size: 1.4rem; text-decoration: none; }
.site-header__actions { display: flex; align-items: center; gap: var(--s3); }
.site-header__book { display: none; }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.cart-link:hover { background: var(--sand); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count[data-count="0"] { display: none; }
.nav-toggle { position: relative; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.nav-toggle:hover { background: var(--sand); }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { content: ''; left: 0; top: -6px; }
.nav-toggle__bar::after { content: ''; left: 0; top: 6px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
	position: fixed; inset: 0; z-index: 49;
	display: flex; flex-direction: column; justify-content: space-between;
	padding: calc(var(--header-h) + var(--s6)) var(--gutter) var(--s8);
	background: var(--paper);
	transform: translateY(-8px); opacity: 0; visibility: hidden;
	transition: transform .3s var(--ease), opacity .25s, visibility 0s .3s;
	overflow-y: auto;
}
.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-open { overflow: hidden; }
/* Open menu: the header bar pinned to the top of the screen, logo and close button above the panel, whatever the scroll position. */
.nav-open .site-header { position: fixed; inset: 0 0 auto; }
.site-header__brand, .site-header__actions { position: relative; z-index: 50; }
.nav-open .site-header::after { content: ''; position: fixed; inset: 0 0 auto; z-index: 49; height: var(--header-h); background: var(--paper); border-bottom: 1px solid var(--line); } /* Menu items scroll under a solid bar, not under the logo. */
.nav { list-style: none; }
.nav > li > a { display: block; padding: var(--s3) 0; font-family: var(--font-display); font-size: 2rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav .sub-menu { list-style: none; padding: 0 0 var(--s3) var(--s4); }
.nav .sub-menu a { display: block; padding: var(--s2) 0; text-decoration: none; color: var(--slate); font-weight: 600; }
.nav .current-menu-item > a, .nav .current-menu-ancestor > a { color: var(--beige-text); }
.site-nav__foot { display: grid; gap: var(--s3); margin-top: var(--s6); }
/* A second way out inside the panel, in case a phone draws the panel over the header X. */

@media (min-width: 1024px) {
	.site-header { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
	.site-header__inner { gap: var(--s6); }
	.site-header__book { display: inline-flex; }
	.nav-toggle { display: none; }
	.site-nav { position: static; inset: auto; padding: 0; background: none; transform: none; opacity: 1; visibility: visible; flex-direction: row; overflow: visible; }
	.site-nav__foot { display: none; }
	.nav { display: flex; align-items: center; gap: var(--s1); }
	.nav > li { position: relative; }
	.nav > li > a { padding: .5rem .85rem; font-family: var(--font-body); font-size: .95rem; font-weight: 600; border: 0; border-radius: var(--radius-pill); }
	.nav > li > a:hover { background: var(--sand); }
	.nav .menu-item-has-children > a::after { content: ''; display: inline-block; width: .4em; height: .4em; margin-left: .4em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.15em) rotate(45deg); }
	.nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: var(--s2); margin-top: var(--s1); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
	.nav > li:hover > .sub-menu, .nav > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav .sub-menu a { padding: .5rem .75rem; border-radius: 6px; color: var(--ink); font-weight: 500; }
	.nav .sub-menu a:hover { background: var(--sand); }
}

/* Logo bar (laptops and up): the wordmark centred in a bar of its own, the menu bar underneath.
   The menu bar stays pinned; once the logo bar has scrolled away the ZM mark fades in on its left. */
.brand-bar { display: none; }
@media (min-width: 1024px) {
	.brand-bar { display: block; padding-block: clamp(1rem, 1.5vw, 1.5rem); background: var(--paper); border-bottom: 1px solid var(--line); text-align: center; }
	.brand-bar__link { display: inline-block; text-decoration: none; }
	.brand-bar__logo { display: block; height: clamp(84px, 7vw, 104px); width: auto; transform: translateX(-1.5%); } /* Same off-centre clear space as .hero__logo. */
	.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
	.site-header__actions { justify-self: end; }
	.js .site-header__brand { opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
	.js .site-header.is-stuck .site-header__brand { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.hero .hero__logo { display: none; } /* The logo bar sits right above it. */
}

/* ------------------------------------------------------------- Book bar */
.book-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s2);
	padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom));
	background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
}
.book-bar .btn { width: 100%; padding-inline: 1rem; } /* two buttons and their labels fit side by side from 320px */
@media (max-width: 359px) { .book-bar .btn { padding-inline: .75rem; font-size: .85rem; } }
.book-bar--shop { grid-template-columns: 1fr 1fr; }
.book-bar .cart-count { position: static; margin-left: .1em; }
.book-bar__wa-more { display: none; }
body:has(.book-bar) { padding-bottom: 76px; }
/* Desktop: the header carries Book online, so only a small WhatsApp button stays, opened on request. */
@media (min-width: 900px) {
	.book-bar.book-bar--shop { display: none; }
	.book-bar { left: auto; right: var(--s5); bottom: var(--s5); display: block; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.book-bar .btn--primary { display: none; }
	.book-bar__wa { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); font-size: .9rem; }
	.book-bar__wa-more { display: inline; margin-left: -.3em; }
	body:has(.book-bar) { padding-bottom: 0; }
}

/* ------------------------------------------------------------- Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); background: radial-gradient(120% 90% at 100% 0%, var(--sand) 0%, var(--paper) 55%); }
.hero__inner { display: grid; gap: var(--s7); align-items: center; }
.hero__copy { text-align: center; }
.hero__copy .btn-row { justify-content: center; }
.hero__logo { display: block; height: clamp(48px, 9vw, 110px); width: auto; margin: 0 auto var(--s5); transform: translateX(-1.5%); } /* The file has more clear space on the left than the right; this centres the lettering, not the box. */
@media (max-width: 899px) {
	.hero__logo { height: clamp(90px, 24vw, 130px); }
}
.hero__title { font-size: clamp(2.9rem, 9vw, 5.6rem); margin-bottom: var(--s5); }
.hero__title em, .hero__title i { font-style: italic; color: var(--beige-text); }
.hero__intro { font-size: 1.1rem; color: var(--slate); }
.hero__rating { margin-top: var(--s5); font-size: .9rem; color: var(--slate); }
.stars { color: var(--beige-text); letter-spacing: .05em; }
.hero__stage { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; margin-inline: auto; width: 100%; max-width: 520px; border-radius: var(--radius); background: linear-gradient(160deg, var(--beige-2), var(--sand) 60%, var(--paper)); overflow: visible; }
.hero__stage::before { content: ''; position: absolute; inset: 8% 6% auto; height: 84%; border-radius: var(--radius); background: var(--ink); opacity: .04; transform: rotate(-4deg); }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); transition: opacity .6s; }
.hero__canvas { position: absolute; inset: -25%; width: 150% !important; max-width: none; height: 150% !important; opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; } /* spills past the card so a 3D model can sit outside it */
.hero__stage.is-ready .hero__canvas { opacity: 1; }
.hero__stage.is-ready .hero__fallback { opacity: 0; }
.hero__float { position: absolute; z-index: 2; padding: .5rem .9rem; border-radius: var(--radius-pill); background: var(--white); box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; animation: float 6s ease-in-out infinite; }
.hero__float--a { top: 8%; left: var(--s3); } /* inside the card on phones, where the hero clips anything past the screen edge */
.hero__float--b { top: 48%; right: var(--s3); animation-delay: -2s; }
.hero__float--c { bottom: 10%; left: 6%; animation-delay: -4s; }
.hero__caption { position: absolute; z-index: 2; right: 6%; bottom: 6%; padding: .45rem .85rem; border-radius: var(--radius-pill); background: rgba(11, 11, 11, .72); color: var(--paper); font-size: .78rem; font-weight: 600; letter-spacing: .01em; backdrop-filter: blur(6px); }
.hero__caption:empty { display: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 900px) {
	.hero { padding-block: clamp(3rem, 7vw, 6rem); }
	.hero__inner { grid-template-columns: 1.05fr .95fr; gap: var(--s9); }
	.hero__stage { max-width: none; }
	.hero__float--a { left: -4%; }
	.hero__float--b { right: -6%; }
}

/* -------------------------------------------------------------- Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); padding-block: var(--s5); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); padding-right: clamp(2.5rem, 6vw, 5rem); list-style: none; }
.marquee__item img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: opacity .2s, filter .2s; }
.marquee__item:hover img { filter: none; opacity: 1; }
.marquee__item span { font-family: var(--font-display); font-size: 1.6rem; color: var(--slate); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-25%); } }

/* ---------------------------------------------------------------- Tiles */
.tiles { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); list-style: none; }
.tile { perspective: 900px; }
.tile__link { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: var(--paper); text-decoration: none; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .4s var(--ease), box-shadow .4s; will-change: transform; }
.tile__link:hover { box-shadow: var(--shadow-lg); }
.tile__media { position: absolute; inset: 0; }
.tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 11, 11, .92) 0%, rgba(11, 11, 11, .7) 40%, rgba(11, 11, 11, .25) 100%); transition: opacity .4s; }
.tile__link:hover .tile__media::after { opacity: .85; }
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile__link:hover .tile__img { transform: scale(1.06); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: var(--s5); text-shadow: 0 1px 12px rgba(11, 11, 11, .5); }
.tile__title { margin: 0 0 var(--s1); font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); text-wrap: wrap; } /* balance splits "Blow-dry" at the hyphen in a phone's two columns */
.tile__tag { margin: 0 0 var(--s2); font-size: .85rem; color: rgba(255, 255, 255, .88); }
.tile__meta { display: flex; align-items: center; justify-content: space-between; margin: 0; font-weight: 700; font-size: .9rem; }
.tile__go { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--beige); color: var(--ink); transition: transform .3s var(--ease); }
.tile__link:hover .tile__go { transform: translateX(4px); }
@media (max-width: 759px) {
	.tile__body { padding: var(--s4); }
	.tile:last-child:nth-child(odd) { grid-column: 1 / -1; } /* an odd one out runs across both columns, wide */
	.tile:last-child:nth-child(odd) .tile__link { aspect-ratio: 16 / 9; }
}
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
@media (min-width: 1100px) { .tiles--row { grid-template-columns: repeat(var(--n), 1fr); } }

/* ------------------------------------------------------------- Products */
.site-main ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); list-style: none; margin: 0; padding: 0; }
.site-main ul.products::before, .site-main ul.products::after { content: none; } /* WooCommerce's clearfix would take a grid cell */
.site-main ul.products.products--row { grid-auto-flow: column; grid-auto-columns: min(72vw, 280px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: -6px calc(-1 * var(--gutter)) 0; padding: 6px var(--gutter) var(--s3); scrollbar-width: none; } /* The 6px is room for a card's hover lift, which the row would otherwise clip. */
.site-main ul.products.products--row > li { scroll-snap-align: start; }
.site-main ul.products li.card { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0; width: auto; float: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
@media (hover: hover) { .site-main ul.products li.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } } /* A tap would leave it stuck in the air on a phone. */
.card__media { position: relative; display: block; aspect-ratio: 1; background: var(--sand); }
.card__img { width: 100%; height: 100%; object-fit: contain; padding: 10%; margin: 0; mix-blend-mode: multiply; } /* white packshot backgrounds take the card colour */
.card__ph { display: grid; place-content: center; gap: var(--s1); height: 100%; padding: 12%; text-align: center; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.card__ph small { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.outofstock .card__media > img, .outofstock .card__ph { opacity: .55; }
/* Gift cards in the grid: a card face drawn here rather than a photo (parts/gift-card-cards.php). Sized to the card, so it reads the same in two columns or four. */
.card__media--gift { display: grid; place-items: center; container-type: inline-size; }
.gift-face { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 80%; aspect-ratio: 1.41; padding: 8cqi 9cqi; border-radius: 2.5cqi; background: linear-gradient(135deg, #2b2b2b, var(--ink) 60%); color: var(--paper); box-shadow: 0 14px 28px -14px rgba(11, 11, 11, .55); transition: transform .5s var(--ease); }
.gift-face::before { content: ''; position: absolute; inset: 3.5cqi; border: 1px solid #c9a464; border-radius: 1.2cqi; pointer-events: none; } /* The gold frame from Zara's voucher design. */
.gift-face small { font-size: 3.6cqi; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #d6b06f; }
.gift-face strong { font-family: var(--font-display); font-weight: 400; font-size: 13cqi; line-height: 1; }
@media (hover: hover) { .card--gift:hover .gift-face { transform: rotate(-3deg) scale(1.03); } }
.site-main ul.products .card--gift .price { white-space: nowrap; } /* "From £10" on one line */
.card--gift .card__foot { flex-wrap: wrap; row-gap: var(--s3); } /* Phone cards are too narrow for "From £10" and "Choose" side by side: the button drops below. */
.card__img--gift { padding: 7%; mix-blend-mode: normal; } /* Zara's voucher design: landscape, and dark, so no multiply. */
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s4); gap: var(--s1); }
.card__brand { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.card__title { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card__size { margin: 0; font-size: .82rem; color: var(--slate); }
.card__for { margin: var(--s1) 0 0; font-size: .82rem; color: var(--slate); }
.card__oos { font-size: .82rem; font-weight: 600; line-height: 1.2; text-align: right; color: var(--slate); }
.card__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: auto; padding-top: var(--s3); }
.site-main ul.products .price { margin: 0; font-weight: 700; font-size: 1rem; color: var(--ink); }
.site-main ul.products .price del { color: var(--slate); font-weight: 500; opacity: 1; margin-right: .3em; }
.site-main ul.products .price ins { text-decoration: none; }
.site-main ul.products .button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: .45rem .95rem; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font-weight: 700; font-size: .85rem; text-decoration: none; border: 0; cursor: pointer; margin: 0; transition: background .2s; }
.site-main ul.products .button:hover { background: var(--ink-3); }
.site-main ul.products .button.loading { opacity: .6; }
.site-main ul.products .button.added::after { content: ' ✓'; }
.site-main ul.products .added_to_cart { position: absolute; left: -9999px; }
.site-main ul.products li.product-type-external .button { background: var(--beige); color: var(--ink); }
@media (min-width: 760px) { .site-main ul.products { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } .site-main ul.products.columns-4:not(.products--row) { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .site-main ul.products.columns-4:not(.products--row) { grid-template-columns: repeat(4, 1fr); } } /* "Pairs well with": 2 + 2, then one row of 4 */
@media (min-width: 1100px) { .site-main ul.products.products--row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* ------------------------------------------------------------- Shop page */
.shop-section { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.shop-section > h2, .shop-all { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.shop-all { margin-top: clamp(2.5rem, 5vw, 4rem); }
.fulfilment-line { display: flex; align-items: flex-start; gap: .5em; margin-top: var(--s4); font-size: .92rem; font-weight: 600; }
.fulfilment-line .icon { flex: none; margin-top: .15em; color: var(--beige-dark); }
@media (max-width: 759px) { .woocommerce-shop .page-hero__media, body:has(#roles) .page-hero__media { display: none; } } /* Products and open roles before the photo on phones. */
.chips--lg .chip { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
/* Brands: a swipeable row on phones, a grid from tablet up. */
.brand-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: min(42vw, 180px); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s2); list-style: none; scrollbar-width: none; }
.brand-tiles::-webkit-scrollbar { display: none; }
.brand-tile { scroll-snap-align: start; }
.brand-tile a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); height: 100%; min-height: 150px; padding: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.brand-tile a:hover { border-color: var(--ink); transform: translateY(-3px); }
.brand-tile img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; }
.brand-tile span { font-family: var(--font-display); font-size: 1.8rem; }
.brand-tile__count { font-family: var(--font-body) !important; font-size: .8rem !important; color: var(--slate); }
@media (min-width: 760px) { .brand-tiles { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding: 0; } }

/* Filters: a bottom sheet (native <dialog>) on phones, a sidebar on desktop. */
.shop-layout { scroll-margin-top: calc(var(--header-h) + var(--s4)); }
.filters { padding: 0; border: 0; color: var(--ink); background: var(--paper); }
.filters[open] { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 88dvh; margin: 0; border-radius: var(--radius) var(--radius) 0 0; overflow-y: auto; overscroll-behavior: contain; animation: sheet .35s var(--ease); }
.filters::backdrop { background: rgba(11, 11, 11, .5); }
@keyframes sheet { from { transform: translateY(100%); } }
.no-js .filters { display: block; position: static; margin-bottom: var(--s6); }
.filters__form { display: grid; gap: var(--s2); padding: 0 var(--gutter); }
.filters__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: var(--s4) 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.filters__title { margin: 0; font-size: 1.8rem; }
.filters__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; }
.filters__search { position: relative; display: block; margin: 0 0 var(--s3); }
.filters__search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--slate); pointer-events: none; }
.filters__search input { width: 100%; min-height: 48px; padding: .6rem 1rem .6rem 2.7rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font: inherit; }
.filters__search input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.filters__group { border-bottom: 1px solid var(--line); }
.filters__group summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 700; cursor: pointer; list-style: none; }
.filters__group summary::-webkit-details-marker { display: none; }
.filters__group summary .icon { transition: transform .3s var(--ease); }
.filters__group[open] summary .icon { transform: rotate(180deg); }
.filters__opts { display: grid; padding-bottom: var(--s3); }
.filters__opt, .filters__switch { display: flex; align-items: center; gap: var(--s3); min-height: 44px; cursor: pointer; }
.filters__opt input, .filters__switch input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.filters__name { flex: 1; font-size: .95rem; }
.filters__opt input:checked ~ .filters__name { font-weight: 700; }
.filters__count { min-width: 2.2em; padding: .1em .5em; border-radius: var(--radius-pill); background: var(--sand); font-size: .75rem; font-weight: 700; text-align: center; color: var(--ink-3); }
.filters__none { margin: 0 0 var(--s3); font-size: .88rem; color: var(--slate); }
.filters__switch { padding-block: var(--s2); font-weight: 600; }
.filters__foot { position: sticky; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s3); margin-top: var(--s3); padding: var(--s4) 0 calc(var(--s4) + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.js .filters__foot .btn--primary { display: none; } /* applied as you tick; the sheet's own button is below */
.filters[open] .filters__foot .btn--primary { display: inline-flex; }

.shop-results { min-width: 0; transition: opacity .2s; }
[aria-busy="true"] > .shop-results { opacity: .45; pointer-events: none; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.shop-count { margin: 0 auto 0 0; font-weight: 700; }
.filters-open__n { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding-inline: .3rem; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font-size: .72rem; }
.filters-open:hover .filters-open__n { background: var(--paper); color: var(--ink); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 44px; padding: .55rem 2.2rem .55rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font: inherit; font-size: .9rem; }
@media (max-width: 759px) { /* Filter, count and sort on one row; the sort menu gives way first. */
	.shop-toolbar { flex-wrap: nowrap; gap: var(--s2); }
	.shop-count { white-space: nowrap; font-size: .9rem; }
	.woocommerce-ordering { flex: 0 1 10rem; min-width: 0; }
	.woocommerce-ordering select { width: 100%; padding-right: 1.8rem; font-size: 1rem; text-overflow: ellipsis; } /* Under 16px, iPhones zoom the page on focus. */
}
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: 0 0 var(--s5); list-style: none; }
.chip--active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip--active:hover { background: var(--ink-3); }
.active-filters__clear { padding: .45rem .3rem; font-size: .9rem; font-weight: 700; }
.shop-empty { display: grid; justify-items: start; gap: var(--s4); padding: var(--s7); background: var(--sand); border-radius: var(--radius); }
.shop-empty p { margin: 0; font-size: 1.1rem; }
@media (min-width: 1024px) {
	.shop-layout { display: grid; grid-template-columns: 260px 1fr; grid-template-rows: auto 1fr; column-gap: var(--s8); align-items: start; min-height: calc(100vh - var(--header-h) - var(--s7)); } /* min-height: a short result still leaves the filters a screen's worth of room */
	.filters__search { grid-area: 1 / 1; } /* Search heads the sidebar, filters under it, results beside both. */
	.filters { grid-area: 2 / 1; }
	.shop-results { grid-area: 1 / 2 / 3; }
	/* As tall as the results beside it: contain: size stops the filters stretching the section, so they scroll only when longer than the products. */
	/* height: auto overrides the <dialog> default of fit-content, which contain: size would collapse to 0. */
	.filters, .filters[open] { position: static; align-self: stretch; contain: size; inset: auto; display: block; width: auto; height: auto; max-height: none; margin: -6px 0 0 -6px; padding: 6px 0 0 6px; border-radius: 0; overflow-y: auto; background: transparent; animation: none; scrollbar-width: thin; }
	/* The 6px in, offset by the margin: a scrolling box clips at its edge, which cut off the checkboxes and the 5px focus ring once enough groups were open to scroll. */
	.filters__form { padding: 0 var(--s2) 0 0; }
	.filters__head, .filters-open { display: none; }
	.filters__foot { position: static; display: block; margin: 0; padding: var(--s3) 0 0; border: 0; }
}
/* Nothing to filter by (shop-filters.php decides): no search or Filter buttons, and the grid takes the full width. */
.shop-layout--plain .filters__search, .shop-layout--plain .filters, .shop-layout--plain .filters-open, body:has(.shop-layout--plain) .book-bar [data-filters-open] { display: none; }
body:has(.shop-layout--plain) .book-bar--shop { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
	.shop-layout--plain { display: block; min-height: 0; }
	.shop-layout--plain ul.products { grid-template-columns: repeat(4, 1fr); }
}
.load-more { margin: var(--s7) 0 0; text-align: center; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { padding: var(--s4) var(--s5); margin-bottom: var(--s5); border-radius: var(--radius-sm); background: var(--sand); list-style: none; }
.woocommerce-error { background: #f8e4e1; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { content: none; }
@media (min-width: 760px) { .brand-tiles { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------- Single product */
/* WooCommerce's stylesheet loads here, so these carry !important on purpose. */
.product-page div.product div.images, .product-page div.product div.summary { float: none !important; width: 100% !important; margin: 0 !important; }
.product-page div.product form.cart .button, .product-page button.button.alt, .product-page a.button, .product-page a.button.alt { background: var(--ink) !important; color: var(--paper) !important; border-radius: var(--radius-pill) !important; font-weight: 700 !important; padding: .75rem 1.5rem !important; line-height: 1.2 !important; }
.product-page div.product form.cart .button:hover { background: var(--ink-3) !important; }
.product-page div.product form.cart div.quantity { float: none !important; margin: 0 !important; }
/* WooCommerce's clearfix and a sold-one-at-a-time hidden quantity would each take a flex slot and indent the button. */
.product-page div.product form.cart::before, .product-page div.product form.cart::after { content: none !important; }
.product-page div.product form.cart div.quantity:has(> input[type="hidden"]) { display: none !important; }
.product-page div.product .stock.in-stock { color: var(--success) !important; }
/* "Pairs well with": WooCommerce's float widths would squeeze each card to a sliver of its grid cell on phones. */
.product-page ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
.product-page ul.products li.product .price { margin: 0 !important; font-size: 1rem !important; font-weight: 700; color: var(--ink) !important; } /* as on the shop cards */
.product-page div.product p.price, .product-page div.product span.price { color: var(--ink) !important; }
.product-page ul.products li.product .button { margin: 0 !important; padding: .45rem .95rem !important; } /* WooCommerce's top margin pushed Add below the price. */
.product-page .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 var(--s5) !important; }
.product-page .woocommerce-tabs ul.tabs::before, .product-page .woocommerce-tabs ul.tabs li::before, .product-page .woocommerce-tabs ul.tabs li::after { display: none !important; }
.product-page .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.product-page .woocommerce-tabs ul.tabs li a { padding: var(--s3) var(--s4) !important; }
.product-page .crumbs { padding-top: var(--s5); }
.product-page div.product { display: grid; gap: var(--s7); padding-block: var(--s6) var(--s9); }
.product-page .woocommerce-product-gallery { align-self: start; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.product-page .woocommerce-product-gallery__image { background: var(--sand); }
.product-page .woocommerce-product-gallery__image > a > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 8%; }
.product-page .woocommerce-product-gallery img:not(.zoomImg) { mix-blend-mode: multiply; } /* white packshot backgrounds take the gallery colour, as on the cards */
.product-page .woocommerce-product-gallery img.zoomImg { background: var(--sand); } /* not multiplied: it sits over the base image on hover, so blending would ghost both together */
.product-page .flex-control-thumbs { display: flex; gap: var(--s2); list-style: none; padding: var(--s3); }
.product-page .flex-control-thumbs img { width: 64px; border-radius: 8px; cursor: pointer; opacity: .6; }
.product-page .flex-control-thumbs img.flex-active { opacity: 1; }
.product-page .product_title { font-size: clamp(2rem, 4vw, 3rem); }
.product__brand { margin: 0 0 var(--s2); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.product-page .summary .price { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--s4); }
.product-page .summary .price del { color: var(--slate); font-weight: 500; margin-right: .3em; }
.product-page .summary .price ins { text-decoration: none; }
.product-page .cart { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-block: var(--s5); }
.product-page .quantity input { width: 80px; min-height: 48px; padding: .5rem; border: 1px solid var(--line); border-radius: var(--radius-pill); text-align: center; font: inherit; }
.product-page .single_add_to_cart_button, .product-page .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.5rem; border: 0; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.product-page .button:hover { background: var(--ink-3); }
.product__size { margin-left: .35em; font-size: .62em; font-weight: 600; color: var(--slate); }
.best-for { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s4); }
.best-for__label { margin-right: var(--s1); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.ticks--stack { display: grid; gap: var(--s2); margin-block: var(--s4); font-weight: 500; }
.ticks--stack li { align-items: flex-start; }
.ticks--stack svg { flex: none; margin-top: .25em; }
.fulfilment { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); padding: var(--s4) var(--s5); margin-bottom: var(--s5); border-radius: var(--radius-sm); background: var(--sand); font-size: .92rem; }
.fulfilment--external { display: flex; align-items: center; gap: .5em; }
.fulfilment__line { display: flex; align-items: flex-start; gap: .5em; margin: 0; font-weight: 600; }
.fulfilment__line .icon { flex: none; margin-top: .15em; }
.postcode-check { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); margin: 0; }
.postcode-check label { font-weight: 600; font-size: .88rem; }
.postcode-check__row { display: flex; gap: var(--s2); }
.postcode-check input { flex: 1; min-width: 0; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font: inherit; text-transform: uppercase; }
.postcode-check input::placeholder { text-transform: none; }
.postcode-check__result:empty { display: none; }
.postcode-check__result[data-ok="1"] { color: var(--success); font-weight: 600; }
.product-page .product_meta { font-size: .85rem; color: var(--slate); }
.product-page .woocommerce-tabs { grid-column: 1 / -1; }
.product-page .woocommerce-tabs .tabs { display: flex; gap: var(--s2); list-style: none; border-bottom: 1px solid var(--line); margin-bottom: var(--s5); }
.product-page .woocommerce-tabs .tabs a { display: block; padding: var(--s3) var(--s4); text-decoration: none; font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.product-page .woocommerce-tabs .tabs .active a { border-color: var(--ink); }
.product-page .related, .product-page .upsells { grid-column: 1 / -1; }
.product-page .related > h2, .product-page .upsells > h2 { font-size: 2rem; }
@media (min-width: 900px) { .product-page div.product { grid-template-columns: 1fr 1fr; gap: var(--s9); } }

/* ---------------------------------------------------- Cart / checkout */
.is-shop .woocommerce table.shop_table { border-radius: var(--radius); overflow: hidden; }
.is-shop .woocommerce .button, .is-shop .woocommerce button.button, .is-shop .woocommerce a.button, .is-shop .woocommerce input.button { background: var(--ink); color: var(--paper); border-radius: var(--radius-pill); font-weight: 700; }
.is-shop .woocommerce .button.alt { background: var(--ink); color: var(--paper); }
.is-shop .woocommerce .button:hover { background: var(--ink-3); color: var(--paper); }
/* WooCommerce's a.button is inline-block, so any min-height left the label at the top. */
.woocommerce a.button, .woocommerce ul.products li.product .button { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.is-shop .wc-block-components-button, .is-shop .wc-block-cart__submit-button { border-radius: var(--radius-pill) !important; background: var(--ink) !important; }
/* Empty basket's "New in store": two across on phones rather than one screen-high card each. */
.wc-block-grid__product-add-to-cart .wp-block-button__link { background: var(--ink); color: var(--paper); border-radius: var(--radius-pill); }
@media (max-width: 599px) {
	.wc-block-grid.has-4-columns .wc-block-grid__products { display: flex; }
	.wc-block-grid.has-4-columns .wc-block-grid__product { flex: 1 0 50% !important; max-width: 50% !important; margin: 0 0 var(--s5) !important; padding-inline: var(--s2); }
}

/* ------------------------------------------------------------ Page hero */
.page-hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(.75rem, 2vw, 1.5rem); background: radial-gradient(90% 70% at 100% 0%, var(--sand) 0%, var(--paper) 60%); }
.page-hero + .section { padding-top: clamp(1.75rem, 4vw, 3.25rem); }
.page-hero + .section--tight { padding-top: clamp(1rem, 2.5vw, 1.75rem); }
.page-hero__inner { display: grid; gap: var(--s6); align-items: center; }
.page-hero__copy h1 { margin-bottom: var(--s4); }
.page-hero__intro { font-size: 1.1rem; color: var(--slate); }
.page-hero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { margin-bottom: var(--s4); font-size: .82rem; color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; }
.crumbs li + li::before { content: '›'; margin-right: .4em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (min-width: 900px) { .page-hero--media .page-hero__inner { grid-template-columns: 1.1fr .9fr; gap: var(--s9); } }

/* ---------------------------------------------------------------- Pills */
.pills { position: sticky; top: var(--header-h); z-index: 30; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pills__inner { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); overflow-x: auto; scrollbar-width: none; counter-reset: pill; }
.pills__inner::-webkit-scrollbar { display: none; }
.pill { position: relative; flex: none; display: inline-flex; align-items: baseline; gap: .45em; padding: 1rem 0 .9rem; color: var(--slate); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; line-height: 1; counter-increment: pill; transition: color .2s; }
.pill::before { content: counter(pill, decimal-leading-zero); font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--beige-text); }
.pill::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pill:hover, .pill.is-current { color: var(--ink); }
.pill.is-current::after { transform: scaleX(1); }
/* Phones: every category in view to tap. A sideways row hid most of them, and the sticky bar would cost a third of the screen once wrapped. */
@media (max-width: 759px) {
	.pills { position: static; }
	.pills__inner { flex-wrap: wrap; gap: 0 var(--s4); padding-block: var(--s2); }
	.pill { padding-block: .7rem .6rem; font-size: 1.05rem; }
}

/* ---------------------------------------------------------- Service rows */
.book__group { margin-bottom: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: calc(var(--header-h) + 70px); }
.book__group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s5); margin-bottom: var(--s4); }
.book__group-head h2, .book__group-head h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.book__group-head h3 a { text-decoration: none; }
.book__group-head p { margin: 0; color: var(--slate); flex-basis: 100%; }
.service-rows { list-style: none; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); align-items: center; padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.service-row__title { margin: 0 0 var(--s1); font-size: 1.1rem; }
.service-row__text { margin: 0; font-size: .92rem; color: var(--slate); }
.service-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); grid-column: 1; font-weight: 700; }
.service-row__dur { display: inline-flex; align-items: center; gap: .3em; font-weight: 500; font-size: .85rem; color: var(--slate); }
.service-row__book { grid-column: 2; grid-row: 1 / span 2; }
.book__note { margin-top: var(--s5); font-size: .88rem; color: var(--slate); }
.hero-offer { display: inline-block; margin: 0 0 var(--s2); padding: .5rem .9rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); font-weight: 700; }
/* One real review beside the prices on a service page. */
/* Aftercare under a booking confirmation. */
.aftercare { padding-top: var(--s5); border-top: 1px solid var(--line); }
.aftercare h2 { margin-bottom: var(--s2); font-size: 1.5rem; }
.aftercare > p { color: var(--slate); }
/* Booking confirmed: the receipt, and what the client needs before they come in. */
.booked__grid { display: grid; gap: var(--s6); align-items: start; margin-bottom: var(--s8); }
.booked__grid > * { min-width: 0; }
.booked__visit { display: grid; gap: var(--s4); padding: var(--s6); border-radius: var(--radius); background: var(--sand); }
.booked__visit h2 { margin: 0; font-size: 1.5rem; }
.booked__visit p { margin: 0; }
.booked__more { margin-top: var(--s7); }
@media (min-width: 900px) { .booked__grid { grid-template-columns: 1.3fr 1fr; gap: var(--s7); } }
@media (min-width: 760px) {
	.service-row { grid-template-columns: 1fr auto auto; }
	.service-row__meta { grid-column: 2; }
	.service-row__book { grid-column: 3; grid-row: auto; }
}
.role-row { grid-template-columns: 1fr; }
.role-row__meta { margin: 0; font-size: .85rem; font-weight: 500; color: var(--slate); }
.role-row__apply { justify-self: start; }
@media (min-width: 760px) {
	.role-row { grid-template-columns: 1fr 1.5fr auto; gap: var(--s6); }
}

/* ---------------------------------------------------------------- Steps */
.steps { --steps-gap: var(--s7); display: grid; gap: var(--steps-gap); list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: var(--s4); }
.step__n { position: relative; z-index: 1; grid-row: 1 / span 2; display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 600; } /* Body font: the serif's numerals sit at different heights. */
.step:not(:last-child)::before { content: ''; position: absolute; top: 48px; bottom: calc(-1 * var(--steps-gap)); left: 24px; width: 1px; background: color-mix(in srgb, var(--ink) 25%, transparent); }
.step h3 { margin: var(--s2) 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.step p { grid-column: 2; margin: 0; color: var(--slate); font-size: .95rem; }
@media (min-width: 760px) {
	.steps { grid-template-columns: repeat(3, 1fr); }
	.step { display: block; padding-right: var(--s5); }
	.step__n { margin-bottom: var(--s3); }
	.step:not(:last-child)::before { top: 24px; right: calc(-1 * var(--steps-gap)); bottom: auto; left: 48px; width: auto; height: 1px; }
}

/* ---------------------------------------------------------------- Split */
.split + .split--flip { padding-top: 0; } /* Same background on both, so their padding would double up. */
.split__inner { display: grid; gap: var(--s7); align-items: center; }
.split__media { position: relative; }
.split__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__quote { position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s4); margin: 0; padding: var(--s5); background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.split__quote p { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.split__quote .icon { color: var(--beige-dark); margin-bottom: var(--s2); }
.split__quote img { height: 34px; width: auto; margin-bottom: var(--s2); }
.carousel__track { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track li { flex: 0 0 100%; scroll-snap-align: start; }
.rail__btn.carousel__btn { position: absolute; top: 50%; translate: 0 -50%; background: var(--paper); } /* .rail__btn comes later in this file and is transparent */
.rail__btn.carousel__btn:hover { background: var(--ink); }
.carousel__btn[data-dir="-1"] { left: var(--s3); }
.carousel__btn[data-dir="1"] { right: var(--s3); }
.carousel__count { position: absolute; right: var(--s3); bottom: var(--s3); margin: 0; padding: .15rem .6rem; border-radius: var(--radius-pill); background: var(--paper); font-size: .8rem; font-weight: 600; }
.points { display: grid; gap: var(--s4); list-style: none; margin-top: var(--s5); }
.points li { display: flex; align-items: flex-start; gap: var(--s3); }
.points .icon { flex: none; margin-top: .3em; color: var(--beige-dark); }
.points strong { display: block; }
.points span { color: var(--slate); font-size: .95rem; }
.points--cards { margin-top: 0; }
.points--cards li { padding: var(--s5); background: var(--sand); border-radius: var(--radius-sm); }
.about__block { margin-top: var(--s7); }
.about__block h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
@media (min-width: 900px) {
	.split__inner { grid-template-columns: 1fr 1fr; gap: var(--s10); }
	.split--flip .split__media { order: 2; }
	.split__inner--sticky { align-items: start; }
	.split__inner--sticky .split__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------------------------------------------------------------- Team */
.team { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) var(--s2); list-style: none; scrollbar-width: none; }
.person { flex: 0 0 min(66vw, 240px); scroll-snap-align: start; }
.person__media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); margin-bottom: var(--s3); }
.person__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--ease); }
.person:hover .person__img { transform: scale(1.04); }
.person__name { margin: 0; font-size: 1.1rem; }
.person__role { margin: 0; font-size: .85rem; color: var(--slate); }
.person__skill { margin: var(--s2) 0 0; font-size: .85rem; }
.person__ig { display: inline-flex; padding: 13px; margin: calc(var(--s2) - 13px) 0 -13px -13px; color: var(--slate); } /* 44px to tap, the icon still on the text edge */
.person__ig:hover { color: var(--ink); }
@media (min-width: 1100px) { .team { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding-inline: 0; } .person { flex: auto; } }

/* -------------------------------------------------------------- Reviews */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.reviews-head h2 { margin: 0 0 var(--s4); }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin: 0; font-size: .9rem; line-height: 1.4; color: var(--slate); }
.rating-summary__score { font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; line-height: 1; color: var(--ink); }
.reviews-nav { display: flex; gap: var(--s2); }
.reviews-nav__btn, .rail__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.reviews-nav__btn[data-dir="-1"] .icon, .rail__btn[data-dir="-1"] .icon { transform: scaleX(-1); }
.reviews-nav__btn:hover:not(:disabled), .rail__btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.reviews-nav__btn:disabled, .rail__btn:disabled { opacity: .3; cursor: default; }
.reviews { display: flex; gap: var(--s4); margin: 0 calc(-1 * var(--s2)); padding: var(--s2); align-items: flex-start; overflow: auto hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--s2); list-style: none; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { display: flex; flex-direction: column; flex: 0 0 min(80vw, 340px); scroll-snap-align: start; padding: var(--s6); background: var(--white); border-radius: var(--radius); }
.review__stars { margin: 0 0 var(--s3); color: var(--beige-text); letter-spacing: .08em; }
.review__text { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 6; min-height: 9em; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; }
.review.is-open .review__text { display: block; -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; padding: var(--s2) 0; border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); cursor: pointer; visibility: hidden; }
.review.is-clamped .review__more { visibility: visible; }
.review__by { display: flex; align-items: center; gap: var(--s3); margin: auto 0 0; padding-top: var(--s5); font-size: .8rem; line-height: 1.4; color: var(--slate); }
.review__by strong { font-size: .9rem; color: var(--ink); }
.review__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
@media (min-width: 900px) { .review { flex-basis: calc((100% - 2 * var(--s4)) / 3); } }

/* ------------------------------------------------------------- CTA band */
.cta-band__inner { display: grid; gap: var(--s7); align-items: center; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--paper); }
.cta-band p { color: var(--beige-2); }
.cta-band__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.2fr .8fr; gap: var(--s10); } }

/* ------------------------------------------------------------ Instagram */
.ig { display: grid; gap: var(--s4); justify-items: start; }
.reviews + .ig { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.ig__title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ig p { margin: var(--s2) 0 0; color: var(--slate); }
@media (min-width: 760px) { .ig { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s6); } }

/* ---------------------------------------------------------------- Forms */
.ticks { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s5) 0 0; padding: 0; list-style: none; font-weight: 600; font-size: .95rem; }
.ticks li { display: inline-flex; align-items: center; gap: var(--s2); }
.ticks svg { color: var(--beige-dark); }
#form { scroll-margin-top: var(--header-h); }
.form-section__inner { display: grid; gap: var(--s7); }
.form-section .rating-summary { margin-top: var(--s5); }
.form-section__alt-title { margin: var(--s7) 0 var(--s3); font-size: 1.15rem; }
.form-section__alt { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.form-section__alt a { display: flex; align-items: center; gap: var(--s3); min-height: 48px; font-weight: 600; color: var(--ink); text-decoration: none; }
.form-section__alt a:hover { text-decoration: underline; }
.form-section__form { padding: var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form-section__more { scroll-margin-top: var(--header-h); }
.form-section__more h2 { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); font-size: 1.5rem; }
.fluentform .ff-el-group { margin-bottom: var(--s4); }
.fluentform .ff-el-input--label label { font-weight: 600; font-size: .9rem; }
.fluentform .ff-el-form-control, .fluentform select, .fluentform textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: inherit; }
.fluentform .ff-el-form-control:focus { outline: 2px solid var(--ink); border-color: transparent; }
.fluentform .ff-btn-submit { display: inline-flex; align-items: center; min-height: 50px; padding: .8rem 1.6rem; border: 0; border-radius: var(--radius-pill) !important; background: var(--ink) !important; color: var(--paper) !important; font: inherit; font-weight: 700; cursor: pointer; }
.fluentform .ff-btn-submit:hover { background: var(--ink-3) !important; }
.fluentform .ff-el-is-error .text-danger { font-size: .85rem; color: #a3321b; }
.fluentform input[type="file"].ff-el-form-control { padding: .35rem; color: var(--slate); font-size: .9rem; cursor: pointer; }
.fluentform input[type="file"]::file-selector-button { min-height: 36px; margin-right: var(--s3); padding: .35rem 1rem; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.fluentform input[type="file"]:hover::file-selector-button { background: var(--ink); color: var(--paper); }
.zm-cv__status { margin: var(--s1) 0 0; font-size: .85rem; color: var(--slate); }
.zm-cv__remove { padding: 0; border: 0; background: none; color: var(--ink); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.fluentform .ff-message-success { padding: var(--s4); border-radius: var(--radius-sm); background: var(--sand); }
@media (min-width: 900px) {
	.form-section__inner { grid-template-columns: .9fr 1.1fr; gap: var(--s9); align-items: start; }
	.form-section__form { padding: var(--s7); }
	/* The training copy follows the form in the source, so phones reach the form first; here it sits under the heading, beside the form. */
	.form-section__inner:has(.form-section__more) { grid-template-rows: auto 1fr; row-gap: var(--s6); }
	.form-section__inner:has(.form-section__more) .form-section__form { grid-column: 2; grid-row: 1 / span 2; }
	.form-section__more { grid-column: 1; }
}

/* ------------------------------------------------------------------ FAQ */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; transition: transform .3s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding-bottom: var(--s4); color: var(--slate); }
.faq__a p { margin: 0; }

/* ----------------------------------------------------------- Brand hero */
.brand-hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 8rem); background: var(--ink); color: var(--paper); }
.brand-hero__media { position: absolute; inset: 0; }
.brand-hero__img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.brand-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, .85), rgba(11, 11, 11, .35)); }
.brand-hero__inner { position: relative; }
.brand-hero__logo { margin-bottom: var(--s5); }
.brand-hero__logo img { max-height: 48px; width: auto; filter: brightness(0) invert(1); }
.brand-hero h1 { color: var(--paper); }
.brand-hero__tag { font-size: 1.15rem; color: var(--beige-2); }

/* ------------------------------------------------------------ Brands hub */
.brands__jump { margin-top: var(--s5); }
.brands__jump .badge { margin-left: .2em; }
.perks { display: grid; gap: var(--s3); list-style: none; padding-block: var(--s5); border-block: 1px solid var(--line); }
.perks li { display: flex; align-items: center; gap: var(--s3); font-weight: 600; font-size: .95rem; }
.perks .icon { flex: none; color: var(--beige-dark); }
.brand-feature { scroll-margin-top: var(--header-h); }
.brand-feature__inner { display: grid; gap: var(--s7); align-items: center; }
.brand-feature__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--ink); aspect-ratio: 4 / 3; }
.brand-feature__img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .8s var(--ease), opacity .4s; }
.brand-feature__media:hover .brand-feature__img { transform: scale(1.04); opacity: .9; }
.brand-feature__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 11, 11, .7), transparent 55%); }
.brand-feature__logo { position: absolute; left: var(--s6); bottom: var(--s6); z-index: 1; color: var(--paper); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; }
.brand-feature__logo img { max-height: 44px; width: auto; filter: brightness(0) invert(1); }
.brand-feature__offer { position: absolute; top: var(--s5); right: var(--s5); z-index: 1; display: grid; place-items: center; width: 96px; aspect-ratio: 1; padding: var(--s2); border-radius: 50%; background: var(--beige); color: var(--ink); font-weight: 800; font-size: .95rem; line-height: 1.1; text-align: center; transform: rotate(-8deg); box-shadow: var(--shadow); }
.brand-feature__tag { font-size: 1.15rem; color: var(--slate); }
.brand-feature__products { margin-top: clamp(2.5rem, 5vw, 4rem); }
.brand-feature__products-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.brand-feature__products-head h3 { margin: 0; }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
	.brand-feature__inner { grid-template-columns: 1.1fr 1fr; gap: var(--s9); }
	.brand-feature--flip .brand-feature__media { order: 2; }
}

/* -------------------------------------------------------------- Contact */
.contact__find { scroll-margin-top: var(--header-h); }
.contact__grid { display: grid; gap: var(--s7); }
.contact__reach { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s8); margin-bottom: var(--s4); }
.contact__reach p { margin: -.5em 0 0; } /* Takes back the first link's padding so it lines up with the address. */
.contact__details address { display: grid; font-size: 1.05rem; }
.contact__line { display: flex; align-items: center; gap: .5em; padding-block: .5em; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact__line:hover { text-decoration: underline; }
.contact__details h3 { margin-top: var(--s6); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.hours { display: grid; gap: var(--s1); }
.hours div { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s1) 0; border-bottom: 1px dashed var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--slate); }
.contact__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); filter: saturate(.55) sepia(.12) contrast(.97); } /* Google's full colours fight the palette, so they are softened and warmed. */
@media (min-width: 900px) {
	.contact__grid { grid-template-columns: 1fr 1.2fr; gap: var(--s9); }
	.contact__map { display: flex; flex-direction: column; }
	.contact__map iframe { flex: 1; aspect-ratio: auto; min-height: 400px; }
}

/* --------------------------------------------------------------- Footer */
.site-footer { --footer-line: color-mix(in srgb, var(--beige) 28%, transparent); padding-block: var(--s8) var(--s6); background: var(--ink); color: var(--beige-2); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--s7); margin-bottom: var(--s8); }
/* Corner rules, as on the salon's black sign. */
.site-footer__sign { position: relative; width: fit-content; max-width: 100%; margin-bottom: var(--s6); padding: var(--s5); }
.site-footer__sign::before, .site-footer__sign::after { content: ''; position: absolute; width: 56px; height: 56px; pointer-events: none; }
.site-footer__sign::before { top: 0; left: 0; border-top: 1px solid var(--beige); border-left: 1px solid var(--beige); }
.site-footer__sign::after { right: 0; bottom: 0; border-right: 1px solid var(--beige); border-bottom: 1px solid var(--beige); }
.site-footer__sign img { width: 230px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.site-footer__est { margin: var(--s2) 0 0; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--beige); }
.site-footer__wordmark { margin: 0; font-family: var(--font-display); font-size: 1.6rem; color: var(--paper); }
.site-footer__heading { margin: 0 0 var(--s3); font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; color: var(--beige); }
.site-footer__address { display: grid; margin-bottom: var(--s3); }
.site-footer .hours div { border-color: var(--footer-line); }
.site-footer .hours dd { color: var(--beige-2); }
.footer-nav, .legal-nav { list-style: none; display: grid; gap: var(--s2); }
.social { display: flex; gap: var(--s2); list-style: none; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--footer-line); border-radius: 50%; }
.social a:hover { background: var(--beige); color: var(--ink); border-color: var(--beige); }
.partners { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s6); align-items: center; list-style: none; padding-block: var(--s6); border-top: 1px solid var(--footer-line); }
.partners img { height: 44px; width: auto; max-width: 120px; object-fit: contain; filter: brightness(0) invert(1); opacity: .6; }
.partners span { font-family: var(--font-display); font-size: 1.2rem; white-space: nowrap; opacity: .7; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); padding-top: var(--s5); border-top: 1px solid var(--footer-line); font-size: .85rem; }
.site-footer__legal p { margin: 0; }
.legal-nav { display: flex; gap: var(--s4); }
@media (min-width: 760px) {
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.footer-nav { gap: var(--s1); }
	.footer-nav li { padding: var(--s1) 0; border-bottom: 1px dashed var(--footer-line); } /* Same rows as .hours, so seven links line up with seven days. */
}
@media (min-width: 1100px) { .site-footer__grid { column-gap: var(--s9); } }

/* --------------------------------------------------------------- 404 etc */
.post-card { padding-block: var(--s4); border-bottom: 1px solid var(--line); }

/* -------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.marquee__track { animation: none; }
	.hero__float { animation: none; }
	.hero__canvas { display: none; }
	.hero__stage.is-ready .hero__fallback { opacity: 1; }
	.tile__link, .tile__img, .person__img, .btn, .site-main ul.products li.card { transition: none; }
	.prize-draw[open] { animation: none; }
}

/* Log in, register and lost password: the fields match the rest of the site, at 16px so iPhones do not zoom. */
.woocommerce-account .woocommerce .form-row input.input-text { min-height: 48px; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: inherit; }
.woocommerce-account .woocommerce .form-row input.input-text:focus { outline: 2px solid var(--ink); border-color: transparent; }
.woocommerce-account .woocommerce .button { min-height: 48px; padding-inline: 1.5rem; }
.woocommerce-account .woocommerce form .show-password-input { top: 50%; right: 0; padding: 11px; transform: translateY(-50%); }
.woocommerce-account .woocommerce-form__input-checkbox { width: 20px; height: 20px; vertical-align: middle; }

/* Sideways rows (main.js adds the rail): a slim progress bar for fingers, with arrows for a mouse. */
.products--row::-webkit-scrollbar, .team::-webkit-scrollbar { display: none; }
.rail { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.rail[hidden] { display: none; }
.team + .rail { margin-inline: var(--gutter); }
.rail__track { flex: 1; height: 3px; margin-right: var(--s2); border-radius: 3px; background: color-mix(in srgb, var(--ink) 14%, transparent); overflow: hidden; }
.rail__track i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }
@media (hover: none) { .rail__btn { display: none; } }
.is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto !important; user-select: none; }
.is-dragging * { pointer-events: none; }
/* Swiped sideways, a team card fades in at once rather than waiting its turn in a stagger meant for a grid. */
@media (max-width: 759px) { .js .team .reveal { transition-delay: 0s; } }

/* Basket and checkout fields on brand; WooCommerce's are square and black-edged. */
.is-shop .wc-block-components-text-input input, .is-shop .wc-block-components-combobox input, .is-shop .wc-blocks-components-select__select { border: 1px solid var(--line) !important; border-radius: var(--radius-sm) !important; background: var(--paper) !important; font-size: 1rem !important; }
.is-shop .wc-block-components-button { font-weight: 700; }

/* Site Settings → Shop → Collection only: the checkout has no delivery to choose. */
.zm-collection-only .wc-block-checkout__shipping-method { display: none; }

/* ------------------------------------------------------------ Pay for order (zm_siq card page) */
.woocommerce-order-pay #order_review { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); max-width: 760px; }
.woocommerce-order-pay .woocommerce-info, .woocommerce-order-pay .woocommerce-error { max-width: 760px; margin: 0 0 var(--s6); border-top: 0; font-size: .92rem; }
.woocommerce-order-pay table.shop_table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-order-pay table.shop_table th, .woocommerce-order-pay table.shop_table td { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.woocommerce-order-pay #order_review table.shop_table th, .woocommerce-order-pay #order_review table.shop_table td { border-top: 0; } /* WooCommerce's own row lines would double ours. */
.woocommerce-order-pay table.shop_table thead th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); background: var(--paper); }
.woocommerce-order-pay table.shop_table .product-quantity, .woocommerce-order-pay table.shop_table .product-total, .woocommerce-order-pay table.shop_table .product-subtotal, .woocommerce-order-pay table.shop_table tfoot td { text-align: right; }
.woocommerce-order-pay table.shop_table td.product-quantity, .woocommerce-order-pay table.shop_table .product-subtotal, .woocommerce-order-pay table.shop_table tfoot th { white-space: nowrap; } /* Not the tfoot values: the collection address must wrap or the table outgrows its column. */
.woocommerce-order-pay table.shop_table .product-name { font-weight: 700; }
.woocommerce-order-pay table.shop_table .wc-item-meta { margin: var(--s2) 0 0; padding: 0; list-style: none; font-weight: 400; font-size: .9rem; color: var(--slate); }
.woocommerce-order-pay table.shop_table .wc-item-meta li { display: flex; gap: .4rem; }
.woocommerce-order-pay table.shop_table .wc-item-meta p { margin: 0; display: inline; }
.woocommerce-order-pay table.shop_table tfoot tr:last-child th, .woocommerce-order-pay table.shop_table tfoot tr:last-child td { border-bottom: 0; }
.woocommerce-order-pay table.shop_table tfoot tr:nth-last-child(2) th, .woocommerce-order-pay table.shop_table tfoot tr:nth-last-child(2) td { font-size: 1.15rem; } /* The Total row: WooCommerce puts Payment method after it. */
.woocommerce-order-pay table.shop_table tfoot th { font-weight: 700; }

.woocommerce-order-pay #payment { padding: var(--s6); background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-order-pay #payment ul.payment_methods { margin: 0; padding: 0; border: 0; }
.woocommerce-order-pay .wc_payment_method > input { position: absolute; opacity: 0; width: 0; height: 0; } /* One method: the radio is noise. */
.woocommerce-order-pay .wc_payment_method > label { display: block; margin-bottom: var(--s4); font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.woocommerce-order-pay #payment div.payment_box { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); margin: 0; padding: 0; background: none; color: inherit; font-size: 1rem; }
.woocommerce-order-pay #payment div.payment_box::before { display: none; }
.woocommerce-order-pay .payment_box > p:first-child { margin: 0; color: var(--slate); }
.woocommerce-order-pay .form-row { margin: 0; display: grid; gap: .3rem; }
.woocommerce-order-pay .form-row label { font-weight: 600; font-size: .9rem; }
.woocommerce-order-pay #payment > div.form-row { margin: var(--s6) 0 0; padding: var(--s6) 0 0; border-top: 1px solid var(--line); }
.woocommerce-order-pay .woocommerce-terms-and-conditions-wrapper { display: grid; gap: var(--s3); font-size: .9rem; color: var(--slate); }
.woocommerce-order-pay .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0; padding: 0; }
.woocommerce-order-pay .woocommerce-privacy-policy-text p { margin: 0; }
.woocommerce-order-pay .input-text { width: 100%; min-height: 48px; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: inherit; }
.woocommerce-order-pay .input-text:focus { outline: 2px solid var(--ink); border-color: transparent; }
.woocommerce-order-pay .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7rem 1.3rem; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.woocommerce-order-pay .button.alt { background: var(--ink); color: var(--paper); }
.woocommerce-order-pay .button:disabled { opacity: .45; cursor: default; }
.woocommerce-order-pay .payment_box p:has(> .button) { display: flex; flex-wrap: wrap; gap: var(--s3); margin: 0; }

/* Gift card and password boxes: sand panels inside the card. */
.woocommerce-order-pay .zm-siq-gc, .woocommerce-order-pay .zm-siq-login { padding: var(--s5); background: var(--sand); border-radius: var(--radius-sm); }
.woocommerce-order-pay .zm-siq-gc > summary { cursor: pointer; font-weight: 700; }
.woocommerce-order-pay .zm-siq-gc > *:not(summary) { margin-top: var(--s4); }
.woocommerce-order-pay .zm-siq-gc p:has(> .input-text) { display: grid; grid-template-columns: 1fr auto; gap: var(--s3); align-items: end; }
.woocommerce-order-pay .zm-siq-gc p:has(> .input-text) label { grid-column: 1 / -1; }
.woocommerce-order-pay .zm-siq-login p:first-child { margin-top: 0; color: var(--slate); }

/* Stripe's Payment Element and our Pay button. */
.woocommerce-order-pay #zm-siq-payment { min-height: 48px; }
.woocommerce-order-pay .zm-siq-error { margin: 0; color: #a3321f; font-weight: 600; }
.woocommerce-order-pay .zm-siq-error:empty { display: none; }
.woocommerce-order-pay #zm-siq-pay { width: 100%; min-height: 52px; font-size: 1.05rem; }
.woocommerce-order-pay .place-order { display: none; } /* WooCommerce's own Pay button is emptied; its row would leave a gap. */

@media (min-width: 1024px) {
	.woocommerce-order-pay #order_review { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7); max-width: none; align-items: start; }
	.woocommerce-order-pay .woocommerce-info, .woocommerce-order-pay .woocommerce-error { max-width: none; }
}

@media (max-width: 599px) {
	.woocommerce-order-pay table.shop_table, .woocommerce-order-pay table.shop_table tbody, .woocommerce-order-pay table.shop_table tfoot, .woocommerce-order-pay table.shop_table tbody tr { display: block; }
	.woocommerce-order-pay table.shop_table thead { display: none; }
	/* Label and value share a line when they fit; the collection address drops to its own full-width line. */
	.woocommerce-order-pay table.shop_table tfoot tr { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
	.woocommerce-order-pay table.shop_table tfoot tr:last-child { border-bottom: 0; }
	.woocommerce-order-pay table.shop_table tfoot th, .woocommerce-order-pay table.shop_table tfoot td { padding: 0; border-bottom: 0; }
	.woocommerce-order-pay table.shop_table tfoot td.product-total { margin-left: auto; text-align: left; }
	.woocommerce-order-pay table.shop_table tbody td { display: block; border-bottom: 0; padding-block: var(--s2); }
	.woocommerce-order-pay table.shop_table tbody td:first-child { padding-top: var(--s4); }
	.woocommerce-order-pay table.shop_table tbody td:last-child { padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
	.woocommerce-order-pay table.shop_table td.product-quantity, .woocommerce-order-pay table.shop_table .product-subtotal { text-align: left; }
	.woocommerce-order-pay table.shop_table td.product-quantity::before { content: 'Qty '; color: var(--slate); }
	.woocommerce-order-pay table.shop_table .product-subtotal::before { content: 'Price '; color: var(--slate); }
}

/* ---------------------------------------------------------------- My Account (Salon IQ) */
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation li { padding: var(--s2) 0; }
.woocommerce-MyAccount-navigation .is-active a { font-weight: 700; text-decoration: none; }
.zm-account-bookings ul { margin: 0 0 var(--s5); padding: 0; list-style: none; }
.zm-account-bookings li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.zm-account-deposit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin: var(--s2) 0 0; color: var(--slate); }
.zm-account-portal { padding: var(--s5); background: var(--sand); border-radius: var(--radius-sm); }
.zm-account-portal p { margin: 0 0 var(--s3); }
.zm-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ------------------------------------------------- Required fields: a red star, sitewide */
.req, .woocommerce form .required, .woocommerce-order-pay .required { color: #c0392b; text-decoration: none; font-weight: 700; margin-left: .15em; }
.zmb__field .req { margin-left: .2em; }
/* Block checkout marks optional fields instead; add the star to the ones it requires. */
.wc-block-components-text-input:has(> input[required]) > label::after, .wc-block-components-combobox:has(input[required]) .wc-block-components-combobox-control label::after { content: ' *'; color: #c0392b; font-weight: 700; }
/* Fluent Forms: only when the form's own asterisk setting is off. */
.fluentform .ff-el-is-required:not(.asterisk-right):not(.asterisk-left) .ff-el-form-label::after { content: ' *'; color: #c0392b; font-weight: 700; }

/* Christmas prize draw: a bottom sheet on phones (over the book bar, like the shop filters), a centred card above that. */
.prize-draw { width: 100%; max-width: none; max-height: 88dvh; margin: auto 0 0; padding: 0; border: 0; border-radius: var(--radius) var(--radius) 0 0; color: var(--paper); background: var(--ink); overscroll-behavior: contain; }
.prize-draw[open] { animation: sheet .35s var(--ease); }
.prize-draw::backdrop { background: rgba(11, 11, 11, .55); }
.prize-draw :focus-visible { outline-color: var(--beige); }
.prize-draw__panel { position: relative; padding: var(--s7) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom)); overflow: hidden; }
.prize-draw__baubles { position: absolute; top: 0; right: clamp(5rem, 16%, 6.5rem); width: clamp(70px, 22vw, 92px); height: auto; color: var(--beige-dark); pointer-events: none; }
.prize-draw__close { position: absolute; top: var(--s3); right: var(--s3); z-index: 1; display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; padding: 0 var(--s3); border: 0; background: none; color: var(--paper); font-size: .85rem; font-weight: 600; cursor: pointer; }
.prize-draw__close:hover { color: var(--beige); }
.prize-draw__date { max-width: calc(100% - 9rem); margin-bottom: var(--s3); color: var(--beige); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.prize-draw h2 { max-width: 6em; margin-bottom: var(--s3); font-size: clamp(2.5rem, 9vw, 3.25rem); }
.prize-draw__text { margin-bottom: var(--s5); color: var(--beige-2); font-size: 1.05rem; }
.prize-draw__small { margin-top: var(--s4); color: var(--beige); font-size: .8rem; line-height: 1.5; }
.prize-draw .ff-el-input--label label { color: var(--paper); }
.prize-draw .ff-el-input--label label::after { color: var(--beige) !important; } /* the red star is unreadable on ink */
.prize-draw .fluentform .ff-el-form-control { border-color: transparent; color: var(--ink); }
.prize-draw .fluentform .ff-el-form-control:focus { outline: 2px solid var(--beige); outline-offset: 2px; }
.prize-draw .fluentform .ff-el-group { margin-bottom: var(--s3); }
.prize-draw .fluentform .ff-btn-submit { justify-content: center; width: 100%; background: var(--beige) !important; color: var(--ink) !important; }
.prize-draw .fluentform .ff-btn-submit:hover { background: var(--beige-2) !important; }
.prize-draw .fluentform .text-danger, .prize-draw .ff-errors-in-stack { font-size: .9rem; color: #ffb9a6; }
.prize-draw .ff-message-success { padding: 0; border: 0; box-shadow: none; background: none; color: var(--paper); font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; }
.prize-draw.is-entered .prize-draw__text, .prize-draw.is-entered .prize-draw__small { display: none; }
@keyframes prize-draw-in { from { opacity: 0; transform: translateY(1rem); } }
@media (min-width: 600px) {
	.prize-draw { width: min(33rem, 100% - 2rem); margin: auto; border-radius: var(--radius); }
	.prize-draw[open] { animation-name: prize-draw-in; }
	.prize-draw__panel { padding: var(--s8); }
}
