/* ---------------------------------------------------------------------------
   Home & Outdoor — components
   Built on the tokens in style.css. No framework, no page builder.
   ------------------------------------------------------------------------ */

/* ── Buttons ───────────────────────────────────────────────────────────── */
.yl-btn {
	--btn-bg: var(--pine);
	--btn-fg: var(--paper);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.72em 1.25em;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-sans);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.16s var(--ease), background 0.16s var(--ease), box-shadow 0.16s var(--ease), color 0.16s var(--ease);
	white-space: nowrap;
}
.yl-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.yl-btn:active { transform: translateY(0); }
.yl-btn--primary { --btn-bg: var(--pine); }
.yl-btn--primary:hover { --btn-bg: var(--pine-deep); }
.yl-btn--dark { --btn-bg: var(--ink); }
.yl-btn--ghost {
	--btn-bg: transparent;
	--btn-fg: currentColor;
	border-color: color-mix(in oklab, currentColor 32%, transparent);
}
.yl-btn--ghost:hover { --btn-bg: color-mix(in oklab, currentColor 8%, transparent); box-shadow: none; }
.yl-btn--lg { padding: 0.95em 1.7em; font-size: var(--step-0); }
.yl-btn--sm { padding: 0.5em 0.95em; font-size: var(--step--1); }
.yl-btn--block { width: 100%; }
.yl-iconbtn {
	display: inline-flex; align-items: center; gap: 0.3rem;
	background: none; border: 0; padding: 0.5rem; border-radius: 999px;
	cursor: pointer; color: var(--ink); position: relative;
	transition: background 0.15s var(--ease);
}
.yl-iconbtn:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }
.yl-textlink {
	display: inline-flex; align-items: center; gap: 0.35em;
	font-weight: 500; font-size: var(--step--1);
	text-decoration: none; border-bottom: 1px solid var(--line);
	padding-bottom: 0.15em;
}
.yl-textlink:hover { border-color: var(--ink); }

/* ── Badges / chips / eyebrow ──────────────────────────────────────────── */
.yl-eyebrow {
	font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
	font-weight: 500; color: var(--ink-soft); margin: 0 0 0.9rem;
}
.yl-badge {
	display: inline-flex; align-items: center; gap: 0.35em;
	font-size: 0.68rem; font-weight: 600; letter-spacing: 0.09em;
	text-transform: uppercase; padding: 0.35em 0.7em; border-radius: 999px;
	background: color-mix(in oklab, var(--pine) 12%, var(--paper));
	color: var(--pine-deep);
	backdrop-filter: blur(6px);
}
.yl-badge--collection { background: color-mix(in oklab, var(--paper) 82%, transparent); border: 1px solid var(--line); color: var(--ink); }
.yl-badge--plain { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }
.yl-chip {
	display: inline-flex; align-items: center; gap: 0.45em;
	padding: 0.42em 0.8em; border-radius: 999px;
	border: 1px solid color-mix(in oklab, var(--paper) 40%, transparent);
	background: color-mix(in oklab, var(--paper) 14%, transparent);
	color: var(--paper); font-size: var(--step--1);
	backdrop-filter: blur(8px);
}
.yl-chip svg { opacity: 0.85; }

/* ── Header ────────────────────────────────────────────────────────────── */

.yl-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in oklab, var(--paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--line-soft);
	transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.yl-header.is-scrolled { box-shadow: 0 10px 30px -24px color-mix(in oklab, var(--ink) 40%, transparent); background: color-mix(in oklab, var(--paper) 94%, transparent); }
.yl-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	gap: 1rem; min-height: 68px;
}
.yl-nav { display: flex; gap: 1.4rem; font-size: var(--step--1); }
.yl-nav a { text-decoration: none; position: relative; padding: 0.25rem 0; }
.yl-nav a::after {
	content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
	background: var(--ink); transform: scaleX(0); transform-origin: left;
	transition: transform 0.25s var(--ease);
}
.yl-nav a:hover::after { transform: scaleX(1); }
.yl-brand { text-align: center; text-decoration: none; line-height: 1.1; }
.yl-brand__name {
	display: block; font-family: var(--font-display); font-size: 1.62rem; font-weight: 600;
	letter-spacing: -0.035em; font-variation-settings: 'opsz' 96; line-height: 1;
}
.yl-brand__tag { display: block; margin-top: 0.3rem; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage); }
.yl-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.2rem; }
.yl-cart-count {
	min-width: 17px; height: 17px; padding: 0 4px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--clay); color: #fff; border-radius: 999px;
	font-size: 0.66rem; font-weight: 600; line-height: 1;
}
.yl-cart-count.is-empty { display: none; }
.yl-menubtn { display: none; }

.yl-searchpanel { border-top: 1px solid var(--line-soft); background: var(--paper); padding: 1rem 0; }
.yl-search {
	display: flex; align-items: center; gap: 0.6rem;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: 999px; padding: 0.35rem 0.4rem 0.35rem 0.95rem;
}
.yl-search input[type='search'] {
	flex: 1; border: 0; background: none; padding: 0.55rem 0; font-size: var(--step-0);
	min-width: 0; color: inherit;
}
.yl-search input:focus { outline: none; }
.yl-search--inline { max-width: 560px; margin-top: 1.2rem; }

.yl-mobilenav { display: none; max-height: calc(100dvh - 80px); overflow-y: auto; border-top: 1px solid var(--line-soft); background: var(--paper); padding: 0.5rem 0 1rem; }
.yl-mobilenav a { display: block; padding: 0.7rem var(--gut); text-decoration: none; border-bottom: 1px solid var(--line-soft); font-family: var(--font-display); font-size: var(--step-1); }

/* ── Cart drawer ───────────────────────────────────────────────────────── */
.yl-drawer { position: fixed; inset: 0; z-index: 120; }
.yl-drawer__scrim { position: absolute; inset: 0; background: color-mix(in oklab, var(--ink) 46%, transparent); animation: yl-fade 0.2s var(--ease) both; }
.yl-drawer__panel {
	position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
	background: var(--paper); display: flex; flex-direction: column;
	box-shadow: var(--shadow-lift); animation: yl-slide 0.28s var(--ease) both;
}
@keyframes yl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes yl-slide { from { translate: 100% 0; } to { translate: 0 0; } }
.yl-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line-soft); }
.yl-drawer__head h2 { font-size: var(--step-1); margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.yl-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.2rem 1.4rem; }
.yl-drawer__empty { color: var(--ink-soft); }
.yl-drawer__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.yl-drawer__item { display: grid; grid-template-columns: 62px 1fr auto; gap: 0.8rem; align-items: center; }
.yl-drawer__img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; background: var(--stone); }
.yl-drawer__meta a { text-decoration: none; font-weight: 500; display: block; }
.yl-drawer__qty { font-size: var(--step--1); color: var(--ink-soft); }
.yl-drawer__remove { color: var(--ink-soft); }
.yl-drawer__foot { border-top: 1px solid var(--line-soft); padding-top: 1rem; display: grid; gap: 0.7rem; }
.yl-drawer__total { display: flex; justify-content: space-between; font-size: var(--step-1); font-family: var(--font-display); }
.yl-drawer__note { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }
.yl-drawer__link { text-align: center; font-size: var(--step--1); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.yl-hero { position: relative; min-height: clamp(360px, 56svh, 620px); display: grid; align-items: end; overflow: clip; background: var(--pine-deep); }
.yl-hero__media { position: absolute; inset: 0; }
.yl-hero__img, .yl-hero .yl-scene-fallback { width: 100%; height: 100%; object-fit: cover; }
.yl-hero__media::after {
	content: ''; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, color-mix(in oklab, var(--pine-deep) 68%, transparent) 0%, transparent 78%),
		linear-gradient(180deg, color-mix(in oklab, var(--pine-deep) 26%, transparent) 0%, transparent 34%),
		linear-gradient(0deg, color-mix(in oklab, var(--pine-deep) 82%, transparent) 0%, color-mix(in oklab, var(--pine-deep) 22%, transparent) 46%, transparent 72%);
}
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.yl-hero__img { animation: yl-parallax linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
		@keyframes yl-parallax { from { translate: 0 -4%; scale: 1.06; } to { translate: 0 4%; scale: 1.06; } }
	}
}
.yl-hero__inner { position: relative; z-index: 2; padding-block: clamp(2.5rem, 6vw, 5.5rem); color: var(--paper); }
.yl-hero__title { font-size: var(--step-5); max-width: 16ch; margin-bottom: 0.35em; font-variation-settings: 'opsz' 144; }
.yl-hero__sub { max-width: 52ch; font-size: var(--step-1); color: color-mix(in oklab, var(--paper) 86%, var(--sage)); }
.yl-hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.7rem 0 1.9rem; }
.yl-hero__cta .yl-btn { max-width: 100%; white-space: normal; }
/* Secondary hero CTA reads as glass over the photo. */
.yl-hero__cta .yl-btn--ghost { --btn-fg: var(--paper); border-color: color-mix(in oklab, var(--paper) 38%, transparent); background: color-mix(in oklab, var(--paper) 14%, transparent); backdrop-filter: blur(12px) saturate(1.25); -webkit-backdrop-filter: blur(12px) saturate(1.25); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--paper) 25%, transparent); }
.yl-hero__cta .yl-btn--ghost:hover { background: color-mix(in oklab, var(--paper) 24%, transparent); border-color: color-mix(in oklab, var(--paper) 60%, transparent); }
.yl-hero__facts { display: flex; flex-wrap: wrap; gap: 0.55rem 1.4rem; list-style: none; padding: 0; margin: 0; }
/* Hero facts are information, not controls — borderless soft text with an icon,
   visually distinct from every button on the page (which all carry borders). */
.yl-hero .yl-chip { padding: 0.15em 0; font-size: var(--step--1); border: 0; background: none; backdrop-filter: none; color: color-mix(in oklab, var(--paper) 88%, transparent); }
.yl-hero .yl-chip svg { opacity: 0.8; }
.yl-hero .yl-eyebrow { color: color-mix(in oklab, var(--paper) 78%, var(--sage)); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.yl-section { padding-block: var(--section); }
.yl-section--tint { background: var(--paper-tint); }
.yl-section__head { max-width: 62ch; margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.yl-section__head p { color: var(--ink-soft); margin: 0; }
.yl-section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; max-width: none; }
.yl-section__head h2 { margin-bottom: 0.3em; }

/* ── Shop-by-need bento ───────────────────────────────────────────────── */
.yl-needs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.yl-need {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: clamp(340px, 42vw, 520px); border-radius: var(--radius-lg); overflow: clip;
	text-decoration: none; color: var(--paper); isolation: isolate;
}
.yl-need__media { position: absolute; inset: 0; z-index: -1; }
.yl-need__img, .yl-need .yl-scene-fallback { width: 100%; height: 100%; object-fit: cover; transition: scale 0.6s var(--ease); }
.yl-need:hover .yl-need__img { scale: 1.045; }
.yl-need::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 34%, color-mix(in oklab, var(--pine-deep) 84%, transparent) 100%); }
.yl-need__body { padding: clamp(1.1rem, 2vw, 1.8rem); display: grid; gap: 0.35rem; }
.yl-need__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.yl-need__copy { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 84%, var(--sage)); }
.yl-need__link { display: inline-flex; align-items: center; gap: 0.35em; font-size: var(--step--1); font-weight: 500; margin-top: 0.4rem; }
.yl-need:hover .yl-need__link svg { translate: 4px 0; transition: translate 0.25s var(--ease); }

/* Home: let photography and readable labels do the selling, not overlays. */
.home .yl-need { min-height: 0; border-radius: 0; color: var(--ink); overflow: visible; }
.home .yl-need::after { display: none; }
.home .yl-need__media { position: relative; inset: auto; z-index: auto; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper-tint); }
.home .yl-need__body { padding: 1.1rem 0 0; gap: 0.5rem; }
.home .yl-need__copy { color: var(--ink-soft); max-width: 38ch; }
.home .yl-need__link { min-height: 44px; margin: 0; color: var(--pine); }
.home .yl-card, .home .yl-need, .home .yl-editorial__media, .home .yl-editorial__body { animation: none; }
.home .yl-card__media { border-radius: 6px; background: var(--surface); }
.home .yl-card__img { object-fit: contain; }
.yl-card--home .yl-card__foot { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
.yl-card--home .yl-card__add { width: auto; padding: 0.65rem 0.9rem; gap: 0.45rem; border-radius: 6px; font-size: var(--step--1); white-space: normal; }
.home .yl-news { padding-block: 2.5rem; border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); }
.home .yl-news h2 { font-size: var(--step-2); }
#yl-fit-guides { scroll-margin-top: 90px; }
.yl-hero :focus-visible { outline-color: var(--paper); }

/* ── Product cards ────────────────────────────────────────────────────── */
.yl-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.yl-rail--3 { grid-template-columns: repeat(3, 1fr); }
.yl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: clamp(1rem, 2vw, 1.9rem); }
.yl-card { display: flex; flex-direction: column; }
.yl-card__media { position: relative; display: block; border-radius: var(--radius); overflow: clip; background: var(--stone); aspect-ratio: 1 / 1; }
.yl-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 0.55s var(--ease); }
.yl-card__img--empty, .yl-scene-fallback {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(150deg, var(--stone) 0%, var(--paper-tint) 45%, var(--sage) 140%);
}
.yl-card:hover .yl-card__img { scale: 1.04; }
.yl-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, color-mix(in oklab, var(--ink) 22%, transparent)); opacity: 0; transition: opacity 0.3s var(--ease); }
.yl-card:hover .yl-card__scrim { opacity: 1; }
.yl-card__media .yl-badge { position: absolute; top: 0.65rem; right: 0.65rem; left: auto; }
.yl-card__body { padding-top: 0.85rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.yl-card__title { font-family: var(--font-display); font-size: var(--step-1); margin: 0; line-height: 1.2; min-height: 2.4em; }
.yl-card__title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yl-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.yl-card__sub { font-size: var(--step--1); color: var(--ink-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Capped copy above + a pinned foot keep the price/CTA rows aligned across a row. */
.yl-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.75rem; }
/* The card CTA is the conversion point — one icon, solid, unmistakable.
   36px square-ish (10px radius) — present but not the loudest thing on the card. */
.yl-card__add { width: 36px; height: 36px; padding: 0; gap: 0; border-radius: 10px; border: 0; cursor: pointer; flex: none;
	background: var(--ink); color: var(--paper); display: inline-flex; align-items: center; justify-content: center;
	transition: background 0.18s var(--ease), transform 0.18s var(--ease); }
.yl-card__add svg { display: block; width: 16px; height: 16px; }
.yl-card__add:hover { background: var(--pine); transform: translateY(-1px); }
.yl-card__add.is-busy { opacity: 0.6; pointer-events: none; }
.yl-card__add.is-done { background: var(--pine); }
/* Quote-only cards keep the same foot height and hug the right edge like the icon CTA. */
.yl-card__quote { margin-left: auto; min-height: 42px; display: inline-flex; align-items: center; padding-inline: 1.1rem; }
.yl-price { font-weight: 500; font-size: var(--step-0); }
.yl-price del { color: var(--ink-soft); font-weight: 400; margin-right: 0.3em; }
.yl-price ins { text-decoration: none; }
.yl-card__oos { font-size: var(--step--1); color: var(--ink-soft); }
.yl-add { position: relative; }
.yl-add.is-busy { opacity: 0.6; pointer-events: none; }
.yl-add.is-done { --btn-bg: var(--pine); --btn-fg: var(--paper); border-color: transparent; }

/* ── Editorial band ───────────────────────────────────────────────────── */
.yl-editorial__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 4vw, 4rem); align-items: center; }
.yl-editorial__media { border-radius: var(--radius-lg); overflow: clip; aspect-ratio: 8 / 5; background: var(--stone); }
.yl-editorial__img { width: 100%; height: 100%; object-fit: cover; }
.yl-checks, .yl-cross { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 0.6rem; }
.yl-checks li, .yl-cross li { display: flex; gap: 0.6rem; align-items: flex-start; }
.yl-checks svg { color: var(--pine); flex: none; margin-top: 0.22em; }
.yl-cross svg { color: var(--ink-soft); flex: none; margin-top: 0.22em; }

/* ── Guides list inside the editorial band ────────────────────────────── */
.yl-guides { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.yl-guide a { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color 0.18s var(--ease), transform 0.18s var(--ease); }
.yl-guide a:hover { border-color: var(--ink); transform: translateX(2px); }
.yl-guide__mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: color-mix(in oklab, var(--pine) 10%, transparent); color: var(--pine-deep); }
.yl-guide__text { display: grid; gap: 0.15rem; min-width: 0; flex: 1; }
.yl-guide__kicker { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.yl-guide__title { font-family: var(--font-display); font-size: var(--step-0); }
.yl-guide__more { display: inline-flex; align-items: center; gap: 0.35em; font-size: var(--step--1); color: var(--ink-soft); }

/* ── Collections ──────────────────────────────────────────────────────── */
.yl-collections__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.8rem); }
/* One collection, shown as a wide banner: leaf watermark right, type left. */
.yl-collection {
	position: relative; overflow: clip;
	display: grid; gap: 0.7rem; padding: clamp(1.6rem, 4vw, 3.2rem) clamp(1.4rem, 4vw, 3.4rem);
	background: linear-gradient(112deg, var(--pine-deep) 0%, var(--pine) 58%, color-mix(in oklab, var(--sage) 55%, var(--pine)) 100%);
	color: var(--paper); border: 0; border-radius: var(--radius-lg);
	text-decoration: none; transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.yl-collection::after {
	content: ''; position: absolute; right: -3rem; top: -4rem; width: min(420px, 46%); height: 170%;
	background: radial-gradient(closest-side, color-mix(in oklab, var(--paper) 16%, transparent), transparent 72%);
	pointer-events: none;
}
.yl-collection:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.yl-collection__kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--paper) 72%, var(--sage)); }
.yl-collection__title { font-family: var(--font-display); font-size: var(--step-3); color: var(--paper); }
.yl-collection__copy { color: color-mix(in oklab, var(--paper) 84%, var(--sage)); max-width: 54ch; }
.yl-collection__link { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--step--1); font-weight: 500; margin-top: 0.6rem; color: var(--paper); }

/* ── Newsletter ───────────────────────────────────────────────────────── */
.yl-news { background: var(--pine-deep); color: var(--paper); }
.yl-news__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 3rem); align-items: center; }
.yl-news h2 { color: var(--paper); }
.yl-news p { color: color-mix(in oklab, var(--paper) 80%, var(--sage)); }
.yl-news__form { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.yl-news__form input {
	flex: 1 1 240px; padding: 0.85rem 1.1rem; border-radius: 999px;
	border: 1px solid color-mix(in oklab, var(--paper) 30%, transparent);
	background: color-mix(in oklab, var(--paper) 8%, transparent); color: var(--paper);
}
.yl-news__form input::placeholder { color: color-mix(in oklab, var(--paper) 55%, transparent); }
.yl-news__msg { flex: 1 1 100%; margin: 0.3rem 0 0; font-size: var(--step--1); color: var(--sage); min-height: 1.2em; }
.yl-news .yl-btn--dark { --btn-bg: var(--paper); --btn-fg: var(--pine-deep); }

/* ── Trust + footer ───────────────────────────────────────────────────── */
.yl-footer { background: var(--pine-deep); color: color-mix(in oklab, var(--paper) 82%, var(--sage)); padding-top: clamp(2.4rem, 5vw, 4.5rem); }
.yl-trust { list-style: none; margin: 0 0 clamp(2.4rem, 5vw, 4rem); padding: 0 0 clamp(1.6rem, 3vw, 2.6rem); border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.yl-trust li { display: flex; gap: 0.65rem; align-items: flex-start; }
.yl-trust__icon { color: var(--sage); flex: none; margin-top: 0.15em; }
.yl-trust strong { color: var(--paper); font-weight: 500; display: block; font-size: var(--step--1); }
.yl-trust p { margin: 0.15rem 0 0; font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 66%, var(--sage)); }
.yl-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-bottom: clamp(2rem, 4vw, 3.4rem); }
.yl-footer__name { font-family: var(--font-display); font-size: var(--step-2); color: var(--paper); display: block; }
.yl-footer__brand p { max-width: 34ch; }
.yl-footer__micro { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 58%, var(--sage)); }
.yl-footer__col { display: flex; flex-direction: column; gap: 0.55rem; }
.yl-footer__col h3 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--paper) 60%, var(--sage)); margin: 0 0 0.4rem; }
.yl-footer__col a { text-decoration: none; font-size: var(--step--1); }
.yl-footer__col a:hover { color: var(--paper); }
.yl-footer__bottom { border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); padding: 1.2rem 0 1.8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--step--1); }
.yl-footer__bottom p { margin: 0; }
.yl-footer__pay { color: color-mix(in oklab, var(--paper) 58%, var(--sage)); }

/* ── Archive (shop / collections) ─────────────────────────────────────── */
.yl-archive__head { position: relative; padding: clamp(1.4rem, 2.6vw, 2.4rem) 0 clamp(1rem, 1.8vw, 1.7rem); overflow: clip; }
.yl-archive__title { font-size: var(--step-4); margin-bottom: 0.25em; }
.yl-archive__intro { max-width: 56ch; color: var(--ink-soft); }
.yl-archive__offer { max-width: 62ch; }
.yl-dot { width: 4px; height: 4px; border-radius: 999px; background: color-mix(in oklab, currentColor 45%, transparent); flex: none; }
.yl-archive__deco { display: none; }
/* Offer reads as an inline row, not a boxed banner. */
.yl-archive__offer { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin: 1rem 0 0; font-size: var(--step--1); color: var(--ink-soft); }
.yl-archive__flag { display: inline-flex; align-items: center; padding: 0.2em 0.7em; border-radius: 999px; background: var(--sage); color: var(--paper); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.yl-code { padding: 0.25em 0.6em; border: 1px dashed color-mix(in oklab, var(--ink) 35%, transparent); border-radius: 8px; background: var(--paper-tint); color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; letter-spacing: 0.06em; }
.yl-archive__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.yl-tabs { display: flex; gap: 0.45rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.yl-tabs a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45em 0.95em; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); text-decoration: none; font-size: var(--step--1);
	background: color-mix(in oklab, var(--paper) 55%, transparent); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); }
.yl-tabs a svg { opacity: 0.75; flex: none; }
.yl-tabs a:hover { border-color: color-mix(in oklab, var(--ink) 25%, transparent); }
.yl-tabs a.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.yl-tabs a.is-active svg { opacity: 0.9; }
/* Sort dropdown: one calm control with a real chevron, not a raw UA select. */
.yl-sort { position: relative; display: inline-flex; align-items: center; }
.yl-sort::after { content: ''; position: absolute; right: 13px; width: 15px; height: 15px; pointer-events: none;
	background: currentColor; opacity: 0.55;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.yl-sort select.orderby { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0.5em 2.4em 0.5em 1em; border-radius: 999px;
	border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); background: color-mix(in oklab, var(--paper) 55%, transparent); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
	font: inherit; font-size: var(--step--1); color: var(--ink); cursor: pointer; }
.yl-sort select.orderby:hover { border-color: color-mix(in oklab, var(--ink) 25%, transparent); }
.yl-sort select.orderby:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
.yl-archive__tools { display: flex; align-items: center; gap: 1rem; }
.yl-archive__count { font-size: var(--step--1); color: var(--ink-soft); }
.yl-archive__body { padding-bottom: var(--section); }
.yl-empty { text-align: center; padding: 4rem 0; }
.yl-pagination { margin-top: 3rem; display: flex; justify-content: center; }
/* Woo ships a bordered, floated, touching pagination; ours is a row of round pills.
   Selectors are deliberately deep: woocommerce.css styles these at (0,2,4). */
.yl-pagination nav.woocommerce-pagination ul.page-numbers { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0; border: 0; white-space: normal; }
.yl-pagination nav.woocommerce-pagination ul.page-numbers li { float: none; display: block; margin: 0; border-right: 0; overflow: visible; }
.yl-pagination nav.woocommerce-pagination ul.page-numbers li .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); text-decoration: none; font-size: var(--step--1); transition: background 0.18s var(--ease), border-color 0.18s var(--ease); }
.yl-pagination nav.woocommerce-pagination ul.page-numbers li .page-numbers:hover { border-color: var(--ink); background: var(--paper-tint); }
.yl-pagination nav.woocommerce-pagination ul.page-numbers li .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.woocommerce-ordering select, .yl-select {
	appearance: none; padding: 0.5rem 2.1rem 0.5rem 0.85rem; border-radius: 999px;
	border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b211c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
	font-size: var(--step--1); cursor: pointer;
}

/* ── PDP ──────────────────────────────────────────────────────────────── */
.yl-crumbs { display: flex; gap: 0.45rem; align-items: center; font-size: var(--step--1); color: var(--ink-soft); flex-wrap: wrap; }
.yl-crumbs a { text-decoration: none; }
.yl-crumbs a:hover { color: var(--ink); }
.yl-pdp { padding-top: clamp(1.2rem, 2.5vw, 2.4rem); padding-bottom: var(--section); }
.yl-pdp__top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.4rem, 3.5vw, 4rem); align-items: start; margin-top: clamp(1.2rem, 2.5vw, 2.2rem); }
.yl-gallery { position: sticky; top: 92px; }
.yl-gallery__main { position: relative; border-radius: var(--radius-lg); overflow: clip; background: var(--stone); aspect-ratio: 1 / 1; }
.yl-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yl-gallery__img--empty { background: linear-gradient(150deg, var(--stone), var(--paper-tint) 60%, var(--sage)); }
.yl-gallery__badge { position: absolute; top: 0.9rem; left: 0.9rem; }
.yl-gallery__thumbs { display: flex; gap: 0.6rem; list-style: none; padding: 0; margin: 0.8rem 0 0; overflow-x: auto; }
.yl-gallery__thumb { width: 76px; height: 76px; border-radius: 10px; overflow: clip; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; opacity: 0.75; transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease); }
.yl-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yl-gallery__thumb:hover, .yl-gallery__thumb.is-active { opacity: 1; border-color: var(--ink); }

.yl-buybox { display: flex; flex-direction: column; gap: 0.9rem; }
.yl-buybox__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.yl-buybox__title { font-size: var(--step-3); margin: 0; }
.yl-buybox__sub { font-size: var(--step-1); color: var(--ink-soft); margin: 0; font-family: var(--font-display); }
.yl-buybox__price { font-size: var(--step-2); font-family: var(--font-display); }
.yl-buybox__price del { font-size: 0.7em; color: var(--ink-soft); margin-right: 0.4em; }
.yl-buybox__price ins { text-decoration: none; }
.yl-buybox__short p { margin: 0; }
.yl-buybox__angle { font-size: var(--step--1); color: var(--ink-soft); border-left: 2px solid var(--sage); padding-left: 0.8rem; }
.yl-buybox__cart { margin: 0.3rem 0 0.2rem; }
.yl-facts { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.yl-facts li { display: flex; gap: 0.7rem; align-items: flex-start; }
.yl-facts svg { color: var(--pine); flex: none; margin-top: 0.2em; }
.yl-facts strong { display: block; font-weight: 500; font-size: var(--step--1); }
.yl-facts span { font-size: var(--step--1); color: var(--ink-soft); }
.yl-quote { background: var(--paper-tint); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: 0.8rem; }

/* Woo add-to-cart form styling */
.yl-buybox form.cart, .yl-buybox form.cart .wrap { display: flex; gap: 0.6rem; align-items: stretch; flex-wrap: wrap; }
.yl-buybox form.cart .quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.yl-buybox form.cart .quantity input { width: 3.4rem; text-align: center; border: 0; background: none; padding: 0.8rem 0.2rem; font-size: var(--step-0); -moz-appearance: textfield; }
.yl-buybox form.cart .quantity input::-webkit-outer-spin-button, .yl-buybox form.cart .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.yl-buybox form.cart button[type='submit'], .yl-buybox form.cart .single_add_to_cart_button {
	flex: 1 1 200px; padding: 0.95em 1.8em; border: 0; border-radius: 999px;
	background: var(--pine); color: var(--paper); font-size: var(--step-0); font-weight: 500; cursor: pointer;
	transition: background 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.yl-buybox form.cart button[type='submit']:hover { background: var(--pine-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.yl-buybox .stock { font-size: var(--step--1); color: var(--ink-soft); margin: 0; width: 100%; }
.yl-buybox .single_variation_wrap { width: 100%; }
/* Qty stepper (buttons added by theme.js around Woo's number input) */
.yl-qtybtn { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; align-self: stretch; border: 0; background: none; color: var(--ink-soft); font-size: 1.05rem; line-height: 1; cursor: pointer; transition: color 0.15s var(--ease), background 0.15s var(--ease); }
.yl-qtybtn:hover { color: var(--ink); background: var(--paper-tint); }
.yl-qtybtn:active { background: var(--stone); }
/* Add-to-cart carries the same bag mark as the cards */
.yl-buybox .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; }
.yl-buybox .single_add_to_cart_button::before { content: ''; width: 1.05em; height: 1.05em; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l1 12H5z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l1 12H5z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat; }

.yl-faq summary, .yl-panel summary {
	cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.yl-faq summary::-webkit-details-marker { display: none; }
.yl-faq summary::after {
	content: '+'; font-size: 1.1em; color: var(--ink-soft); transition: rotate 0.2s var(--ease);
}
.yl-faq details[open] summary::after { rotate: 45deg; }

.yl-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.yl-table th, .yl-table td { text-align: left; padding: 0.6rem 0.2rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.yl-table th { font-weight: 500; color: var(--ink-soft); width: 38%; }
.yl-table tr:last-child th, .yl-table tr:last-child td { border-bottom: 0; }

.yl-pdp__sections { margin-top: clamp(2rem, 5vw, 4rem); display: grid; gap: 1rem; }
.yl-panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.2rem, 2.5vw, 2.2rem); }
.yl-panel--accent { background: var(--paper-tint); }
.yl-panel h2 { font-size: var(--step-2); margin-bottom: 0.6em; }
.yl-panel h3 { font-family: var(--font-sans); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); font-weight: 600; }
.yl-twocol { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 2.4rem); }
/* Accent cards that promote the item, three per product (from on-file facts). */
.yl-highlights { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.yl-highlight { background: var(--paper-tint); border: 1px solid var(--line-soft); border-left: 3px solid var(--sage); border-radius: var(--radius); padding: 0.85rem 1rem; display: grid; gap: 0.3rem; }
.yl-highlight__k { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.yl-highlight__v { font-size: var(--step--1); }
.yl-prose > :first-child { margin-top: 0; }
.yl-prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.yl-prose h3 { font-size: var(--step-1); margin-top: 1.4em; }
.yl-prose p, .yl-prose li { max-width: 78ch; }
.yl-faq details { border-bottom: 1px solid var(--line-soft); padding: 0.9rem 0; }
.yl-faq details:last-child { border-bottom: 0; }
.yl-faq summary { font-weight: 500; }
.yl-faq p { margin: 0.7rem 0 0; color: var(--ink-soft); }
.yl-related-section { padding-block: clamp(2rem, 4vw, 3.4rem) 0; }

/* Sticky mobile buy bar */
.yl-stickybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	background: color-mix(in oklab, var(--paper) 92%, transparent);
	backdrop-filter: blur(14px); border-top: 1px solid var(--line);
	padding: 0.7rem var(--gut) calc(0.7rem + env(safe-area-inset-bottom));
	display: none;
}
.yl-stickybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--wrap); margin-inline: auto; }
.yl-stickybar__meta { display: grid; min-width: 0; }
.yl-stickybar__name { font-weight: 500; font-size: var(--step--1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yl-stickybar__price { font-family: var(--font-display); font-size: var(--step-1); }

/* ── Page / prose / forms ─────────────────────────────────────────────── */
.yl-page__head { padding: clamp(2rem, 4vw, 3.4rem) 0 1.4rem; border-bottom: 1px solid var(--line-soft); }
.yl-page__title { font-size: var(--step-4); margin: 0.2em 0 0; }
.yl-page__body { padding-block: clamp(1.8rem, 4vw, 3rem) var(--section); display: grid; gap: 2rem; }
.yl-prose--page { max-width: 76ch; }
.yl-notice { border-radius: var(--radius); padding: 0.9rem 1.1rem; margin-bottom: 1.4rem; font-size: var(--step--1); }
.yl-notice--info { background: var(--paper-tint); border-left: 3px solid var(--sage); }
.yl-contactbox { max-width: 620px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.2rem, 2.5vw, 2rem); }
.yl-form { display: grid; gap: 1rem; }
.yl-field { display: grid; gap: 0.35rem; }
.yl-field label { font-size: var(--step--1); font-weight: 500; }
.yl-field input, .yl-field textarea {
	width: 100%; padding: 0.75rem 0.95rem; border: 1px solid var(--line);
	border-radius: 10px; background: var(--paper); font: inherit; font-size: var(--step-0); color: inherit;
}
.yl-field input:focus, .yl-field textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px color-mix(in oklab, var(--pine) 18%, transparent); }
.yl-form__msg { margin: 0; font-size: var(--step--1); min-height: 1.2em; color: var(--pine); }
.yl-form__msg.is-error { color: var(--clay); }
.yl-404 { padding: clamp(3rem, 8vw, 7rem) 0; text-align: center; display: grid; gap: 0.6rem; justify-items: center; }
.yl-404 h1 { max-width: 18ch; }
.yl-404__cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.yl-post { border-bottom: 1px solid var(--line-soft); padding-bottom: 1.2rem; margin-bottom: 1.6rem; }

/* ── Woo notices ──────────────────────────────────────────────────────── */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; background: var(--surface); border: 1px solid var(--line);
	border-left: 3px solid var(--pine); border-radius: var(--radius);
	padding: 0.9rem 1.1rem; margin: 0 auto 1rem; max-width: var(--wrap);
	display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: var(--step--1);
}
.woocommerce-error { border-left-color: var(--clay); }
.woocommerce-message .button, .woocommerce-info .button {
	margin-left: auto; padding: 0.5em 1em; border-radius: 999px; background: var(--ink); color: var(--paper);
	text-decoration: none; font-size: var(--step--1);
}
.yl-main > .woocommerce-message, .yl-main > .woocommerce-info { margin-inline: var(--gut); }

/* ── Toast (add-to-cart feedback) ─────────────────────────────────────── */
.yl-toast {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 130;
	background: var(--pine-deep); color: var(--paper); padding: 0.8rem 1.1rem;
	border-radius: 999px; box-shadow: var(--shadow-lift); font-size: var(--step--1);
	display: flex; align-items: center; gap: 0.6rem;
	animation: yl-toast-in 0.25s var(--ease) both;
}
.yl-toast a { color: var(--sage); }
@keyframes yl-toast-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
	.yl-nav { display: none; }
	.yl-menubtn { display: inline-flex; }
	.yl-mobilenav:not([hidden]) { display: block; }
	.yl-header__inner { grid-template-columns: auto 1fr auto; }
	.yl-brand { text-align: left; }
	.yl-rail { grid-template-columns: repeat(2, 1fr); }
	.yl-editorial__grid, .yl-news__inner { grid-template-columns: 1fr; }
	.yl-footer__grid { grid-template-columns: 1fr 1fr; }
	.yl-trust { grid-template-columns: repeat(2, 1fr); }
	.yl-pdp__top { grid-template-columns: 1fr; }
	.yl-gallery { position: static; }
	.yl-stickybar { display: block; }
	body.yl-pdp { padding-bottom: 84px; }
	.yl-gallery__main { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
	.yl-needs__grid, .yl-collections__grid, .yl-twocol { grid-template-columns: 1fr; }
	.yl-rail { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
	.yl-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
	.yl-card__foot { padding-top: 0.65rem; }
	.yl-footer__grid { grid-template-columns: 1fr; }
	.yl-trust { grid-template-columns: 1fr; }
	.yl-hero { min-height: 560px; }
	.home .yl-needs__grid { gap: 1.6rem; }
	.home .yl-need { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem; align-items: center; }
	.home .yl-need__media { aspect-ratio: 3 / 4; }
	.home .yl-need__body { padding: 0; }
	.home .yl-need__title { font-size: var(--step-2); }
	.home .yl-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
	.home .yl-footer__brand { grid-column: 1 / -1; }
	.home .yl-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
	.yl-section__head--row { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
	.yl-archive__bar { flex-direction: column; align-items: flex-start; }
	.yl-section--tint { padding-block: clamp(2.6rem, 8vw, 3.6rem); }
}

/* ── Print ───────────────────────────────────────────────────────────── */
@media print {
	.yl-header, .yl-footer, .yl-stickybar, .yl-drawer { display: none !important; }
	body { background: #fff; }
}

/* "Best for" note in the buy box: a labelled aside, not a list item. */
.yl-buybox__angle { display: flex; gap: 0.7rem; align-items: baseline; font-size: var(--step--1); color: var(--ink-soft); border-top: 1px solid var(--line-soft); padding-top: 0.9rem; margin-top: 0.2rem; border-left: 0; }
.yl-buybox__angle-label { flex: none; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.66rem; color: var(--pine); }

/* Hero eyebrow: a little more air between the kicker and the headline. */
.yl-hero .yl-eyebrow { margin-bottom: 1.25rem; }

/* Mobile: hero feature chips stack instead of squeezing three to a row. */
@media (max-width: 720px) {
	.yl-hero__facts { flex-direction: column; align-items: flex-start; gap: 0.45rem; }
	.yl-hero .yl-chip { font-size: 0.8rem; padding: 0.45em 0.85em; }
} 

/* Narrow phones: stack the hero CTAs so the primary action is full width. */
@media (max-width: 420px) {
	.yl-hero__cta { flex-direction: column; align-items: stretch; }
	.yl-hero__cta .yl-btn { width: 100%; }
}

/* ── Touch targets ────────────────────────────────────────────────────────
   Every interactive control clears the 44px minimum target size (WCAG 2.5.5)
   so the storefront is usable one-handed on a phone. */
.yl-btn,
.yl-iconbtn,
.yl-tabs a,
.woocommerce-ordering select,
.yl-pagination a,
.yl-pagination span,
.yl-buybox form.cart button[type='submit'],
.yl-drawer__remove {
	min-height: 44px;
}
.yl-btn, .yl-tabs a, .yl-buybox form.cart button[type='submit'] { display: inline-flex; align-items: center; }
.yl-iconbtn { min-width: 44px; justify-content: center; }
.yl-drawer__remove { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; }

/* ── Assistance slot ───────────────────────────────────────────────────── */
/* PDP: product-first photography, restrained detail panels, native buying flow. */
.single-product .yl-gallery__main { background: var(--surface); border-radius: 6px; }
.single-product .yl-gallery__img { object-fit: contain; padding: 1rem; }
.yl-gallery__main-link { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.yl-gallery__main-link::after { content: 'View full size ↗'; position: absolute; bottom: 0.8rem; right: 0.8rem; padding: 0.4rem 0.65rem; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: var(--step--1); }
.yl-gallery__main-link:focus-visible { outline-offset: -4px; }
.single-product .yl-gallery__thumb { border-radius: 4px; background: var(--surface); }
.single-product .yl-gallery__thumb img { object-fit: contain; width: 100%; height: 100%; }
.single-product .yl-gallery__thumb[aria-pressed='true'] { border: 2px solid var(--pine); opacity: 1; }
.single-product .yl-buybox { gap: 0.8rem; min-width: 0; }
.single-product .yl-buybox__price { font-family: var(--font-sans); font-size: var(--step-2); }
.single-product .yl-buybox__short { color: var(--ink-soft); }
.single-product .yl-buybox__short p + p { margin-top: 0.6rem; }
.single-product .yl-facts { border-top: 1px solid var(--line); padding-top: 1rem; gap: 0.5rem; font-size: var(--step--1); }
.single-product .yl-facts a { display: inline-flex; align-items: center; min-height: 32px; }
.single-product .yl-quote { border-radius: 6px; }
.single-product .yl-quote .yl-btn { white-space: normal; }
.single-product .yl-pdp__sections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.single-product .yl-panel { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.5rem 0 0; min-width: 0; animation: none; }
.single-product .yl-panel h2 { font-size: var(--step-2); }
.single-product .yl-highlight { background: transparent; border: 0; border-left: 2px solid var(--sage); border-radius: 0; padding: 0.2rem 0.8rem; }
.single-product .yl-highlights { margin-block: 1.2rem; gap: 1rem; grid-template-columns: 1fr; }
.single-product .yl-buybox .yl-highlight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); align-items: baseline; padding: 0.55rem 0; border: 0; border-bottom: 1px solid var(--line-soft); }
.single-product .yl-buybox > .yl-textlink { display: flex; width: fit-content; margin-top: 0.8rem; }
.single-product .yl-pdp { padding-top: 0.65rem; }
.single-product .yl-pdp__top { margin-top: 1rem; }
.single-product .yl-product-questions { margin-top: 1.5rem; }
#yl-seating-swings { scroll-margin-top: 100px; }
.home .yl-hero__title { font-size: clamp(2.4rem, 4.3vw, 4.4rem); }
.home .yl-hero__sub { max-width: 48ch; }
.home .yl-hero__img { object-position: center 55%; animation: none; }
.single-product .yl-table { overflow-wrap: anywhere; }
.single-product .yl-buybox .out-of-stock { color: var(--clay); font-weight: 600; }
#yl-product-summary, #yl-specifications { scroll-margin-top: max(100px, 8rem); }
.single-product .yl-stickybar .yl-btn { white-space: normal; text-align: center; min-width: 0; max-width: 58%; }
@media (max-width: 1080px) {
	body.single-product { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
	.single-product .yl-gallery__main { aspect-ratio: 1 / 1; }
	.single-product .yl-pdp__sections { grid-template-columns: 1fr; gap: 1.6rem; }
	.single-product .yl-buybox__cart { scroll-margin-bottom: 120px; }
	.single-product .yl-stickybar__inner { gap: 0.7rem; }
	.single-product .yl-related-section .yl-rail { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
	.single-product .yl-related-section .yl-card { min-width: 0; overflow-wrap: anywhere; }
	.single-product .yl-related-section .yl-card__foot { flex-wrap: wrap; }
}

.yl-assist { margin: 1rem 0 1.25rem; min-height: 0; }
.yl-assist:empty { margin: 0; }
.yl-assist__card {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.25rem 0.75rem;
	padding: 0.95rem 3rem 0.95rem 1.1rem;
	border: 1px solid var(--line);
	border-left: 3px solid var(--sage);
	border-radius: var(--radius);
	background: color-mix(in oklab, var(--paper) 88%, var(--paper-tint, var(--paper)));
	box-shadow: var(--shadow);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--step--1);
	line-height: 1.5;
}
.yl-assist__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-0);
	font-weight: 600;
	color: var(--ink);
	grid-column: 1;
}
.yl-assist__text { margin: 0.15rem 0 0; grid-column: 1; color: var(--ink); }
.yl-assist__rows { margin: 0.35rem 0 0; grid-column: 1; display: grid; grid-template-columns: max-content 1fr; gap: 0.15rem 0.75rem; }
.yl-assist__rows dt { color: var(--ink-soft); font-weight: 500; }
.yl-assist__rows dd { margin: 0; color: var(--ink); }
.yl-assist__link { margin: 0.5rem 0 0; grid-column: 1; }
.yl-assist__close {
	position: absolute; top: 0.5rem; right: 0.5rem;
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 0; border-radius: 999px; color: var(--ink-soft); cursor: pointer;
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.yl-assist__close:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); color: var(--ink); }
.yl-assist__close:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.yl-assist__card { transition: none; }
}
