/* ==========================================================================
   Skin Fairy — site stylesheet (one file for the whole site)
   1. Tokens   2. Base   3. Components   4. Header   5. Mobile top bar
   6. Search   7. Tab bar   8. Footer   9. Page shells   10. Motion + fallbacks
   Colours only ever come from the tokens below. Source: brand/tokens.css.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--sf-cream: #FAF6F2;
	--sf-espresso: #3A2A2F;
	--sf-pink: #F4A9B6;
	--sf-blush: #FBE4E8;
	--sf-blush-soft: #FBF0F3;
	--sf-gold: #C9A96E;          /* decorative only */
	--sf-rose-text: #9E5A6E;     /* small eyebrow text on cream */
	--sf-brown: #7A4F44;
	--sf-muted: #5C4148;
	--sf-skin-1: #E7C7AF;
	--sf-skin-2: #D9A58A;
	--sf-skin-3: #F3E3D6;
	--sf-pink-soft: #F9C7D5;     /* Contact: business type swatch */

	/* Supporting values used by the mockups, named so templates never hard-code colour. */
	--sf-white: #FFFFFF;
	--sf-pink-glass: rgba(244, 169, 182, 0.62);  /* seasonal drop tile note */
	--sf-story-ring: #E88BA0;                   /* unseen story bubble */
	--sf-on-photo-track: rgba(250, 246, 242, 0.45);
	--sf-error: #A23B2E;                        /* form error text, AA on white and cream */
	--sf-gold-soft: #FFFBF3;                    /* points pill, rewards cards */
	--sf-gold-edge: rgba(201, 169, 110, 0.6);
	--sf-line: rgba(58, 42, 47, 0.10);
	--sf-line-strong: rgba(58, 42, 47, 0.22);
	--sf-on-dark: rgba(250, 246, 242, 0.85);
	--sf-on-dark-soft: rgba(250, 246, 242, 0.75);
	--sf-on-dark-line: rgba(250, 246, 242, 0.15);
	--sf-white-edge: rgba(255, 255, 255, 0.7);
	--sf-white-wash: rgba(255, 255, 255, 0.5);
	--sf-shadow-lift: 0 18px 36px rgba(58, 42, 47, 0.12);
	--sf-line-soft: rgba(58, 42, 47, 0.12);
	--sf-line-chip: rgba(58, 42, 47, 0.2);
	--sf-green-soft: #DCEBD2;                   /* WhatsApp review chip */
	--sf-scrim: rgba(58, 42, 47, 0.28);
	--sf-toast-bg: rgba(58, 42, 47, 0.9);
	--sf-glass-strong: rgba(250, 246, 242, 0.86);
	--sf-shadow-drawer: 0 30px 80px rgba(58, 42, 47, 0.28);
	--sf-shadow-toast: 0 18px 40px rgba(58, 42, 47, 0.25);
	--sf-shadow-card: 0 8px 32px rgba(58, 42, 47, 0.12);

	--sf-font-head: 'Libre Baskerville', Georgia, serif;
	--sf-font-body: 'Poppins', system-ui, sans-serif;

	--sf-r-input: 14px;
	--sf-r-card: 26px;
	--sf-r-section: 40px;
	--sf-r-pill: 999px;
	--sf-tap: 44px;

	/* Glass: floating header pill */
	--sf-glass-bg: rgba(250, 246, 242, 0.62);
	--sf-glass-blur: blur(20px) saturate(1.4);
	--sf-glass-edge: 1px solid rgba(255, 255, 255, 0.75);
	--sf-glass-shadow: 0 10px 34px rgba(58, 42, 47, 0.10);
	/* Glass: mobile bars */
	--sf-glass-bar-bg: rgba(250, 246, 242, 0.6);
	--sf-glass-bar-blur: blur(22px) saturate(1.5);
	--sf-glass-bar-shadow: 0 10px 34px rgba(58, 42, 47, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.6);
	--sf-glass-solid: rgba(250, 246, 242, 0.96);
	--sf-topbar-edge: 1px solid rgba(255, 255, 255, 0.6);
	--sf-topbar-shadow: 0 4px 24px rgba(58, 42, 47, 0.06);

	/* Shell measurements */
	--sf-gutter: 40px;
	--sf-header-h: 72px;
	--sf-topbar-h: 56px;
	--sf-tabbar-h: 72px;
	--sf-safe-top: env(safe-area-inset-top, 0px);
	--sf-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--sf-header-h) + 32px);
}

/*
 * The page never moves sideways on a phone: nothing can be panned past the edges (clip keeps
 * sticky elements working, unlike hidden), and a swipe that reaches the end of a sideways row
 * stays in that row instead of dragging the page.
 */
html, body { overflow-x: clip; overscroll-behavior-x: none; }

/*
 * Touch screens (iPhone Safari especially): the page itself only moves up and down, and a quick
 * double tap on a button doesn't zoom the page in and leave it off-centre. Pinch to zoom still
 * works. Sideways rows and the stories keep their own swipe because they scroll on their own.
 */
@media (pointer: coarse) {
	html, body { touch-action: pan-y pinch-zoom; }
	a, button, input, select, textarea, summary, label, [role="button"] { touch-action: manipulation; }
}

body {
	margin: 0;
	background: var(--sf-cream);
	color: var(--sf-espresso);
	font-family: var(--sf-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }

a { color: var(--sf-espresso); text-decoration-color: var(--sf-gold); text-underline-offset: 3px; }
a:hover { color: var(--sf-brown); }

button, input, select, textarea { font-family: inherit; font-size: inherit; color: var(--sf-espresso); }
button { cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--sf-font-head); font-weight: 400; line-height: 1.2; margin: 0; }

:focus-visible { outline: 2px solid var(--sf-espresso); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--sf-pink); outline-offset: 1px; border-color: var(--sf-espresso); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.sf-skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	padding: 12px 20px; border-radius: var(--sf-r-pill);
	background: var(--sf-espresso); color: var(--sf-cream);
	font-weight: 500; text-decoration: none;
}
.sf-skip-link:focus { top: 16px; color: var(--sf-cream); }

.sf-main:focus { outline: none; }

/* 3. Components ------------------------------------------------------------ */
.sf-glass {
	background: var(--sf-glass-bg);
	-webkit-backdrop-filter: var(--sf-glass-blur);
	backdrop-filter: var(--sf-glass-blur);
	border: var(--sf-glass-edge);
	box-shadow: var(--sf-glass-shadow);
}
.sf-glass-bar {
	background: var(--sf-glass-bar-bg);
	-webkit-backdrop-filter: var(--sf-glass-bar-blur);
	backdrop-filter: var(--sf-glass-bar-blur);
}

.sf-logo { display: block; color: var(--sf-espresso); }

.sf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px;
	border: 0; border-radius: var(--sf-r-pill);
	font-size: 14px; font-weight: 500; line-height: 1.2;
	text-decoration: none; white-space: nowrap;
}
.sf-btn--dark { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-btn--dark:hover { color: var(--sf-cream); background: var(--sf-brown); }
.sf-btn--outline { padding: 0 20px; border: 1.5px solid var(--sf-espresso); background: transparent; color: var(--sf-espresso); }
.sf-btn--outline:hover { color: var(--sf-espresso); background: var(--sf-white-wash); }
.sf-btn--pink { background: var(--sf-pink); color: var(--sf-espresso); }
.sf-btn--pink:hover { color: var(--sf-espresso); background: var(--sf-blush); }
.sf-btn--white { padding: 0 20px; background: var(--sf-white); color: var(--sf-espresso); }
.sf-btn--white:hover { color: var(--sf-espresso); }
.sf-btn--ghost-light { padding: 0 20px; border: 1.5px solid var(--sf-cream); background: transparent; color: var(--sf-cream); }
.sf-btn--ghost-light:hover { color: var(--sf-espresso); background: var(--sf-cream); }

.sf-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; padding: 0;
	border: 0; border-radius: var(--sf-r-pill);
	color: var(--sf-espresso);
}
.sf-icon-btn--white { background: var(--sf-white); }
.sf-icon-btn--glass { width: var(--sf-tap); height: var(--sf-tap); background: var(--sf-white-wash); border: 1px solid var(--sf-white-edge); }

.sf-bag-btn {
	display: inline-flex; align-items: center; gap: 8px;
	height: 48px; padding: 0 18px 0 14px;
	border-radius: var(--sf-r-pill);
	background: var(--sf-espresso); color: var(--sf-cream);
	font-size: 14px; font-weight: 600; text-decoration: none;
}
.sf-bag-btn:hover { color: var(--sf-cream); }

.sf-input {
	height: 48px; width: 100%; padding: 0 16px;
	border: 1px solid var(--sf-line-strong); border-radius: var(--sf-r-input);
	background: var(--sf-white); font-size: 16px;
}

.sf-eyebrow {
	margin: 0;
	font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--sf-rose-text);
}
.sf-title { font-size: 44px; letter-spacing: -0.02em; line-height: 1.15; }
.sf-title em { color: var(--sf-brown); }
.sf-subtitle { font-size: 24px; }
.sf-lede { margin: 0; max-width: 60ch; color: var(--sf-muted); font-size: 16px; }

.sf-empty {
	display: flex; flex-direction: column; align-items: center; gap: 14px;
	padding: 64px 24px; border-radius: var(--sf-r-section);
	background: var(--sf-blush-soft); text-align: center;
}
.sf-empty--hero { padding: 96px 24px; }
.sf-empty .sf-lede { margin-bottom: 6px; }
.sf-empty__sparkles { display: inline-flex; gap: 6px; align-items: flex-start; color: var(--sf-gold); }

/* 4. Desktop header -------------------------------------------------------- */
.sf-page {
	max-width: 1440px; margin: 0 auto;
	padding: 0 var(--sf-gutter) 24px;
}

.sf-header {
	position: sticky; top: 16px; z-index: 50;
	height: var(--sf-header-h); margin: 16px 0 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 0 12px 0 28px;
	border-radius: var(--sf-r-pill);
}
.sf-header__brand { flex: 1 1 0; display: flex; align-items: center; min-height: var(--sf-tap); text-decoration: none; }
.sf-header__logo { width: 78.3px; height: 56px; }
.sf-header__actions { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.sf-header__label { font-size: 14px; color: var(--sf-muted); }

.sf-nav { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.sf-nav a {
	display: inline-flex; align-items: center;
	height: var(--sf-tap); padding: 0 4px;
	border-bottom: 2px solid transparent;
	font-size: 15px; text-decoration: none;
}
.sf-nav .current-menu-item > a,
.sf-nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--sf-pink); }

.sf-header--checkout { margin-bottom: 28px; }

/* Logged-in admins: keep the floating header below the WordPress admin bar. */
.admin-bar .sf-header { top: 48px; }
.admin-bar .sf-bag__panel { top: 48px; }
.admin-bar .sf-search { top: calc(48px + var(--sf-header-h) + 12px); }
@media (max-width: 782px) {
	.admin-bar .sf-header { top: 62px; }
}

/* 5. Mobile top bar -------------------------------------------------------- */
.sf-topbar { display: none; }

/* 6. Search panel ---------------------------------------------------------- */
.sf-search {
	position: fixed; z-index: 60;
	top: calc(16px + var(--sf-header-h) + 12px); left: 50%;
	width: min(640px, calc(100% - 32px)); transform: translateX(-50%);
	padding: 10px; border-radius: 28px;
}
.sf-search[hidden] { display: none; }
.sf-search__form { display: flex; align-items: center; gap: 8px; }
.sf-search__form .sf-input { flex: 1 1 auto; min-width: 0; }

/* 7. Tab bar (mobile only) ------------------------------------------------- */
.sf-tabbar { display: none; }

/* 8. Footer ---------------------------------------------------------------- */
.sf-footer__desktop {
	margin-top: 72px; padding: 56px;
	border-radius: var(--sf-r-section);
	background: var(--sf-espresso); color: var(--sf-cream);
	display: flex; flex-direction: column; gap: 40px;
}
.sf-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.sf-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.sf-footer .sf-logo { color: var(--sf-pink); }
.sf-footer__logo { width: 168px; height: 120px; }
.sf-footer__tagline { margin: 0; font-family: var(--sf-font-head); font-style: italic; font-size: 34px; line-height: 1.2; }
.sf-footer__sub { font-size: 14px; color: var(--sf-on-dark); }
.sf-footer__wa { align-self: flex-start; margin-top: 8px; }
.sf-footer__col { display: flex; flex-direction: column; gap: 12px; }
.sf-footer__heading {
	font-family: var(--sf-font-body); font-size: 12px; font-weight: 400;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--sf-pink);
}
.sf-footer__links { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.sf-footer__links a, .sf-footer__inline a { color: var(--sf-on-dark); text-decoration: none; }
.sf-footer__links a { display: inline-flex; align-items: center; min-height: 32px; margin: -6px 0; }
.sf-footer__links a:hover, .sf-footer__inline a:hover { color: var(--sf-cream); text-decoration: underline; text-decoration-color: var(--sf-gold); }
.sf-footer__base {
	display: flex; justify-content: space-between; gap: 24px;
	padding-top: 24px; border-top: 1px solid var(--sf-on-dark-line);
	font-size: 13px; color: var(--sf-on-dark-soft);
}
.sf-footer__mobile { display: none; }

.sf-footer-slim {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	margin-top: 48px; padding: 24px 8px 0;
	border-top: 1px solid var(--sf-line);
	font-size: 13px; color: var(--sf-muted);
}
.sf-footer-slim__links { display: flex; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.sf-footer-slim__links a { color: var(--sf-muted); text-decoration: none; }

/* 9. Page shells ----------------------------------------------------------- */
.sf-container { width: 100%; }
.sf-stack { display: flex; flex-direction: column; gap: 32px; }
.sf-page-head { display: flex; flex-direction: column; gap: 10px; padding: 24px 8px 0; }

.sf-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.sf-content { font-size: 16px; color: var(--sf-muted); }
.sf-content > * + * { margin-top: 1em; }
.sf-content > h2, .sf-content > h3 { color: var(--sf-espresso); margin-top: 1.6em; }
.sf-content > h2 { font-size: 28px; }
.sf-content > h3 { font-size: 22px; }
.sf-content img { border-radius: 22px; }

.sf-pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.sf-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: var(--sf-tap); height: var(--sf-tap); padding: 0 12px;
	border-radius: var(--sf-r-pill); background: var(--sf-white); text-decoration: none;
}
.sf-pagination .page-numbers.current { background: var(--sf-espresso); color: var(--sf-cream); }

/* Tablet ------------------------------------------------------------------- */
@media (max-width: 1100px) {
	:root { --sf-gutter: 24px; }
	.sf-nav { gap: 20px; }
	.sf-header { gap: 16px; padding-left: 20px; }
	.sf-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sf-footer__brand { grid-column: 1 / -1; }
	.sf-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile app shell (below 768px) ------------------------------------------- */
@media (max-width: 767.98px) {
	:root { --sf-gutter: 16px; }
	html { scroll-padding-top: calc(var(--sf-topbar-h) + var(--sf-safe-top) + 16px); }

	.sf-page { padding-top: calc(var(--sf-topbar-h) + var(--sf-safe-top) + 20px); padding-bottom: 24px; }
	.sf-has-tabbar .sf-page { padding-bottom: calc(var(--sf-tabbar-h) + 12px + var(--sf-safe-bottom) + 24px); }

	.sf-header { display: none; }

	.sf-topbar {
		position: fixed; top: 0; left: 0; right: 0; z-index: 50;
		display: flex; align-items: center; justify-content: space-between;
		height: calc(var(--sf-topbar-h) + var(--sf-safe-top));
		padding: var(--sf-safe-top) 16px 0;
		border-bottom: var(--sf-topbar-edge);
		box-shadow: var(--sf-topbar-shadow);
	}
	.admin-bar .sf-topbar { top: 46px; }
	.admin-bar .sf-search { top: calc(46px + var(--sf-topbar-h) + var(--sf-safe-top) + 10px); }
	.sf-topbar__brand { display: flex; align-items: center; height: 48px; }
	.sf-topbar__logo { width: 64.4px; height: 46px; }
	.sf-topbar__actions { display: flex; gap: 6px; }
	.sf-topbar .sf-bag-btn { height: var(--sf-tap); padding: 0 14px 0 12px; gap: 6px; }
	.sf-topbar .sf-bag-btn .sf-icon { width: 18px; height: 18px; }

	.sf-points-pill {
		display: inline-flex; align-items: center; gap: 6px;
		height: var(--sf-tap); padding: 0 12px;
		border: 1px solid var(--sf-gold-edge); border-radius: var(--sf-r-pill);
		background: var(--sf-gold-soft);
		font-size: 13px; font-weight: 600; text-decoration: none;
	}
	.sf-points-pill .sf-icon { color: var(--sf-gold); }

	.sf-search { top: calc(var(--sf-topbar-h) + var(--sf-safe-top) + 10px); }
	.sf-search .sf-btn { padding: 0 16px; }

	.sf-tabbar {
		position: fixed; z-index: 50;
		left: 14px; right: 14px; bottom: calc(12px + var(--sf-safe-bottom));
		height: var(--sf-tabbar-h); padding: 0 6px;
		display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center;
		border-radius: 28px;
		border: 1px solid var(--sf-white-edge);
		box-shadow: var(--sf-glass-bar-shadow);
	}
	.sf-tabbar__item {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		height: 60px; text-decoration: none; color: var(--sf-espresso);
	}
	.sf-tabbar__item:hover { color: var(--sf-espresso); }
	.sf-tabbar__pill {
		display: flex; align-items: center; justify-content: center;
		width: 54px; height: 30px; border-radius: var(--sf-r-pill);
		transition: background-color .2s ease;
	}
	.sf-tabbar__label { font-size: 11px; line-height: 1.2; font-weight: 400; }
	.sf-tabbar__item[aria-current="page"] .sf-tabbar__pill { background: var(--sf-pink); }
	.sf-tabbar__item[aria-current="page"] .sf-tabbar__label { font-weight: 600; }

	.sf-footer__desktop { display: none; }
	.sf-footer__mobile {
		display: flex; flex-direction: column; gap: 14px;
		margin-top: 48px; padding: 28px 24px;
		border-radius: 30px;
		background: var(--sf-espresso); color: var(--sf-cream);
	}
	.sf-footer__logo--sm { width: 97.9px; height: 70px; }
	.sf-footer__mobile .sf-footer__tagline { font-size: 22px; line-height: 1.25; }
	.sf-footer__mobile .sf-footer__sub { font-size: 13px; }
	.sf-footer__note { font-size: 12px; color: var(--sf-on-dark-soft); }
	.sf-footer__mobile .sf-footer__wa { margin-top: 0; min-height: 46px; padding: 0 20px; }
	.sf-footer__inline { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; padding: 8px 0 0; list-style: none; font-size: 13px; }
	.sf-footer__inline a { display: inline-flex; align-items: center; min-height: var(--sf-tap); }
	.sf-footer__legal { font-size: 11px; color: var(--sf-on-dark-soft); }

	.sf-footer-slim { flex-direction: column; align-items: flex-start; }

	.sf-title { font-size: 30px; letter-spacing: -0.01em; }
	.sf-page-head { padding: 0 4px; }
	.sf-empty--hero { padding: 64px 20px; }
	.sf-post-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 11. Shared shop pieces ---------------------------------------------------- */
.sf-tone-0 { background: var(--sf-skin-1); }
.sf-tone-1 { background: var(--sf-skin-2); }
.sf-tone-2 { background: var(--sf-brown); }
.sf-tone-3 { background: var(--sf-blush); }
.sf-photo-slot { display: block; width: 100%; height: 100%; background: var(--sf-skin-3); }

.sf-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.sf-eyebrow .sf-icon, .sf-summary__made .sf-icon, .sf-nudge > .sf-icon { color: var(--sf-gold); }
.sf-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sf-section-head > div { display: flex; flex-direction: column; gap: 10px; }
.sf-section-title { font-size: 36px; letter-spacing: -0.01em; }

/* Product card */
.sf-pcard {
	position: relative; height: 456px;
	display: flex; flex-direction: column;
	border-radius: var(--sf-r-card); background: var(--sf-white); overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.sf-pcard:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow-lift); }
.sf-pcard__media { position: relative; height: 300px; flex-shrink: 0; background: var(--sf-skin-3); }
.sf-pcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-pcard.is-out .sf-pcard__media img { opacity: .6; }
.sf-pcard__badge {
	position: absolute; top: 12px; left: 12px;
	display: inline-flex; align-items: center; gap: 6px;
	height: 26px; padding: 0 10px; border-radius: var(--sf-r-pill);
	background: var(--sf-cream);
	font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.sf-pcard__badge .sf-icon { color: var(--sf-gold); }
.sf-pcard__badge--out { left: auto; right: 12px; }
.sf-pcard__badge-short { display: none; }
.sf-pcard__body { flex-grow: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.sf-pcard__brand {
	display: block; flex-shrink: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
	font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sf-brown);
}
.sf-pcard__name {
	margin: 0; height: 44px; flex-shrink: 0; overflow: hidden;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	font-family: var(--sf-font-head); font-size: 16px; line-height: 22px; font-weight: 400;
}
.sf-pcard__link { text-decoration: none; }
.sf-pcard__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.sf-pcard__link:focus-visible { outline: none; }
.sf-pcard__link:focus-visible::after { outline: 2px solid var(--sf-espresso); outline-offset: -2px; }
.sf-pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sf-pcard__price { font-size: 16px; font-weight: 600; }
.sf-pcard__price del, .sf-summary__amount del { font-weight: 400; color: var(--sf-muted); margin-right: 4px; }
.sf-pcard__price ins, .sf-summary__amount ins { text-decoration: none; }

/* Round add button with sparkle burst */
.sf-add {
	position: relative; z-index: 2; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	width: var(--sf-tap); height: var(--sf-tap); padding: 0;
	border: 0; border-radius: var(--sf-r-pill);
	background: var(--sf-pink); color: var(--sf-espresso);
	transition: background-color .2s ease;
}
.sf-add:hover { color: var(--sf-espresso); background: var(--sf-blush); }
.sf-add__tick { display: none; }
.sf-add.is-added { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-add.is-added .sf-add__plus { display: none; }
.sf-add.is-added .sf-add__tick { display: block; }
.is-busy { opacity: .6; pointer-events: none; }

.sf-burst { position: absolute; inset: 0; pointer-events: none; }
.sf-b { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; opacity: 0; color: var(--sf-gold); }
@keyframes sfB1 { 0% { transform: translate(0, 0) scale(.3); opacity: 1; } 100% { transform: translate(0, -34px) scale(1) rotate(60deg); opacity: 0; } }
@keyframes sfB2 { 0% { transform: translate(0, 0) scale(.3); opacity: 1; } 100% { transform: translate(30px, -17px) scale(1) rotate(60deg); opacity: 0; } }
@keyframes sfB3 { 0% { transform: translate(0, 0) scale(.3); opacity: 1; } 100% { transform: translate(30px, 17px) scale(1) rotate(60deg); opacity: 0; } }
@keyframes sfB4 { 0% { transform: translate(0, 0) scale(.3); opacity: 1; } 100% { transform: translate(0, 34px) scale(1) rotate(60deg); opacity: 0; } }
@keyframes sfB5 { 0% { transform: translate(0, 0) scale(.3); opacity: 1; } 100% { transform: translate(-30px, 17px) scale(1) rotate(60deg); opacity: 0; } }
@keyframes sfB6 { 0% { transform: translate(0, 0) scale(.3); opacity: 1; } 100% { transform: translate(-30px, -17px) scale(1) rotate(60deg); opacity: 0; } }
.sf-b1 { animation: sfB1 .7s ease-out both; } .sf-b2 { animation: sfB2 .7s ease-out both; } .sf-b3 { animation: sfB3 .7s ease-out both; }
.sf-b4 { animation: sfB4 .7s ease-out both; } .sf-b5 { animation: sfB5 .7s ease-out both; } .sf-b6 { animation: sfB6 .7s ease-out both; }

/* Quantity stepper */
.sf-qty {
	display: inline-flex; align-items: center; flex-shrink: 0;
	height: 56px; padding: 0 6px; border-radius: var(--sf-r-pill);
	background: var(--sf-white); border: 1px solid var(--sf-line-soft);
}
.sf-qty__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: var(--sf-tap); height: var(--sf-tap); padding: 0;
	border: 0; border-radius: var(--sf-r-pill); background: transparent; color: var(--sf-espresso);
}
.sf-qty__input, .sf-qty__value {
	width: 36px; border: 0; padding: 0; background: transparent;
	text-align: center; font-size: 16px; font-weight: 600;
	-moz-appearance: textfield;
}
.sf-qty__input::-webkit-outer-spin-button, .sf-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sf-qty--sm { height: var(--sf-tap); padding: 0; border: 0; background: var(--sf-cream); }
.sf-qty--sm .sf-qty__value { width: 24px; font-size: 14px; }

/* 12. Shop page -------------------------------------------------------------- */
.sf-shop {
	display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start;
	padding: 16px; border-radius: var(--sf-r-section); background: var(--sf-white);
}
.sf-shop .sf-pcard { background: var(--sf-cream); }

.sf-rail {
	position: sticky; top: calc(16px + var(--sf-header-h) + 20px);
	display: flex; flex-direction: column; gap: 4px;
	padding: 20px 12px; border-radius: 28px; background: var(--sf-cream);
}
.sf-rail__title { margin: 0; padding: 0 12px 12px; font-family: var(--sf-font-head); font-size: 22px; }
.sf-rail__title em { font-style: normal; }
.sf-rail__list { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sf-rail__tab {
	display: flex; align-items: center; gap: 12px;
	height: 60px; padding: 0 12px 0 8px; border-radius: 20px;
	font-size: 15px; text-decoration: none; color: var(--sf-espresso);
}
.sf-rail__tab:hover { color: var(--sf-espresso); background: var(--sf-blush-soft); }
.sf-rail__tab[aria-current="page"] { background: var(--sf-espresso); color: var(--sf-cream); font-weight: 600; }
.sf-rail__thumb { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; overflow: hidden; }
.sf-rail__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-rail__label { flex-grow: 1; }
.sf-rail__emoji { font-size: 22px; line-height: 1; font-style: normal; }
.sf-rail__count { font-size: 12px; opacity: .8; }
.sf-rail__promo {
	position: relative; display: block; height: 240px; margin-top: 16px;
	border-radius: 24px; overflow: hidden; background: var(--sf-skin-1); text-decoration: none;
}
.sf-rail__promo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sf-rail__promo-card {
	position: absolute; left: 10px; right: 10px; bottom: 10px;
	display: flex; flex-direction: column; gap: 2px;
	padding: 12px 14px; border-radius: 18px;
}
.sf-rail__promo-title { font-family: var(--sf-font-head); font-size: 15px; }
.sf-rail__promo-line { font-size: 12px; color: var(--sf-muted); }

.sf-shop__main { display: flex; flex-direction: column; gap: 20px; padding: 12px 16px 16px; min-width: 0; }
.sf-shop__head { display: flex; align-items: baseline; gap: 12px; }
.sf-shop__title { font-size: 34px; letter-spacing: -0.01em; }
.sf-shop__count { font-size: 14px; color: var(--sf-muted); }

.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chip {
	display: inline-flex; align-items: center; flex-shrink: 0;
	min-height: var(--sf-tap); padding: 0 16px;
	border: 1px solid var(--sf-line-chip); border-radius: var(--sf-r-pill);
	font-size: 13px; text-decoration: none; white-space: nowrap; color: var(--sf-espresso);
}
.sf-chip:hover { color: var(--sf-espresso); border-color: var(--sf-espresso); }
.sf-chip[aria-current="true"] { background: var(--sf-espresso); border-color: var(--sf-espresso); color: var(--sf-cream); }

.sf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.sf-empty--shop { min-height: 420px; justify-content: center; border-radius: 28px; background: var(--sf-cream); }
.sf-empty__title { margin: 0; font-family: var(--sf-font-head); font-size: 24px; }
.sf-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sf-empty .sf-twinkle { color: var(--sf-gold); }

.woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: var(--sf-tap); height: var(--sf-tap); padding: 0 12px;
	border-radius: var(--sf-r-pill); background: var(--sf-cream); text-decoration: none;
}
.woocommerce-pagination .page-numbers .current { background: var(--sf-espresso); color: var(--sf-cream); }

/* WooCommerce notices, wherever they appear */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	margin: 0 0 16px; padding: 14px 18px; list-style: none;
	border-radius: 18px; background: var(--sf-blush-soft); font-size: 14px;
}
.woocommerce-error { background: var(--sf-blush); }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 12px; font-weight: 600; }

/* 13. Product page ----------------------------------------------------------- */
.sf-crumbs { margin: 0 8px 20px; font-size: 13px; color: var(--sf-muted); }
.sf-crumbs__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sf-crumbs__list li + li::before { content: '/'; margin-right: 10px; }
.sf-crumbs__list a { color: var(--sf-muted); text-decoration: none; }
.sf-crumbs__list [aria-current] { color: var(--sf-espresso); }
.sf-crumbs__back { display: none; }

.sf-product__hero { display: grid; grid-template-columns: minmax(0, 736px) minmax(0, 1fr); gap: 20px; align-items: start; }

.sf-gallery { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.sf-gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.sf-gallery__thumb {
	width: 96px; height: 120px; padding: 0; overflow: hidden;
	border: 2px solid transparent; border-radius: 20px; background: var(--sf-skin-3);
}
.sf-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-gallery__thumb[aria-current="true"] { border-color: var(--sf-espresso); }
.sf-gallery__slides {
	grid-column: 2; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	aspect-ratio: 620 / 760; border-radius: 36px; background: var(--sf-skin-3);
}
.sf-gallery__slides::-webkit-scrollbar { display: none; }
.sf-gallery__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.sf-gallery--single { grid-template-columns: minmax(0, 1fr); }
.sf-gallery--single .sf-gallery__slides { grid-column: 1; }
.sf-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-gallery__count {
	position: absolute; top: 14px; right: 14px;
	display: none; align-items: center; height: 26px; padding: 0 10px;
	border-radius: var(--sf-r-pill); background: var(--sf-cream); font-size: 11px; font-weight: 600;
}

.sf-summary { display: flex; flex-direction: column; gap: 20px; padding: 8px 0 0 28px; min-width: 0; }
.sf-summary__made {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
	height: 30px; padding: 0 12px; border-radius: var(--sf-r-pill); background: var(--sf-blush);
	font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.sf-summary__brand { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sf-brown); }
.sf-summary__title { font-size: 42px; line-height: 1.12; letter-spacing: -0.02em; }
.sf-summary__price { display: flex; align-items: baseline; gap: 12px; }
.sf-summary__amount { font-size: 24px; font-weight: 600; }
.sf-summary__size { font-size: 14px; color: var(--sf-muted); }
.sf-summary__line { font-size: 16px; line-height: 1.65; color: var(--sf-muted); }
.sf-summary__line p { margin: 0 0 .6em; }
.sf-summary__line p:last-child { margin-bottom: 0; }
.sf-summary__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sf-summary__tags li {
	display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
	border: 1px solid var(--sf-line-chip); border-radius: var(--sf-r-pill); font-size: 13px;
}

/* Add-to-bag form (simple and variable) */
.sf-summary__buy form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 0; }
.sf-summary__buy form.variations_form { flex-direction: column; }
.sf-summary__buy .single_add_to_cart_button {
	position: relative; flex-grow: 1; min-height: 56px; padding: 0 24px;
	border: 0; border-radius: var(--sf-r-pill); background: var(--sf-espresso); color: var(--sf-cream);
	font-size: 16px; font-weight: 500;
}
.sf-summary__buy .single_add_to_cart_button:hover { background: var(--sf-brown); }
.sf-summary__buy .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.sf-summary__buy .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.sf-summary__buy table.variations { width: 100%; border-collapse: collapse; }
.sf-summary__buy table.variations th, .sf-summary__buy table.variations td { display: block; padding: 0; text-align: left; }
.sf-summary__buy table.variations th label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.sf-summary__buy table.variations tr + tr th { padding-top: 14px; }
.sf-summary__buy table.variations select {
	width: 100%; height: 50px; padding: 0 16px;
	border: 1px solid var(--sf-line-strong); border-radius: var(--sf-r-input); background: var(--sf-white); font-size: 16px;
}
.sf-summary__buy .reset_variations { display: inline-flex; align-items: center; min-height: var(--sf-tap); font-size: 13px; }
.sf-summary__buy .woocommerce-variation-price { margin-bottom: 12px; font-size: 20px; font-weight: 600; }
.sf-summary__buy .stock { margin: 0; font-size: 13px; color: var(--sf-muted); }
.sf-summary__buy .stock.out-of-stock { color: var(--sf-rose-text); font-weight: 600; }

.sf-reassure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sf-reassure li { padding: 14px; border-radius: 18px; background: var(--sf-white); font-size: 12px; line-height: 1.5; }
.sf-reassure strong { display: block; font-size: 13px; font-weight: 600; }

.sf-accordion { border-top: 1px solid var(--sf-line-soft); }
.sf-accordion__item { border-bottom: 1px solid var(--sf-line-soft); }
.sf-accordion__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 60px; cursor: pointer; list-style: none;
	font-size: 15px; font-weight: 500;
}
.sf-accordion__head::-webkit-details-marker { display: none; }
.sf-accordion__item[open] .sf-accordion__v { display: none; }
.sf-accordion__body { padding: 0 0 18px; font-size: 14px; line-height: 1.7; color: var(--sf-muted); }
.sf-accordion__body p { margin: 0 0 .7em; }
.sf-accordion__body p:last-child { margin-bottom: 0; }

.sf-nudge {
	display: flex; align-items: center; gap: 14px;
	padding: 16px 18px; border-radius: 22px; background: var(--sf-blush-soft); text-decoration: none;
}
.sf-nudge > span { display: flex; flex-direction: column; gap: 2px; }
.sf-nudge strong { font-size: 14px; font-weight: 600; }
.sf-nudge strong + span { font-size: 13px; color: var(--sf-muted); }

/* Complete the routine */
.sf-complete {
	margin-top: 96px;
	display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 40px; align-items: center;
	padding: 44px; border-radius: var(--sf-r-section); background: var(--sf-blush-soft);
}
.sf-complete__intro { display: flex; flex-direction: column; gap: 14px; }
.sf-complete__title { font-size: 32px; }
.sf-complete__title a { text-decoration: none; }
.sf-complete__text { font-size: 15px; line-height: 1.6; color: var(--sf-muted); }
.sf-complete__text p { margin: 0; }
.sf-complete__items { display: flex; align-items: flex-start; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sf-complete__item { width: 190px; }
.sf-complete__item a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.sf-complete__photo { display: block; height: 200px; border-radius: 24px; overflow: hidden; background: var(--sf-skin-3); }
.sf-complete__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-complete__name {
	height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	font-family: var(--sf-font-head); font-size: 15px; line-height: 22px;
}
.sf-complete__price { font-size: 14px; font-weight: 600; }
.sf-complete__plus {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 40px; height: 40px; margin-top: 80px; border-radius: var(--sf-r-pill); background: var(--sf-white);
}
.sf-complete__buy { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 28px; background: var(--sf-white); }
.sf-complete__was { font-size: 14px; color: var(--sf-muted); }
.sf-complete__now { font-family: var(--sf-font-head); font-size: 34px; }
.sf-complete__save {
	align-self: flex-start; display: inline-block; height: 28px; line-height: 28px; padding: 0 12px;
	border-radius: var(--sf-r-pill); background: var(--sf-pink); font-size: 12px; font-weight: 600;
}
.sf-complete__note { font-size: 12px; line-height: 1.5; color: var(--sf-muted); }
.sf-complete__buy .sf-btn { position: relative; margin-top: 6px; min-height: 52px; }

/* Texture band */
.sf-texture { margin-top: 16px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.sf-texture--1 { grid-template-columns: 1fr; }
.sf-texture--2 { grid-template-columns: 2fr 1fr; }
.sf-texture__photo { margin: 0; height: 380px; border-radius: 36px; overflow: hidden; background: var(--sf-skin-1); }
.sf-texture__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Customer reviews */
.sf-revs { margin-top: 96px; display: flex; flex-direction: column; gap: 24px; scroll-margin-top: calc(var(--sf-header-h, 80px) + 24px); }
.sf-revs__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.sf-revs__summary { display: flex; align-items: center; gap: 14px; }
.sf-revs__avg { font-family: var(--sf-font-head); font-size: 48px; line-height: 1; }
.sf-revs__summary-side { display: flex; flex-direction: column; gap: 4px; }
.sf-revs__count { font-size: 13px; color: var(--sf-muted); }
.sf-revs__box { display: flex; flex-direction: column; }
.sf-revs__world { align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -8px 0 0; padding: 8px 16px; border-radius: var(--sf-r-pill); background: var(--sf-gold-soft); border: 1px solid var(--sf-gold-edge); font-size: 14px; font-weight: 500; }
.sf-revs__world-spark { color: var(--sf-gold); }
.sf-revs__world-link { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--sf-brown); font-weight: 600; }
.sf-revs__note { margin: 0; padding: 18px 22px; border-radius: 22px; background: var(--sf-white); font-size: 15px; line-height: 1.55; }
.sf-revs__note--done { background: var(--sf-blush-soft); }
.sf-revs__note[hidden] { display: none; }
.sf-revs__link { margin-left: 4px; font-weight: 600; color: var(--sf-espresso); }
.sf-revs__empty { margin: 0; color: var(--sf-muted); font-size: 15px; }
.sf-revs__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sf-revs__more { align-self: center; }

.sf-stars { position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; color: var(--sf-line-strong); white-space: nowrap; }
.sf-stars__on { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--sf-gold); }
.sf-stars--lg { font-size: 22px; }

.sf-rev { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 24px; background: var(--sf-white); }
.sf-rev[hidden] { display: none; }
.sf-rev__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sf-rev__date { font-size: 12px; color: var(--sf-muted); }
.sf-rev__text { margin: 0; font-size: 15px; line-height: 1.6; }
.sf-rev__photos { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-rev__photo { display: block; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--sf-cream); }
.sf-rev__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-rev__who { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.sf-rev__src { font-size: 12px; color: var(--sf-muted); }
.sf-rev__verified { padding: 3px 10px; border-radius: var(--sf-r-pill); background: var(--sf-green-soft); font-size: 12px; }

/* Review form */
.sf-revform { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 28px; background: var(--sf-white); }
.sf-revform[hidden] { display: none; }
.sf-revform__title { margin: 0; font-family: var(--sf-font-head); font-size: 22px; font-weight: 400; }
.sf-revform__text { margin: 4px 0 0; font-size: 14px; color: var(--sf-muted); }
.sf-revform__label { padding: 0; font-size: 13px; font-weight: 600; }
.sf-revform__stars { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0; padding: 0; border: 0; }
.sf-revform__stars legend { width: 100%; margin-bottom: 4px; }
.sf-revform__star { display: inline-flex; align-items: center; justify-content: center; width: var(--sf-tap); height: var(--sf-tap); font-size: 30px; line-height: 1; color: var(--sf-line-strong); cursor: pointer; }
.sf-revform__star.is-on { color: var(--sf-gold); }
.sf-revform__stars input:focus-visible + .sf-revform__star { outline: 2px solid var(--sf-espresso); outline-offset: 2px; border-radius: 10px; }
.sf-revform__textarea { min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.sf-revform__photos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sf-revform__add { display: inline-flex; align-items: center; gap: 8px; min-height: var(--sf-tap); padding: 0 18px; border: 1.5px dashed var(--sf-line-chip); border-radius: var(--sf-r-pill); font-size: 14px; font-weight: 500; cursor: pointer; }
.sf-revform__add:focus-within { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }
.sf-revform__hint { font-size: 12px; color: var(--sf-muted); }
.sf-revform__previews { display: flex; gap: 8px; width: 100%; }
.sf-revform__previews:empty { display: none; }
.sf-revform__preview { position: relative; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; }
.sf-revform__preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-revform__remove { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--sf-espresso); color: var(--sf-cream); font-size: 16px; line-height: 1; cursor: pointer; }
.sf-revform__error { margin: 0; font-size: 14px; color: var(--sf-brown); font-weight: 500; }
.sf-revform__error[hidden] { display: none; }
.sf-revform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sf-revform__small { flex: 1 1 220px; font-size: 12px; line-height: 1.5; color: var(--sf-muted); }

/* Rating on product cards */
.sf-pcard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; flex-shrink: 0; }
.sf-pcard__top .sf-pcard__brand { min-width: 0; }
.sf-pcard__rating { flex-shrink: 0; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sf-pcard__rating > span[aria-hidden] { color: var(--sf-gold); }
.sf-pcard__rating-n { font-weight: 400; color: var(--sf-muted); }

.sf-related { margin-top: 96px; display: flex; flex-direction: column; gap: 28px; }
.sf-grid--related .sf-pcard { height: 480px; }
.sf-grid--related .sf-pcard__media { height: 320px; }

.sf-buybar { display: none; }

/* 14. Bag drawer / sheet and toast ------------------------------------------- */
.sf-bag { position: fixed; inset: 0; z-index: 90; }
.sf-bag[hidden] { display: none; }
.sf-bag__scrim { position: absolute; inset: 0; background: var(--sf-scrim); opacity: 0; transition: opacity .2s ease; }
.sf-bag__panel {
	position: absolute; top: 16px; right: 24px; bottom: 16px;
	width: min(440px, calc(100% - 32px));
	display: flex; flex-direction: column;
	padding: 28px; border-radius: 36px;
	background: var(--sf-glass-strong); box-shadow: var(--sf-shadow-drawer);
	opacity: 0; transform: translateX(40px);
	transition: opacity .32s cubic-bezier(.2, .8, .2, 1), transform .32s cubic-bezier(.2, .8, .2, 1);
}
.sf-bag__panel:focus { outline: none; }
.sf-bag.is-open .sf-bag__scrim { opacity: 1; }
.sf-bag.is-open .sf-bag__panel { opacity: 1; transform: none; }
.sf-bag-is-open { overflow: hidden; }
.sf-bag__grip { display: none; }
.sf-bag__body { flex-grow: 1; min-height: 0; display: flex; flex-direction: column; gap: 18px; }
.sf-bag__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sf-bag__title { font-size: 28px; }
.sf-bag__loading { margin: 0; color: var(--sf-muted); }
.sf-bag__items { flex-grow: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sf-bag__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 22px; background: var(--sf-white); }
.sf-bag__thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: 16px; overflow: hidden; background: var(--sf-skin-3); }
.sf-bag__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-bag__info { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sf-bag__name {
	overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	font-family: var(--sf-font-head); font-size: 15px; line-height: 21px; text-decoration: none;
}
.sf-bag__line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sf-bag__price { font-size: 14px; font-weight: 600; }
.sf-bag__remove {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: var(--sf-tap); height: var(--sf-tap); padding: 0;
	border: 0; border-radius: var(--sf-r-pill); background: var(--sf-cream); color: var(--sf-espresso);
}
.sf-bag__foot { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--sf-line); }
.sf-bag__total { display: flex; justify-content: space-between; font-size: 16px; }
.sf-bag__note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--sf-muted); }
.sf-bag__checkout { min-height: 56px; font-size: 16px; }
.sf-bag__keep { min-height: var(--sf-tap); border: 0; background: transparent; font-size: 14px; font-weight: 500; }
.sf-bag__empty { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; text-align: center; }
.sf-bag__empty .sf-twinkle { color: var(--sf-gold); }
.sf-bag__empty-title { margin: 0; font-family: var(--sf-font-head); font-size: 24px; line-height: 1.3; }
.sf-bag__empty-line { margin: 0 0 6px; font-size: 14px; color: var(--sf-muted); }
.sf-bag__empty-reward { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: left; }
.sf-bag__empty-reward .sf-bag__empty-line { margin: 0; text-align: center; }

.sf-toast {
	position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%);
	display: flex; align-items: center; gap: 14px;
	max-width: calc(100% - 32px); min-height: 56px; padding: 6px 8px 6px 22px;
	border-radius: var(--sf-r-pill); background: var(--sf-toast-bg); color: var(--sf-cream);
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	box-shadow: var(--sf-shadow-toast);
	animation: sfToast .3s ease-out both;
}
.sf-toast[hidden] { display: none; }
.sf-toast .sf-icon { color: var(--sf-gold); }
.sf-toast__text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.sf-toast__btn {
	flex-shrink: 0; min-height: 42px; padding: 0 18px;
	border: 0; border-radius: var(--sf-r-pill); background: var(--sf-pink); color: var(--sf-espresso);
	font-size: 13px; font-weight: 600;
}
.sf-toast.is-error { padding-right: 22px; }
@keyframes sfToast { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 15. Routine builder -------------------------------------------------------- */
.sf-routine {
	display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px;
	padding: 44px 44px 32px; border-radius: var(--sf-r-section); background: var(--sf-blush-soft);
}
.sf-routine__intro { display: flex; flex-direction: column; gap: 16px; }
.sf-routine__title { font-size: 36px; line-height: 1.15; letter-spacing: -0.01em; }
.sf-routine__lede { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sf-muted); }
.sf-routine__options { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.sf-routine__option {
	display: flex; align-items: center; gap: 14px;
	min-height: 80px; padding: 8px 18px 8px 8px;
	border: 1.5px solid var(--sf-line-soft); border-radius: 22px; background: var(--sf-white);
	text-decoration: none; color: var(--sf-espresso);
}
.sf-routine__option:hover { color: var(--sf-espresso); border-color: var(--sf-espresso); }
.sf-routine__option[aria-current="true"] { background: var(--sf-espresso); border-color: var(--sf-espresso); color: var(--sf-cream); }
.sf-routine__swatch {
	display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex-shrink: 0;
	border-radius: 16px; overflow: hidden; font-size: 30px; line-height: 1;
}
.sf-routine__swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-routine__option-text { display: flex; flex-direction: column; gap: 2px; }
.sf-routine__option-label { font-size: 15px; font-weight: 600; }
.sf-routine__option-sub { font-size: 12px; opacity: .85; }
/* Under the routine total, so the concerns and the picks sit together. */
.sf-routine__consult { grid-column: -2; justify-self: start; display: inline-flex; align-items: center; min-height: var(--sf-tap); margin-top: -16px; font-size: 14px; font-weight: 500; }
.sf-routine__set { display: flex; flex-direction: column; gap: 20px; }
.sf-routine__set[hidden] { display: none; }
.sf-routine__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sf-step { height: 440px; display: flex; flex-direction: column; border-radius: var(--sf-r-card); background: var(--sf-white); overflow: hidden; }
.sf-step__media { position: relative; height: 290px; flex-shrink: 0; background: var(--sf-skin-3); }
.sf-step__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-step__tag {
	position: absolute; top: 12px; left: 12px;
	display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 4px;
	border-radius: var(--sf-r-pill); background: var(--sf-cream);
	font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.sf-step__n {
	display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
	border-radius: var(--sf-r-pill); background: var(--sf-espresso); color: var(--sf-cream); letter-spacing: 0;
}
.sf-step__body { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.sf-step__name {
	height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	font-family: var(--sf-font-head); font-size: 15px; line-height: 22px; text-decoration: none;
}
.sf-step__price { margin-top: auto; font-size: 15px; font-weight: 600; }
.sf-step__price--out { font-size: 13px; font-weight: 500; color: var(--sf-rose-text); }
.sf-routine__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 76px; padding: 12px 12px 12px 32px;
	border-radius: var(--sf-r-pill); background: var(--sf-espresso); color: var(--sf-cream);
}
.sf-routine__total { font-size: 15px; }
.sf-routine__total strong { margin-left: 10px; font-family: var(--sf-font-head); font-size: 22px; font-weight: 400; }
.sf-routine__add { position: relative; min-height: 52px; padding: 0 26px; font-size: 15px; font-weight: 600; }
.sf-routine-page { padding-top: 8px; }
/* The routine box sits close to the footer here, so the page doesn't end on a band of empty cream. */
.sf-page:has(.sf-routine-page) .sf-footer__desktop { margin-top: 32px; }
.sf-page:has(.sf-routine-page) .sf-footer__mobile { margin-top: 16px; }

/* Shop, product, bag and routine: tablet ------------------------------------ */
@media (max-width: 1100px) {
	.sf-shop { grid-template-columns: 220px minmax(0, 1fr); }
	.sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sf-product__hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sf-gallery { grid-template-columns: minmax(0, 1fr); }
	.sf-gallery__thumbs { flex-direction: row; order: 2; }
	.sf-gallery__thumb { width: 72px; height: 88px; }
	.sf-gallery__slides { grid-column: 1; }
	.sf-summary { padding-left: 8px; }
	.sf-complete { grid-template-columns: minmax(0, 1fr); }
	.sf-routine { grid-template-columns: minmax(0, 1fr); }
	.sf-routine__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sf-routine__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Shop, product, bag and routine: phones ------------------------------------ */
@media (max-width: 767.98px) {
	.sf-shop { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 0; background: transparent; border-radius: 0; }
	.sf-shop .sf-pcard { background: var(--sf-white); }

	.sf-rail { position: static; padding: 0; background: transparent; gap: 18px; }
	.sf-rail__title { padding: 0; font-size: 30px; letter-spacing: -0.01em; }
	.sf-rail__title em { font-style: italic; color: var(--sf-brown); }
	.sf-rail__list {
		flex-direction: row; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin: 0 calc(var(--sf-gutter) * -1); padding: 0 var(--sf-gutter);
	}
	.sf-rail__list::-webkit-scrollbar { display: none; }
	.sf-rail__list li { scroll-snap-align: start; }
	.sf-rail__tab { width: auto; min-width: 68px; height: auto; padding: 0; flex-direction: column; align-items: center; gap: 6px; border-radius: 0; font-size: 12px; background: transparent; }
	.sf-rail__tab:hover, .sf-rail__tab[aria-current="page"] { background: transparent; color: var(--sf-espresso); }
	/* Rounded squares, not circles: round ringed bubbles are the home page's stories. */
	.sf-rail__thumb { width: 64px; height: 64px; flex-shrink: 0; border: 2px solid transparent; border-radius: 20px; }
	.sf-rail__thumb img { border-radius: 18px; }
	.sf-rail__emoji { font-size: 30px; }
	.sf-rail__tab[aria-current="page"] .sf-rail__thumb { border-color: var(--sf-espresso); box-shadow: inset 0 0 0 2px var(--sf-cream); }
	.sf-rail__tab[aria-current="page"] .sf-rail__label { font-weight: 600; }
	.sf-rail__label { white-space: nowrap; }
	.sf-rail__count, .sf-rail__promo { display: none; }

	.sf-shop__main { padding: 0; gap: 14px; }
	.sf-shop__head { order: 2; gap: 0; font-size: 13px; color: var(--sf-muted); }
	.sf-shop__title { font-family: var(--sf-font-body); font-size: 13px; letter-spacing: 0; }
	.sf-shop__title::after { content: '\00a0·\00a0'; }
	.sf-shop__count { font-size: 13px; }
	.sf-chips {
		order: 1; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
		margin: 0 calc(var(--sf-gutter) * -1); padding: 0 var(--sf-gutter);
	}
	.sf-chips::-webkit-scrollbar { display: none; }
	.sf-shop__main > .woocommerce-notices-wrapper, .sf-grid, .sf-empty--shop, .woocommerce-pagination { order: 3; }

	.sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	/* Same height for every card from fixed-size parts (photo, one-line brand, two-line name,
	   price row), so nothing is cut off whatever the phone's font rendering. */
	.sf-pcard, .sf-grid--related .sf-pcard, .sf-carousel .sf-pcard { height: auto; border-radius: 22px; }
	.sf-pcard__media, .sf-grid--related .sf-pcard__media { height: 200px; }
	.sf-pcard__badge { top: 8px; left: 8px; height: 24px; padding: 0 8px; gap: 4px; font-size: 9px; }
	.sf-pcard__badge-long { display: none; }
	.sf-pcard__badge-short { display: inline; }
	.sf-pcard__badge--out { left: auto; right: 8px; }
	.sf-pcard__body { gap: 4px; padding: 10px 12px 12px; }
	.sf-pcard__brand { font-size: 10px; letter-spacing: 0.12em; }
	.sf-pcard__name { height: 40px; font-size: 14px; line-height: 20px; }
	.sf-pcard__price { font-size: 14px; white-space: nowrap; }
	.sf-pcard__foot { flex-shrink: 0; height: var(--sf-tap); }
	.sf-empty--shop { min-height: 0; padding: 40px 24px; border-radius: 24px; background: var(--sf-white); }
	.sf-empty__title { font-size: 19px; }

	/* Product */
	.sf-has-buybar .sf-page { padding-bottom: calc(var(--sf-tabbar-h) + 12px + var(--sf-safe-bottom) + 24px); }
	.sf-crumbs { margin: 0 0 8px; }
	.sf-crumbs__list { display: none; }
	.sf-crumbs__back { display: inline-flex; align-items: center; gap: 4px; min-height: var(--sf-tap); font-size: 14px; font-weight: 500; text-decoration: none; }
	.sf-product__hero { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
	.sf-gallery { display: block; margin: 0 calc(var(--sf-gutter) * -1); }
	.sf-gallery__thumbs { display: none; }
	.sf-gallery__slides { gap: 10px; padding: 0 var(--sf-gutter); scroll-padding: 0 var(--sf-gutter); aspect-ratio: auto; border-radius: 0; background: transparent; }
	.sf-gallery__slide { flex: 0 0 85%; aspect-ratio: 330 / 420; border-radius: 30px; overflow: hidden; background: var(--sf-skin-3); }
	.sf-gallery__slide:only-child { flex-basis: 100%; }
	.sf-gallery__count { display: flex; }
	.sf-summary { gap: 12px; padding: 0; }
	.sf-summary__title { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
	.sf-summary__amount { font-size: 20px; }
	.sf-summary__size { font-size: 13px; }
	.sf-summary__line { font-size: 15px; line-height: 1.6; }
	.sf-summary__tags li { height: 32px; padding: 0 12px; font-size: 12px; }
	/* The floating bar does the adding; keep option pickers in the page. */
	.sf-summary__buy form.cart:not(.variations_form), .sf-summary__buy .woocommerce-variation-add-to-cart { display: none; }
	.sf-reassure { grid-template-columns: minmax(0, 1fr); }
	.sf-accordion__head { min-height: 56px; }

	.sf-buybar {
		position: fixed; z-index: 50; left: 14px; right: 14px; bottom: calc(12px + var(--sf-safe-bottom));
		display: flex; align-items: center; gap: 8px;
		height: var(--sf-tabbar-h); padding: 0 10px;
		border: 1px solid var(--sf-white-edge); border-radius: 28px; box-shadow: var(--sf-glass-bar-shadow);
	}
	.sf-buybar .sf-qty { height: 52px; padding: 0; border: 0; }
	.sf-buybar .sf-qty__value { width: 20px; font-size: 15px; }
	.sf-buybar__add { flex-grow: 1; min-height: 52px; }

	.sf-complete { margin-top: 48px; gap: 18px; padding: 20px; border-radius: 26px; }
	.sf-complete__title { font-size: 21px; }
	.sf-complete__items { justify-content: flex-start; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; }
	.sf-complete__item { width: 120px; flex-shrink: 0; }
	.sf-complete__photo { height: 120px; border-radius: 16px; }
	.sf-complete__plus { width: 28px; height: 28px; margin-top: 46px; }
	.sf-complete__buy { padding: 18px; }
	.sf-complete__now { font-size: 26px; }
	.sf-texture { grid-template-columns: minmax(0, 1fr) !important; }
	.sf-texture__photo { height: 240px; border-radius: 26px; }
	.sf-section-head { flex-direction: column; align-items: flex-start; }
	.sf-section-title { font-size: 24px; }
	.sf-revs, .sf-related { margin-top: 48px; gap: 18px; }
	.sf-revs__avg { font-size: 38px; }
	.sf-revs__list { grid-template-columns: minmax(0, 1fr); }
	.sf-revform { padding: 20px 18px; }

	/* Bag becomes a bottom sheet */
	.sf-bag__panel {
		top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 85vh;
		padding: 12px 20px calc(24px + var(--sf-safe-bottom)); border-radius: 30px 30px 0 0;
		transform: translateY(100%); opacity: 1;
	}
	.admin-bar .sf-bag__panel { top: auto; }
	.sf-bag__grip { display: block; align-self: center; width: 40px; height: 5px; margin-bottom: 10px; border-radius: var(--sf-r-pill); background: var(--sf-line-strong); }
	.sf-bag__body { gap: 14px; }
	.sf-bag__title { font-size: 24px; }
	.sf-bag__items { max-height: 38vh; gap: 8px; }
	.sf-bag__item { gap: 12px; padding: 8px; border-radius: 18px; }
	.sf-bag__thumb { width: 52px; height: 52px; border-radius: 12px; }
	.sf-bag__name { font-size: 14px; line-height: 20px; }
	.sf-bag__note { font-size: 12px; }
	.sf-bag__checkout { min-height: 54px; }

	.sf-toast { left: 16px; right: 16px; bottom: calc(24px + var(--sf-safe-bottom)); max-width: none; transform: none; padding-left: 16px; animation-name: sfToastUp; }
	.sf-has-tabbar .sf-toast, .sf-has-buybar .sf-toast { bottom: calc(var(--sf-tabbar-h) + 22px + var(--sf-safe-bottom)); }
	.sf-toast__text { font-size: 13px; }

	/* Routine */
	.sf-routine { gap: 24px; padding: 24px 16px; border-radius: 30px; }
	.sf-routine__title { font-size: 27px; }
	.sf-routine__options { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sf-routine__option { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 8px 10px 12px; border-radius: 20px; }
	.sf-routine__swatch { width: 100%; height: 56px; border-radius: 14px; }
	.sf-routine__option-label { font-size: 13px; line-height: 1.25; }
	.sf-routine__option-sub { display: none; }
	.sf-routine__steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.sf-step { height: auto; flex-direction: row; border-radius: 22px; }
	.sf-step__media { width: 108px; height: auto; min-height: 120px; }
	.sf-step__tag { top: 6px; left: 6px; padding: 0 4px; height: 30px; }
	.sf-step__tag { font-size: 0; gap: 0; }
	.sf-step__n { font-size: 12px; width: 22px; }
	.sf-step__body { padding: 12px 14px; }
	/* mockups/mobile-app.html: small "Routine total" over the amount, button beside them. */
	.sf-routine__bar { flex-wrap: nowrap; gap: 12px; min-height: 0; padding: 16px 16px 16px 20px; border-radius: 24px; }
	.sf-routine__total { display: flex; flex-direction: column; min-width: 0; font-size: 12px; color: var(--sf-on-dark); }
	.sf-routine__total strong { margin-left: 0; font-size: 20px; line-height: 1.3; color: var(--sf-cream); }
	.sf-routine__add { flex-shrink: 0; min-height: 48px; padding: 0 18px; font-size: 14px; }
	.sf-routine { padding-bottom: 16px; }
	.sf-routine__consult { justify-self: center; margin-top: -10px; }
}
@keyframes sfToastUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 16. Checkout ----------------------------------------------------------------- */
.sf-checkout-view .sf-page { padding-bottom: 32px; }
.sf-co { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 24px; align-items: start; }
.sf-co__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sf-co__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 8px 8px; }
.sf-co__title { font-size: 44px; letter-spacing: -0.02em; }
.sf-co__title em, .sf-placed__title em { color: var(--sf-brown); }
.sf-co__back { display: inline-flex; align-items: center; min-height: var(--sf-tap); font-size: 14px; font-weight: 500; }
.sf-co__progress { display: none; }

.sf-co__step { display: flex; flex-direction: column; gap: 20px; padding: 36px; border-radius: 32px; background: var(--sf-white); }
.sf-co__step[hidden] { display: none; }
.sf-co__step-title { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.sf-co__step-title:focus { outline: none; }
.sf-co__num {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 32px; height: 32px; border-radius: var(--sf-r-pill);
	background: var(--sf-espresso); color: var(--sf-cream);
	font-family: var(--sf-font-body); font-size: 14px; font-weight: 600;
}

/* WooCommerce form rows */
.sf-co__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf-co .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.sf-co .form-row-wide { grid-column: 1 / -1; }
.sf-co .form-row label { font-size: 13px; font-weight: 500; line-height: 1.4; }
.sf-co .form-row label .required { color: var(--sf-rose-text); text-decoration: none; border: 0; }
.sf-co .form-row label .optional { font-weight: 400; color: var(--sf-muted); }
.sf-co .woocommerce-input-wrapper { display: block; }
.sf-co .input-text, .sf-co select, .sf-co textarea {
	width: 100%; min-height: 50px; padding: 0 16px;
	border: 1px solid var(--sf-line-strong); border-radius: var(--sf-r-input);
	background: var(--sf-white); font-size: 15px;
}
.sf-co textarea { min-height: 0; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.sf-co .woocommerce-invalid .input-text, .sf-co .woocommerce-invalid select { border-color: var(--sf-rose-text); }
.sf-co .woocommerce-invalid label { color: var(--sf-rose-text); }
.sf-co .form-row[id="billing_country_field"] { display: none; }
.sf-co__note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--sf-muted); }

/* Radio cards (delivery and payment) */
.sf-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sf-choices > li { display: flex; margin: 0; }
.sf-choice {
	position: relative; display: flex; align-items: flex-start; gap: 14px; width: 100%;
	min-height: 96px; padding: 18px 20px;
	border: 1.5px solid var(--sf-line-soft); border-radius: 22px; background: var(--sf-white);
	cursor: pointer; transition: border-color .2s ease, background-color .2s ease;
}
.sf-choice:hover { border-color: var(--sf-line-strong); }
.sf-choice__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-choice__dot {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 22px; height: 22px; margin-top: 1px;
	border: 2px solid var(--sf-line-strong); border-radius: var(--sf-r-pill);
}
.sf-choice__text { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-choice__top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; }
.sf-choice__price { white-space: nowrap; }
.sf-choice__desc { font-size: 13px; line-height: 1.55; color: var(--sf-muted); }
.sf-choice:has(.sf-choice__input:checked) { border-color: var(--sf-espresso); background: var(--sf-cream); }
.sf-choice:has(.sf-choice__input:checked) .sf-choice__dot { border-color: var(--sf-espresso); }
.sf-choice:has(.sf-choice__input:checked) .sf-choice__dot::after { content: ''; width: 10px; height: 10px; border-radius: var(--sf-r-pill); background: var(--sf-espresso); }
.sf-choice:has(.sf-choice__input:focus-visible) { outline: 2px solid var(--sf-espresso); outline-offset: 3px; }
.sf-choice.is-disabled { opacity: .5; cursor: not-allowed; }
.sf-choice.is-disabled:hover { border-color: var(--sf-line-soft); }
.sf-co .payment_box { display: none !important; }

/* Delivery detail panels */
.sf-co__panel { display: flex; flex-direction: column; gap: 16px; }
.sf-co__panel[hidden] { display: none; }
.sf-co__panel[data-sf-panel="pickup"] { gap: 4px; padding: 18px 20px; border-radius: 20px; background: var(--sf-blush-soft); font-size: 14px; line-height: 1.6; }
.sf-co__panel[data-sf-panel="pickup"] p { margin: 0; }
.sf-co__areas { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.sf-co__areas legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 500; }
.sf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-pill { position: relative; cursor: pointer; }
.sf-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-pill span {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
	border: 1px solid var(--sf-line-chip); border-radius: var(--sf-r-pill); background: var(--sf-white); font-size: 14px;
}
.sf-pill input:checked + span { background: var(--sf-espresso); border-color: var(--sf-espresso); color: var(--sf-cream); }
.sf-pill input:focus-visible + span { outline: 2px solid var(--sf-espresso); outline-offset: 3px; }

/* Gift options */
.sf-gift { border: 1px dashed var(--sf-gold-edge); border-radius: 22px; background: var(--sf-gold-soft); }
.sf-gift.is-open { border-style: solid; }
.sf-gift__toggle { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding: 16px 18px; cursor: pointer; }
.sf-gift__toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-gift__icon { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--sf-r-pill); background: var(--sf-white); color: var(--sf-gold); }
.sf-gift__label { font-size: 15px; font-weight: 600; }
.sf-gift__hint { font-size: 12px; color: var(--sf-muted); }
.sf-gift__toggle:has(input:focus-visible) { outline: 2px solid var(--sf-espresso); outline-offset: 2px; border-radius: 22px; }
.sf-gift.is-open .sf-gift__icon { background: var(--sf-pink); color: var(--sf-espresso); }
.sf-gift__body { display: flex; flex-direction: column; gap: 14px; padding: 0 18px 18px; }
.sf-gift__body[hidden] { display: none; }
.sf-check { display: flex; align-items: center; gap: 10px; min-height: var(--sf-tap); font-size: 14px; cursor: pointer; }
.sf-check input { width: 20px; height: 20px; accent-color: var(--sf-espresso); flex-shrink: 0; }

/* Order summary */
.sf-co__summary {
	position: sticky; top: calc(16px + var(--sf-header-h) + 20px); margin-top: 76px;
	display: flex; flex-direction: column; gap: 18px;
	padding: 32px; border-radius: 32px; background: var(--sf-white);
}
.sf-co__summary-title { font-size: 24px; }
.sf-review { display: flex; flex-direction: column; gap: 16px; }
.sf-review__lines { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; max-height: 360px; overflow-y: auto; }
.sf-review__line { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.sf-review__thumb { position: relative; width: 64px; height: 64px; flex-shrink: 0; border-radius: 16px; background: var(--sf-skin-3); }
.sf-review__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.sf-review__qty {
	position: absolute; top: -6px; right: -6px;
	display: flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: var(--sf-r-pill); background: var(--sf-espresso); color: var(--sf-cream); font-size: 11px; font-weight: 600;
}
.sf-review__name {
	flex-grow: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	font-family: var(--sf-font-head); font-size: 14px; line-height: 20px;
}
.sf-review__price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.sf-review__totals { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-top: 16px; border-top: 1px solid var(--sf-line); font-size: 14px; }
.sf-review__row { display: flex; justify-content: space-between; gap: 12px; }
.sf-review__row dt, .sf-review__row dd { margin: 0; }
.sf-review__row dd { text-align: right; white-space: nowrap; }
.sf-review__row--accent { color: var(--sf-brown); }
.sf-review__row--total { align-items: baseline; padding-top: 10px; border-top: 1px solid var(--sf-line); }
.sf-review__row--total dt { font-size: 16px; font-weight: 600; }
.sf-review__row--total dd { font-family: var(--sf-font-head); font-size: 26px; }
.sf-review__row--total dd small { display: none; }
.sf-co__place { position: relative; min-height: 56px; font-size: 16px; }
.sf-co__place .sf-icon { color: var(--sf-pink); }
.sf-co__policy { margin: 0; font-size: 12px; line-height: 1.6; color: var(--sf-muted); }
.sf-co .blockUI.blockOverlay { border-radius: inherit; background: var(--sf-white) !important; opacity: .6 !important; }
.sf-cobar { display: none; }
.woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; }

/* Confirmation */
.sf-ordercard { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--sf-line); border-radius: 24px; }
.sf-ordercard__title { font-size: 22px; }
.sf-ordercard .sf-review__lines { max-height: none; }
.sf-ordercard .sf-review__name a { text-decoration: none; }
.sf-review__meta { display: block; margin-top: 2px; font-family: var(--sf-font-body); font-size: 12px; color: var(--sf-muted); }
.sf-review__row--muted { color: var(--sf-muted); }
.sf-ordercard__note { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--sf-gold-soft); font-size: 14px; }
.sf-ordercard__details { margin-top: 16px; }
.sf-review__row--total dd .includes_tax { display: none; }
.sf-placed { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 24px; align-items: stretch; }
.sf-placed__main { display: flex; flex-direction: column; gap: 20px; padding: 48px; border-radius: 32px; background: var(--sf-white); }
.sf-placed__spark { color: var(--sf-gold); }
.sf-placed__title { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; }
.sf-placed__lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sf-muted); }
.sf-placed__card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: var(--sf-blush-soft); }
.sf-placed__card p { margin: 0; font-size: 15px; line-height: 1.6; }
.sf-placed__card-title { font-size: 22px; }
.sf-placed__dl { display: grid; gap: 10px; margin: 0; font-size: 14px; }
.sf-placed__dl > div, .sf-placed__details > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
.sf-placed__dl dt, .sf-placed__details dt { color: var(--sf-muted); }
.sf-placed__dl dd, .sf-placed__details dd { margin: 0; overflow-wrap: anywhere; }
.sf-placed__wa { align-self: flex-start; margin-top: 4px; }
.sf-placed__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sf-placed__steps li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 20px; background: var(--sf-cream); font-size: 13px; line-height: 1.5; color: var(--sf-muted); }
.sf-placed__steps strong { font-size: 14px; font-weight: 600; color: var(--sf-espresso); }
.sf-placed__details { display: grid; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid var(--sf-line); font-size: 14px; }
.sf-placed__more { align-self: flex-start; }
.sf-placed__art {
	position: relative; min-height: 420px; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	border-radius: 32px; background: var(--sf-blush);
}
.sf-placed__art-logo { width: 180px; height: auto; aspect-ratio: 205.19 / 400; color: var(--sf-pink); opacity: .9; }
.sf-placed__art-spark { position: absolute; top: 18%; right: 22%; color: var(--sf-gold); }
.sf-placed__art-spark--2 { top: auto; right: auto; bottom: 22%; left: 20%; }

@media (max-width: 1100px) {
	.sf-co, .sf-placed { grid-template-columns: minmax(0, 1fr); }
	.sf-co__summary { position: static; margin-top: 0; }
	.sf-placed__art { display: none; }
}

@media (max-width: 767.98px) {
	.sf-co { gap: 12px; }
	.sf-co__head { margin: 0; }
	.sf-co__title { font-size: 28px; }
	.sf-co__progress { display: flex; flex-direction: column; gap: 8px; }
	.sf-co__progress-text { font-size: 12px; font-weight: 500; color: var(--sf-muted); }
	.sf-co__progress-bar { height: 4px; border-radius: var(--sf-r-pill); background: var(--sf-line); overflow: hidden; }
	.sf-co__progress-bar span { display: block; height: 100%; width: 33%; background: var(--sf-gold); transition: width .3s ease; }
	.sf-co__step, .sf-co__summary { padding: 22px 18px; border-radius: 26px; gap: 16px; }
	.sf-co__step-title { font-size: 21px; }
	.sf-co.is-stepped .sf-co__num { display: none; }
	.sf-co__fields, .sf-choices { grid-template-columns: minmax(0, 1fr); }
	.sf-co .form-row-first, .sf-co .form-row-last { grid-column: 1 / -1; }
	.sf-co .input-text, .sf-co select, .sf-co textarea { font-size: 16px; }
	.sf-choice { min-height: 0; padding: 14px 16px; border-radius: 18px; }
	.sf-co__summary[hidden] { display: none; }
	.sf-co.is-stepped .sf-co__place { display: none; }
	.sf-review__lines { max-height: none; }
	.sf-checkout-view .sf-page { padding-bottom: calc(var(--sf-tabbar-h) + 12px + var(--sf-safe-bottom) + 24px); }
	.sf-cobar {
		position: fixed; z-index: 50; left: 14px; right: 14px; bottom: calc(12px + var(--sf-safe-bottom));
		display: flex; align-items: center; justify-content: space-between; gap: 10px;
		height: var(--sf-tabbar-h); padding: 0 10px 0 20px;
		border: 1px solid var(--sf-white-edge); border-radius: 28px; box-shadow: var(--sf-glass-bar-shadow);
	}
	.sf-cobar__label { display: flex; flex-direction: column; }
	.sf-cobar__small { font-size: 11px; color: var(--sf-muted); }
	.sf-cobar__total { font-size: 15px; font-weight: 600; }
	.sf-cobar__total small { display: none; }
	.sf-cobar__btn { min-height: 52px; }

	.sf-placed__main { padding: 26px 20px; border-radius: 26px; }
	.sf-placed__title { font-size: 30px; }
	.sf-placed__card { padding: 20px; }
	.sf-placed__dl > div, .sf-placed__details > div { grid-template-columns: 120px minmax(0, 1fr); }
	.sf-placed__steps { grid-template-columns: minmax(0, 1fr); }
}

/* 17. Contact (mockups/contact-desktop.html; phones: mobile-app.html start="contact") ----- */
.sf-contact { display: flex; flex-direction: column; gap: 72px; margin-top: 16px; }
.sf-contact__eyebrow { display: flex; align-items: center; gap: 8px; }
.sf-contact__eyebrow .sf-icon { color: var(--sf-gold); }
.sf-contact__h2 { font-size: 28px; line-height: 1.2; }

.sf-contact__hero { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 40px; align-items: stretch; }
.sf-contact__intro { display: flex; flex-direction: column; gap: 22px; padding: 24px 0 0 16px; }
.sf-contact__title { font-size: 60px; line-height: 1.05; letter-spacing: -0.03em; }
.sf-contact__title em { color: var(--sf-brown); }
.sf-contact__lede { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--sf-muted); }
.sf-contact__lede--phone, .sf-contact__quick, .sf-contact__pickup { display: none; }
.sf-contact__channels { display: flex; gap: 12px; margin-top: 8px; }
.sf-contact__channel {
	flex: 1 1 0; min-width: 0; min-height: 132px; padding: 18px; display: flex; flex-direction: column; gap: 6px;
	border-radius: 22px; background: var(--sf-white); color: var(--sf-espresso); text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.sf-contact__channel:hover { color: var(--sf-espresso); transform: translateY(-3px); box-shadow: var(--sf-shadow-lift); }
.sf-contact__channel--wa, .sf-contact__channel--wa:hover { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-contact__kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sf-rose-text); }
.sf-contact__channel--wa .sf-contact__kicker { color: var(--sf-pink); }
.sf-contact__name { font-family: var(--sf-font-head); font-size: 18px; }
.sf-contact__go { margin-top: auto; font-size: 13px; font-weight: 500; }
.sf-contact__note { margin: 0; font-size: 13px; color: var(--sf-muted); }
.sf-contact__photo { position: relative; height: 520px; border-radius: 36px; overflow: hidden; background: var(--sf-pink); }
.sf-contact__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.sf-contact__help { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: start; }
.sf-contact__types { display: flex; flex-direction: column; gap: 16px; }
.sf-contact__types .sf-contact__h2 { margin-left: 8px; }
.sf-contact__typelist { display: flex; flex-direction: column; gap: 10px; }
.sf-contact__type {
	position: relative; display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 16px 18px;
	border: 1.5px solid var(--sf-line-soft); border-radius: 20px; background: var(--sf-white); cursor: pointer;
}
.sf-contact__type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-contact__type:has(input:checked) { border-color: var(--sf-espresso); background: var(--sf-espresso); color: var(--sf-cream); }
.sf-contact__type:has(input:focus-visible) { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }
.sf-contact__type-tone {
	display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0;
	border-radius: 12px; background: var(--sf-blush); font-size: 22px; line-height: 1;
}
.sf-contact__type--order .sf-contact__type-tone { background: var(--sf-skin-3); }
.sf-contact__type--wholesale .sf-contact__type-tone { background: var(--sf-skin-1); }
.sf-contact__type--b2b .sf-contact__type-tone { background: var(--sf-pink-soft); }
.sf-contact__type-text { display: flex; flex-direction: column; gap: 3px; }
.sf-contact__type-title { font-size: 16px; font-weight: 600; }
.sf-contact__type-sub { font-size: 13px; color: var(--sf-muted); }
.sf-contact__type:has(input:checked) .sf-contact__type-sub { color: var(--sf-on-dark); }

.sf-contact__panel { min-height: 640px; padding: 44px; border-radius: 36px; background: var(--sf-white); }
.sf-contact__form { display: flex; flex-direction: column; gap: 22px; }
.sf-contact__form[hidden], .sf-contact__state[hidden], [data-sf-ct-field][hidden], .sf-contact__error[hidden] { display: none; }
.sf-contact__head { display: flex; flex-direction: column; gap: 6px; }
.sf-contact__form-title { font-size: 30px; line-height: 1.2; }
.sf-contact__form-intro { margin: 0; font-size: 14px; line-height: 1.6; color: var(--sf-muted); }
.sf-contact__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.sf-contact__field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sf-contact__field--half { grid-column: span 1; }
.sf-contact__label { padding: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
legend.sf-contact__label { margin-bottom: 8px; }
.sf-contact__req { color: var(--sf-rose-text); }
.sf-contact__input {
	width: 100%; height: 50px; padding: 0 16px;
	border: 1.5px solid var(--sf-line-strong); border-radius: var(--sf-r-input); background: var(--sf-white); font-size: 15px;
}
.sf-contact__input--area { height: auto; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.sf-contact__input:focus { outline: 2px solid var(--sf-pink); outline-offset: 1px; }
.sf-contact__file {
	display: flex; align-items: center; min-height: 72px; padding: 14px 16px;
	border: 1.5px dashed var(--sf-line-strong); border-radius: var(--sf-r-input); background: var(--sf-cream); font-size: 14px;
}
.sf-contact__file input { max-width: 100%; }
.sf-contact__hint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--sf-muted); }
.sf-contact__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-contact__chip { position: relative; display: inline-flex; }
.sf-contact__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-contact__chip span {
	display: inline-flex; align-items: center; min-height: var(--sf-tap); padding: 8px 16px;
	border: 1.5px solid var(--sf-line-chip); border-radius: var(--sf-r-pill); background: var(--sf-cream);
	font-size: 14px; font-weight: 500; line-height: 1.35; cursor: pointer;
}
.sf-contact__chip span:hover { border-color: var(--sf-espresso); }
.sf-contact__chip input:checked + span { background: var(--sf-espresso); border-color: var(--sf-espresso); color: var(--sf-cream); }
.sf-contact__chip input:focus-visible + span { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }
.sf-contact__field.is-invalid .sf-contact__input, .sf-contact__field.is-invalid .sf-contact__chip span, .sf-contact__field.is-invalid .sf-contact__file { border-color: var(--sf-error); }
.sf-contact__field.is-invalid .sf-contact__label { color: var(--sf-error); }
.sf-contact__error { margin: 0; font-size: 13px; color: var(--sf-error); }
.sf-contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-contact__send { align-self: flex-start; min-height: 56px; padding: 0 28px; font-size: 15px; }
.sf-contact__send .sf-icon { color: var(--sf-pink); }
.sf-contact__state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 320px; padding: 0 12px; text-align: center; }
.sf-contact__state .sf-icon { color: var(--sf-gold); }
.sf-contact__state-title { margin: 0; font-family: var(--sf-font-head); font-size: 30px; font-weight: 400; }
.sf-contact__state-title:focus { outline: none; }
p.sf-contact__state-title { font-size: 20px; }
.sf-contact__state-text { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--sf-muted); }

.sf-contact__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf-contact__card { display: flex; flex-direction: column; gap: 18px; padding: 40px; border-radius: 36px; background: var(--sf-blush-soft); }
.sf-contact__card .sf-contact__h2 { font-size: 30px; }
.sf-contact__card-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--sf-muted); }
.sf-contact__card--business { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-contact__card--business .sf-eyebrow { color: var(--sf-pink); }
.sf-contact__card--business .sf-contact__card-text { color: var(--sf-on-dark); }
.sf-contact__steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sf-contact__steps li { display: flex; gap: 14px; font-size: 14px; line-height: 1.55; }
.sf-contact__steps strong { font-weight: 600; }
.sf-contact__step-n { font-family: var(--sf-font-head); font-size: 22px; line-height: 1.1; color: var(--sf-rose-text); }
.sf-contact__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sf-contact__tags li { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--sf-on-dark-line); border-radius: var(--sf-r-pill); font-size: 13px; }

@media (max-width: 1100px) and (min-width: 768px) {
	.sf-contact__hero { grid-template-columns: minmax(0, 1fr) 360px; }
	.sf-contact__help { grid-template-columns: 300px minmax(0, 1fr); }
	.sf-contact__channels { flex-wrap: wrap; }
	.sf-contact__channel { flex-basis: 160px; }
}

@media (max-width: 767.98px) {
	.sf-contact { gap: 16px; margin-top: 0; }
	.sf-contact__hero { display: block; }
	.sf-contact__intro { gap: 16px; padding: 4px 4px 0; }
	.sf-contact__eyebrow { font-size: 11px; }
	.sf-contact__title { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
	.sf-contact__lede { font-size: 14px; line-height: 1.6; }
	.sf-contact__lede--desk, .sf-contact__channels, .sf-contact__note, .sf-contact__photo { display: none; }
	.sf-contact__lede--phone { display: block; margin-top: -8px; }
	.sf-contact__quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 -4px; }
	.sf-contact__quick .sf-btn { min-height: 48px; white-space: normal; text-align: center; }
	.sf-contact__quick-wa { grid-column: 1 / -1; min-height: 54px !important; font-size: 15px; }

	.sf-contact__help { display: flex; flex-direction: column; gap: 16px; }
	.sf-contact__types { gap: 12px; }
	.sf-contact__types .sf-contact__h2 { margin: 8px 4px 0; font-size: 21px; }
	.sf-contact__typelist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.sf-contact__type { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 92px; padding: 12px; border-radius: 18px; }
	.sf-contact__type-tone { width: 32px; height: 32px; border-radius: 9px; font-size: 18px; }
	.sf-contact__type-title { font-size: 14px; line-height: 1.25; }
	.sf-contact__type-sub { font-size: 11px; line-height: 1.35; }
	.sf-contact__panel { min-height: 0; padding: 22px; border-radius: 28px; }
	.sf-contact__form-title { font-size: 24px; }
	.sf-contact__fields { display: flex; flex-direction: column; gap: 16px; }
	.sf-contact__input { font-size: 16px; }
	.sf-contact__chip span { font-size: 13px; }
	.sf-contact__send { align-self: stretch; }
	.sf-contact__state-title { font-size: 24px; }
	.sf-contact__pickup { display: block; margin: 0; padding: 0 4px; font-size: 12px; line-height: 1.5; color: var(--sf-muted); }

	.sf-contact__more { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
	.sf-contact__card { padding: 24px; border-radius: 28px; }
	.sf-contact__card .sf-contact__h2 { font-size: 22px; }
}

/* 18. Home ------------------------------------------------------------------- */
.sf-home { display: flex; flex-direction: column; gap: 72px; }
.sf-home__phone, .sf-stories { display: none; }

/* Bento hero */
.sf-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 340px 280px; gap: 16px; }
.sf-ads { position: relative; grid-column: span 8; grid-row: span 2; border-radius: 36px; overflow: hidden; }
.sf-ad { position: absolute; inset: 0; }
.sf-ad[hidden] { display: none; }
.sf-ad__media, .sf-ad__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-ad__img { object-fit: cover; }
.sf-ad__card {
	position: absolute; left: 28px; bottom: 28px; z-index: 2; width: 440px; max-width: calc(100% - 56px);
	display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 28px;
}
.sf-ad__eyebrow {
	display: flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sf-brown);
}
.sf-ad__eyebrow .sf-icon { color: var(--sf-gold); }
.sf-ad__title { font-size: 42px; line-height: 1.1; letter-spacing: -0.02em; }
.sf-ad__title em { color: var(--sf-brown); }
.sf-ad__body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sf-muted); }
.sf-ad__cta { align-self: flex-start; min-height: 50px; padding: 0 26px; }

.sf-ads__bars { position: absolute; top: 10px; left: 32px; right: 32px; z-index: 3; display: flex; gap: 8px; }
.sf-ads__bar { flex: 1 1 0; display: flex; align-items: center; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.sf-ads__track { display: block; width: 100%; height: 4px; border-radius: var(--sf-r-pill); background: var(--sf-on-photo-track); overflow: hidden; }
.sf-ads__fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--sf-espresso); }
.sf-ads__bar.is-done .sf-ads__fill { width: 100%; }
.sf-ads__bar.is-running .sf-ads__fill { animation: sfFill 6s linear forwards; }
.sf-ads:hover .sf-ads__fill, .sf-ads:focus-within .sf-ads__fill { animation-play-state: paused; }
.sf-ads__bar:focus-visible { outline: 2px solid var(--sf-espresso); outline-offset: 2px; border-radius: 8px; }
.sf-ads__arrows { position: absolute; right: 28px; bottom: 28px; z-index: 3; display: flex; gap: 8px; }
.sf-ads__next { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-ads__next:hover { background: var(--sf-brown); }
.sf-ads__tap { display: none; }
@keyframes sfFill { from { width: 0%; } to { width: 100%; } }

.sf-tile {
	position: relative; display: block; overflow: hidden; border-radius: 36px;
	text-decoration: none; color: var(--sf-espresso);
	transition: transform .3s ease, box-shadow .3s ease;
}
.sf-tile:hover { color: var(--sf-espresso); transform: translateY(-4px); box-shadow: var(--sf-shadow-lift); }
.sf-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-tile--texture { grid-column: span 4; }
.sf-tile--drop, .sf-tile--pay { grid-column: span 2; }
.sf-tile__pill {
	position: absolute; left: 20px; right: 20px; bottom: 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	height: 60px; padding: 0 8px 0 22px; border-radius: var(--sf-r-pill);
}
.sf-tile__text { display: flex; flex-direction: column; min-width: 0; }
.sf-tile__eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sf-brown); }
.sf-tile__title { font-family: var(--sf-font-head); font-size: 16px; }
.sf-tile__go {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 44px; height: 44px; border-radius: var(--sf-r-pill); background: var(--sf-espresso); color: var(--sf-cream);
}
.sf-tile__note {
	position: absolute; left: 14px; right: 14px; bottom: 14px;
	display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 22px;
	background: var(--sf-pink-glass); border: 1px solid var(--sf-white-wash);
	-webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.sf-tile__drop-title { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.sf-tile__drop-line { font-size: 13px; line-height: 1.4; }
.sf-tile--pay { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--sf-blush); }
.sf-tile--pay .sf-icon { color: var(--sf-rose-text); }
.sf-tile__pay-title { font-family: var(--sf-font-head); font-size: 20px; line-height: 1.3; }
.sf-tile__pay-lines { display: flex; flex-direction: column; font-size: 13px; line-height: 1.8; color: var(--sf-muted); }
.sf-tile__pay-note { margin-top: auto; font-size: 12px; line-height: 1.45; color: var(--sf-muted); }

/* Made by Skin Fairy */
.sf-made { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(300px, auto) 300px; gap: 16px; }
.sf-made__hero { position: relative; grid-column: span 7; grid-row: span 2; border-radius: 36px; overflow: hidden; }
.sf-made__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-made__card { grid-column: span 5; display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 36px; background: var(--sf-white); }
.sf-made__eyebrow {
	display: flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sf-rose-text);
}
.sf-made__eyebrow .sf-icon { color: var(--sf-gold); }
.sf-made__title { font-size: 34px; line-height: 1.2; letter-spacing: -0.01em; }
.sf-made__body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sf-muted); }
.sf-made__cta { margin-top: auto; align-self: flex-start; min-height: 50px; padding: 0 26px; }
.sf-made__pair { grid-column: span 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf-made__small { position: relative; border-radius: 36px; overflow: hidden; }

/* Consultation teaser */
.sf-consult-teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf-consult-teaser__photo { position: relative; min-height: 640px; border-radius: var(--sf-r-section); overflow: hidden; }
.sf-consult-teaser__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-consult-teaser__glass {
	position: absolute; left: 24px; right: 24px; bottom: 24px;
	display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: 28px;
}
.sf-consult-teaser__title { font-size: 34px; line-height: 1.15; letter-spacing: -0.01em; }
.sf-consult-teaser__body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sf-muted); }
.sf-consult-teaser__quote { margin: 4px 0 0; font-family: var(--sf-font-head); font-size: 15px; font-style: italic; }
.sf-consult-teaser__quote span { font-family: var(--sf-font-body); font-style: normal; font-size: 12px; color: var(--sf-muted); }
.sf-consult-teaser__small { margin: 0; font-size: 11px; line-height: 1.55; color: var(--sf-muted); }
.sf-consult-teaser__card {
	display: flex; flex-direction: column; gap: 22px; min-height: 640px; padding: 48px;
	border-radius: var(--sf-r-section); background: var(--sf-white);
}
.sf-consult-teaser__badge {
	align-self: flex-start; display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
	border-radius: var(--sf-r-pill); background: var(--sf-blush); font-size: 12px; font-weight: 600;
}
.sf-consult-teaser__heading { font-size: 30px; line-height: 1.2; }
.sf-consult-teaser__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--sf-muted); }
.sf-consult-teaser__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sf-consult-teaser__list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.sf-consult-teaser__list .sf-icon { margin-top: 3px; color: var(--sf-gold); }
.sf-consult-teaser__cta { margin-top: auto; min-height: 56px; font-size: 16px; }

/* Instagram strip */
.sf-ig { display: flex; flex-direction: column; gap: 24px; }
.sf-ig__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sf-ig__title { font-size: 34px; letter-spacing: -0.01em; }
.sf-ig__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sf-ig__tile {
	display: block; height: 214px; border-radius: 24px; overflow: hidden; background: var(--sf-skin-3);
	transition: transform .3s ease, box-shadow .3s ease;
}
.sf-ig__tile:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow-lift); }
.sf-ig__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Phone carousels */
.sf-carousel { flex-direction: column; gap: 14px; }
.sf-carousel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sf-carousel__title { font-size: 24px; }
.sf-carousel__more { display: inline-flex; align-items: center; min-height: var(--sf-tap); font-size: 14px; font-weight: 500; text-decoration: none; }
.sf-carousel__track {
	display: flex; gap: 12px; margin: 0 calc(-1 * var(--sf-gutter)); padding: 0 var(--sf-gutter) 4px; list-style: none;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--sf-gutter); scrollbar-width: none;
}
.sf-carousel__track::-webkit-scrollbar { display: none; }
.sf-carousel__item { flex: 0 0 168px; scroll-snap-align: start; }
.sf-carousel--bundles .sf-carousel__item { flex-basis: 280px; }
.sf-pcard--row { flex-direction: row; }
.sf-carousel .sf-pcard--row { height: 132px; }
.sf-pcard--row .sf-pcard__media { width: 112px; height: auto; }
.sf-pcard--row .sf-pcard__body { min-width: 0; padding: 12px 12px 12px 14px; }

/* Stories row and viewer (phones) */
.sf-stories__row {
	display: flex; gap: 14px; margin: 0 calc(-1 * var(--sf-gutter)); padding: 0 var(--sf-gutter); list-style: none;
	overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.sf-stories__row::-webkit-scrollbar { display: none; }
.sf-story-bubble {
	display: flex; flex-direction: column; align-items: center; gap: 6px; width: 68px;
	padding: 0; border: 0; background: transparent; cursor: pointer;
}
.sf-story-bubble__ring {
	display: block; width: 68px; height: 68px; padding: 3px;
	border: 2.5px solid var(--sf-story-ring); border-radius: var(--sf-r-pill);
}
.sf-story-bubble__img { display: block; width: 100%; height: 100%; border-radius: var(--sf-r-pill); overflow: hidden; }
.sf-story-bubble__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-story-bubble__label { font-size: 11px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.sf-story-bubble.is-seen .sf-story-bubble__ring { border-color: var(--sf-line-strong); }
.sf-story-bubble.is-seen .sf-story-bubble__label { font-weight: 400; }
.sf-story-bubble:focus-visible { outline: none; }
.sf-story-bubble:focus-visible .sf-story-bubble__ring { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }

.sf-story-open, .sf-story-open body { overflow: hidden; }
.sf-story { position: fixed; inset: 0; z-index: 200; background: var(--sf-espresso); color: var(--sf-cream); }
.sf-story[hidden] { display: none; }
.sf-story__media, .sf-story__img, .sf-story__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-story__img, .sf-story__video { object-fit: cover; }
/* New in / Fairy faves: the whole product photo; home.js fills the screen around it with the photo's edge colours, as Instagram does. */
.sf-story--product .sf-story__img {
	top: calc(70px + var(--sf-safe-top)); bottom: auto; left: 0; width: 100%; height: 64%;
	object-fit: contain;
	-webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
}
.sf-story--product .sf-story__media { overflow: hidden; }
/* Finished graphics (e.g. made in Canva): never cropped. Sits at the bottom so the top bar stays clear of its title; home.js fills the space above with its top edge colour. */
.sf-story--whole .sf-story__img {
	top: auto; bottom: 0; height: auto; max-height: 100%; object-fit: contain;
	-webkit-mask-image: linear-gradient(transparent, #000 9%);
	mask-image: linear-gradient(transparent, #000 9%);
}
.sf-story--product .sf-story__media::after {
	content: ""; position: absolute; inset: 0 0 auto; height: 140px;
	background: linear-gradient(var(--sf-scrim), transparent);
}
.sf-story__tap { position: absolute; top: 110px; bottom: 0; z-index: 1; padding: 0; border: 0; background: transparent; cursor: pointer; }
.sf-story__tap--prev { left: 0; width: 35%; }
.sf-story__tap--next { right: 0; width: 65%; }
.sf-story__tap:focus-visible { outline: 2px solid var(--sf-cream); outline-offset: -6px; }
.sf-story__top {
	position: absolute; top: calc(12px + var(--sf-safe-top)); left: 12px; right: 12px; z-index: 2;
	display: flex; flex-direction: column; gap: 10px;
}
.sf-story__bars { display: flex; gap: 4px; }
.sf-story__bar { flex: 1 1 0; height: 3px; border-radius: var(--sf-r-pill); background: var(--sf-on-photo-track); overflow: hidden; }
.sf-story__fill { display: block; width: 0; height: 100%; background: var(--sf-cream); }
.sf-story__bar.is-done .sf-story__fill { width: 100%; }
.sf-story__bar.is-running .sf-story__fill { animation: sfFill 5s linear forwards; }
.sf-story__head { display: flex; align-items: center; justify-content: space-between; }
.sf-story__btns { display: flex; align-items: center; gap: 8px; }
.sf-story__sound[hidden] { display: none; }
.sf-story__sound .sf-icon--sound, .sf-story__sound[aria-pressed="true"] .sf-icon--mute { display: none; }
.sf-story__sound[aria-pressed="true"] .sf-icon--sound { display: block; }
.sf-story__who { display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 8px var(--sf-scrim); }
.sf-story__avatar {
	display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
	border: 2px solid var(--sf-cream); border-radius: var(--sf-r-pill); background: var(--sf-pink); color: var(--sf-espresso);
}
.sf-story__title { font-size: 14px; font-weight: 600; }
.sf-story__card {
	position: absolute; left: 14px; right: 14px; bottom: calc(40px + var(--sf-safe-bottom)); z-index: 2;
	display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 26px; color: var(--sf-espresso);
}
.sf-story__card[hidden] { display: none; }
.sf-story__eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sf-brown); }
.sf-story__caption { margin: 0; font-family: var(--sf-font-head); font-size: 22px; line-height: 1.3; }
.sf-story__product { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px; border-radius: 18px; background: var(--sf-white); }
.sf-story__product[hidden] { display: none; }
.sf-story__product-img { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
.sf-story__product-text { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.sf-story__product-name { font-family: var(--sf-font-head); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-story__product-price { font-size: 13px; font-weight: 600; }
.sf-story__product .sf-add { flex-shrink: 0; background: var(--sf-pink); }
.sf-story__cta { align-self: flex-start; margin-top: 6px; }
.sf-story__cta[hidden] { display: none; }

@media (min-width: 768px) {
	.sf-story { inset: 24px auto; left: 50%; width: 420px; transform: translateX(-50%); border-radius: 30px; overflow: hidden; box-shadow: var(--sf-shadow-drawer); }
}

@media (max-width: 1100px) {
	.sf-hero { grid-template-rows: 300px 260px; }
	.sf-ad__title { font-size: 34px; }
	.sf-tile--drop, .sf-tile--pay { grid-column: span 2; }
	.sf-tile--pay { padding: 18px; }
	.sf-made__title { font-size: 28px; }
	.sf-ig__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
	.sf-home { gap: 32px; }
	.sf-home__desktop { display: none; }
	.sf-home__phone { display: flex; }
	.sf-stories { display: block; margin-bottom: -14px; }

	.sf-hero { display: block; }
	/* Grows with the screen so the tall slide image is never cropped behind the card. */
	.sf-ads { height: clamp(480px, 100vw, 780px); border-radius: 30px; }
	.sf-ad__img { object-position: 50% 0; }
	.sf-tile { display: none; }
	.sf-ad__card { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; gap: 6px; padding: 14px 16px 16px; border-radius: 22px; }
	.sf-ad__eyebrow { font-size: 10px; }
	.sf-ad__eyebrow .sf-icon { display: none; }
	.sf-ad__title { font-size: 23px; }
	.sf-ad__body { font-size: 13px; line-height: 1.45; color: var(--sf-espresso); }
	.sf-ad__cta { min-height: 44px; margin-top: 4px; padding: 0 18px; font-size: 14px; }
	.sf-ads__bars { top: 6px; left: 14px; right: 14px; gap: 6px; }
	.sf-ads__bar { height: 28px; }
	.sf-ads__track { height: 3px; }
	.sf-ads__arrows { display: none; }
	.sf-ads__tap { display: block; position: absolute; top: 0; z-index: 1; height: 100%; padding: 0; border: 0; background: transparent; }
	.sf-ads__tap--prev { left: 0; width: 30%; }
	.sf-ads__tap--next { right: 0; width: 70%; }

	.sf-made { display: block; position: relative; height: 420px; border-radius: 30px; overflow: hidden; }
	.sf-made__hero { position: absolute; inset: 0; border-radius: 0; }
	.sf-made__card {
		position: absolute; left: 10px; right: 10px; bottom: 10px; gap: 6px; padding: 14px 16px 16px; border-radius: 22px;
		background: var(--sf-glass-bg); border: var(--sf-glass-edge);
		-webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
	}
	.sf-no-blur .sf-made__card { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--sf-glass-solid); }
	.sf-made__eyebrow { font-size: 10px; color: var(--sf-brown); }
	.sf-made__eyebrow .sf-icon { display: none; }
	.sf-made__title { font-size: 19px; line-height: 1.25; }
	.sf-made__body, .sf-made__pair { display: none; }
	.sf-made__cta { margin-top: 4px; min-height: 44px; padding: 0 18px; font-size: 14px; }
}

/* 19. Consultation ----------------------------------------------------------- */
.sf-consult { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 16px; }
.sf-consult__aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(16px + var(--sf-header-h) + 20px); }
.sf-consult__intro { display: flex; flex-direction: column; gap: 14px; padding: 12px 8px 8px; }
.sf-consult__eyebrow { display: flex; align-items: center; gap: 8px; }
.sf-consult__eyebrow .sf-icon { color: var(--sf-gold); }
.sf-consult__title { font-size: 40px; line-height: 1.12; letter-spacing: -0.02em; }
.sf-consult__lede { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sf-muted); }
.sf-consult__lede--phone, .sf-consult__small--phone { display: none; }

.sf-consult__nav { padding: 18px; border-radius: 28px; background: var(--sf-white); }
.sf-consult__navlist { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sf-consult__navbtn {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: var(--sf-tap); padding: 0 8px;
	border: 0; border-radius: 14px; background: transparent; font-size: 14px; text-align: left; cursor: pointer;
}
.sf-consult__navbtn:hover:not(:disabled) { background: var(--sf-blush-soft); }
.sf-consult__navbtn:disabled { color: var(--sf-muted); opacity: .75; cursor: default; }
.sf-consult__navbtn[aria-current="step"] { font-weight: 600; }
.sf-consult__dot {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 26px; height: 26px;
	border: 1.5px solid var(--sf-espresso); border-radius: var(--sf-r-pill); background: var(--sf-white);
	font-size: 12px; font-weight: 600;
}
.sf-consult__dot .sf-icon { display: none; }
.sf-consult__navbtn[aria-current="step"] .sf-consult__dot { background: var(--sf-pink); }
.sf-consult__navbtn.is-done .sf-consult__dot { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-consult__navbtn.is-done .sf-consult__dot .sf-icon { display: block; }
.sf-consult__navbtn.is-done .sf-consult__dot-n { display: none; }

.sf-consult__get { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 28px; background: var(--sf-blush-soft); }
.sf-consult__get-title { font-family: var(--sf-font-head); font-size: 18px; }
.sf-consult__get-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sf-consult__get-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.sf-consult__get-list .sf-icon { margin-top: 3px; color: var(--sf-gold); }
.sf-consult__small { margin: 6px 0 0; font-size: 12px; line-height: 1.55; color: var(--sf-muted); }

.sf-consult__card { min-height: 900px; padding: 48px 56px; border-radius: var(--sf-r-section); background: var(--sf-white); }
.sf-consult__form { display: flex; flex-direction: column; gap: 22px; }
.sf-consult__form[hidden] { display: none; }
.sf-consult__progress { display: flex; flex-direction: column; gap: 10px; }
.sf-consult__progress[hidden] { display: none; }
.sf-consult__count { font-size: 12px; font-weight: 500; color: var(--sf-muted); }
.sf-consult__bars { display: flex; gap: 4px; }
.sf-consult__bar { flex: 1 1 0; height: 4px; border-radius: var(--sf-r-pill); background: var(--sf-line); }
.sf-consult__bar.is-on { background: var(--sf-pink); }

.sf-consult__step { display: flex; flex-direction: column; gap: 22px; }
.sf-consult__step[hidden] { display: none; }
.sf-consult__head { display: flex; flex-direction: column; gap: 6px; }
.sf-consult__step-title { font-size: 30px; line-height: 1.2; }
.sf-consult__step-title:focus { outline: none; }
.sf-consult__step-sub { margin: 0; font-size: 14px; color: var(--sf-muted); }
.sf-consult__note { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--sf-blush-soft); font-size: 13px; line-height: 1.55; }
.sf-consult__note[hidden] { display: none; }

.sf-consult__field { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sf-consult__step > .sf-consult__field { padding-top: 18px; border-top: 1px solid var(--sf-line); }
.sf-consult__field[hidden], .sf-consult__which[hidden], .sf-consult__bar[hidden] { display: none; }
.sf-consult__label { display: block; padding: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
legend.sf-consult__label { margin-bottom: 12px; }
.sf-consult__req { color: var(--sf-rose-text); }
.sf-consult__opt { font-size: 13px; font-weight: 400; color: var(--sf-muted); }
.sf-consult__hint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--sf-muted); }
.sf-consult__hint[hidden] { display: none; }

.sf-consult__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-consult__chip { position: relative; display: inline-flex; }
.sf-consult__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-consult__chip span {
	display: inline-flex; align-items: center; min-height: var(--sf-tap); padding: 8px 16px;
	border: 1px solid var(--sf-line-chip); border-radius: var(--sf-r-pill); background: var(--sf-white);
	font-size: 14px; line-height: 1.35; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.sf-consult__chip span:hover { border-color: var(--sf-espresso); }
.sf-consult__chip input:checked + span { background: var(--sf-espresso); border-color: var(--sf-espresso); color: var(--sf-cream); }
.sf-consult__chip input:focus-visible + span { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }
.sf-consult__field.is-invalid .sf-consult__chip span { border-color: var(--sf-error); }

/* Chips with an ⓘ explanation */
.sf-consult__chipwrap { display: inline-flex; align-items: center; }
.sf-consult__info {
	display: flex; align-items: center; justify-content: center; width: 40px; height: var(--sf-tap);
	margin-left: -2px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.sf-consult__info span {
	display: flex; align-items: center; justify-content: center; width: 22px; height: 22px;
	border: 1.5px solid var(--sf-espresso); border-radius: var(--sf-r-pill); background: var(--sf-white);
	font-family: Georgia, serif; font-size: 13px; font-style: italic; font-weight: 700; line-height: 1;
}
.sf-consult__info[aria-expanded="true"] span { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-consult__info:focus-visible { outline: none; }
.sf-consult__info:focus-visible span { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }
.sf-consult__infopanel {
	display: flex; align-items: flex-start; gap: 10px; padding: 12px 8px 12px 16px;
	border-radius: 14px; background: var(--sf-espresso); color: var(--sf-cream);
}
.sf-consult__infopanel[hidden] { display: none; }
.sf-consult__infotext { flex-grow: 1; font-size: 13px; line-height: 1.55; }
.sf-consult__infotext strong { font-weight: 600; color: var(--sf-pink); }
.sf-consult__infoclose {
	flex-shrink: 0; width: var(--sf-tap); height: var(--sf-tap); margin: -10px -4px -10px 0; padding: 0;
	border: 0; background: transparent; color: var(--sf-cream); font-size: 20px; line-height: 1; cursor: pointer;
}

/* "What's in your routine" cards: Yes / No / Not sure, then "Which ones?" on Yes */
.sf-consult__field--card {
	gap: 12px; padding: 16px; border: 1.5px solid var(--sf-line-chip); border-radius: 18px; background: var(--sf-cream);
}
.sf-consult__step > .sf-consult__field--card { padding-top: 16px; border-top: 1.5px solid var(--sf-line-chip); }
.sf-consult__field--card:has(.sf-consult__segs input:checked) { border-color: var(--sf-espresso); }
.sf-consult__field--card:has(.sf-consult__segs input[value="Yes"]:checked) { background: var(--sf-blush-soft); }
.sf-consult__field--card.is-invalid { border-color: var(--sf-error); }
.sf-consult__family, .sf-consult__which { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sf-consult__family-head { display: flex; flex-direction: column; gap: 4px; padding: 0; margin-bottom: 12px; }
.sf-consult__family-title { font-size: 16px; font-weight: 600; }
.sf-consult__family-ex { font-size: 13px; line-height: 1.5; color: var(--sf-muted); }
.sf-consult__segs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sf-consult__seg { position: relative; display: flex; }
.sf-consult__seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-consult__seg span {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--sf-tap);
	border: 1.5px solid var(--sf-line-chip); border-radius: 12px; background: var(--sf-white);
	font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.sf-consult__seg span:hover { border-color: var(--sf-espresso); }
.sf-consult__seg input:checked + span { background: var(--sf-espresso); border-color: var(--sf-espresso); color: var(--sf-cream); }
.sf-consult__seg input:focus-visible + span { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }
.sf-consult__which { gap: 8px; padding-top: 4px; }
.sf-consult__which-label { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.sf-consult__which .sf-consult__chips { gap: 6px; }
.sf-consult__which .sf-consult__chip span { padding: 6px 14px; font-size: 13px; }
.sf-consult__flag strong { font-weight: 600; }

.sf-consult__input {
	width: 100%; height: 50px; padding: 0 16px;
	border: 1px solid var(--sf-line-strong); border-radius: var(--sf-r-input); background: var(--sf-white); font-size: 16px;
}
.sf-consult__input--area { height: auto; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.sf-consult__input:focus { outline: 2px solid var(--sf-pink); outline-offset: 1px; }
.sf-consult__field.is-invalid .sf-consult__input { border-color: var(--sf-error); }
.sf-consult__field.is-invalid .sf-consult__label { color: var(--sf-error); }

.sf-consult__switch { display: flex; align-items: center; gap: 12px; min-height: var(--sf-tap); cursor: pointer; }
.sf-consult__switch input, .sf-consult__consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-consult__switch-ui {
	position: relative; flex-shrink: 0; width: 46px; height: 28px; border-radius: var(--sf-r-pill);
	background: var(--sf-line-strong); transition: background-color .2s ease;
}
.sf-consult__switch-ui::after {
	content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px;
	border-radius: var(--sf-r-pill); background: var(--sf-white); transition: transform .2s ease;
}
.sf-consult__switch input:checked + .sf-consult__switch-ui { background: var(--sf-espresso); }
.sf-consult__switch input:checked + .sf-consult__switch-ui::after { transform: translateX(18px); }
.sf-consult__switch input:focus-visible + .sf-consult__switch-ui { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }
.sf-consult__switch-text { font-size: 14px; font-weight: 500; }

.sf-consult__consent {
	display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
	border: 1px solid var(--sf-line-strong); border-radius: 16px; background: var(--sf-cream);
	font-size: 13px; line-height: 1.55; cursor: pointer;
}
.sf-consult__box {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 22px; height: 22px;
	border: 2px solid var(--sf-line-strong); border-radius: 6px; background: var(--sf-white); color: var(--sf-cream);
}
.sf-consult__box .sf-icon { visibility: hidden; }
.sf-consult__consent input:checked + .sf-consult__box { background: var(--sf-espresso); border-color: var(--sf-espresso); }
.sf-consult__consent input:checked + .sf-consult__box .sf-icon { visibility: visible; }
.sf-consult__consent input:focus-visible + .sf-consult__box { outline: 2px solid var(--sf-espresso); outline-offset: 2px; }
.sf-consult__field.is-invalid .sf-consult__consent { border-color: var(--sf-error); }

.sf-consult__error { margin: 0; font-size: 13px; color: var(--sf-error); }
.sf-consult__error[hidden] { display: none; }
.sf-consult__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.sf-consult__actions .sf-btn { min-height: 52px; padding: 0 26px; font-size: 15px; }
.sf-consult__back { padding: 0 22px; }
.sf-consult__time { font-size: 13px; color: var(--sf-muted); }
.sf-consult__send { flex-grow: 1; }

.sf-consult__summary { display: flex; flex-direction: column; gap: 12px; }
.sf-consult__block { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: 18px; background: var(--sf-cream); }
.sf-consult__block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sf-consult__block-title { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sf-rose-text); }
.sf-consult__edit {
	min-width: var(--sf-tap); height: 36px; padding: 0 12px; border: 0; border-radius: var(--sf-r-pill);
	background: var(--sf-white); font-size: 13px; font-weight: 500; cursor: pointer;
}
.sf-consult__answers { display: grid; gap: 2px 0; margin: 0; font-size: 13px; line-height: 1.5; }
.sf-consult__answers dt { color: var(--sf-muted); }
.sf-consult__answers dd { margin: 0 0 6px; font-weight: 500; }

.sf-consult__state {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
	min-height: 420px; padding: 0 8px; text-align: center;
}
.sf-consult__state[hidden] { display: none; }
.sf-consult__state .sf-icon { color: var(--sf-gold); }
.sf-consult__state-title { margin: 0; font-family: var(--sf-font-head); font-size: 30px; line-height: 1.2; }
.sf-consult__state-title:focus { outline: none; }
.sf-consult__state p.sf-consult__state-title { font-size: 22px; }
.sf-consult__state-text { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.65; color: var(--sf-muted); }
.sf-consult__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1100px) {
	.sf-consult { grid-template-columns: 300px minmax(0, 1fr); }
	.sf-consult__card { padding: 40px; }
	.sf-consult__title { font-size: 32px; }
}

@media (max-width: 767.98px) {
	.sf-consult { display: flex; flex-direction: column; gap: 14px; margin-top: 0; }
	.sf-consult__aside { position: static; }
	.sf-consult__intro { gap: 8px; padding: 4px 4px 2px; }
	.sf-consult__eyebrow { font-size: 11px; }
	.sf-consult__eyebrow .sf-icon { display: none; }
	.sf-consult__title { font-size: 27px; line-height: 1.15; letter-spacing: -0.01em; }
	.sf-consult__lede { font-size: 14px; line-height: 1.55; }
	.sf-consult__lede--desk, .sf-consult__nav, .sf-consult__get { display: none; }
	.sf-consult__lede--phone { display: block; }
	.sf-consult__card { width: 100%; min-height: 0; padding: 22px; border-radius: 28px; }
	.sf-consult__step-title { font-size: 22px; }
	.sf-consult__chip span { font-size: 13px; }
	.sf-consult__actions .sf-btn { padding: 0 22px; }
	.sf-consult__state-title { font-size: 22px; }
	.sf-consult__small--phone { display: block; margin: 0; font-size: 11px; }
}

/* 20. About ------------------------------------------------------------------ */
.sf-about { display: flex; flex-direction: column; gap: 120px; margin-top: 24px; }
.sf-about__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-about__eyebrow { display: flex; align-items: center; gap: 8px; }
.sf-about__eyebrow .sf-icon { color: var(--sf-gold); }
.sf-about__h2 { font-size: 38px; line-height: 1.15; }

.sf-about__hero { display: grid; grid-template-columns: minmax(0, 1fr) 620px; gap: 48px; align-items: center; }
.sf-about__hero-text { display: flex; flex-direction: column; gap: 24px; padding-left: 16px; }
.sf-about__title { font-size: 68px; line-height: 1.05; letter-spacing: -0.03em; }
.sf-about__title em, .sf-about__h2 em { color: var(--sf-brown); }
.sf-about__cta-title em { color: var(--sf-pink); }
.sf-about__lede { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--sf-muted); }
.sf-about__tagline { margin: 8px 0 0; font-family: var(--sf-font-head); font-size: 20px; font-style: italic; }
.sf-about__arch { position: relative; height: 680px; border-radius: 310px 310px 40px 40px; overflow: hidden; }

.sf-about__name { font-size: 26px; }
.sf-about__role { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sf-rose-text); }
.sf-about__bio { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--sf-muted); }

/* The storybook. Resting state is fully readable; about.js adds .is-live to animate. */
.sf-tale { display: flex; flex-direction: column; gap: 48px; }
.sf-tale__head { display: flex; flex-direction: column; gap: 12px; padding: 0 16px; }
.sf-tale__book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 0 16px; }
.sf-tale__stage { position: sticky; top: 120px; align-self: start; height: min(76vh, 660px); }
.sf-tale__frame { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 40px 40px; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.2s ease; }
.sf-tale__frame.is-on { opacity: 1; transform: none; }
.sf-tale__cap { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); padding: 6px 16px; border-radius: var(--sf-r-pill); font-size: 12px; white-space: nowrap; }
.sf-tale__text { position: relative; padding-left: 44px; }
.sf-tale__thread { position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--sf-pink-soft); }
.sf-tale__thread i { position: absolute; inset: 0; background: linear-gradient(var(--sf-gold), var(--sf-pink)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.sf-tale__chapter { position: relative; display: flex; flex-direction: column; min-height: 62vh; padding: 24px 0 64px; }
.sf-tale__chapter:last-child { min-height: 0; padding-bottom: 8px; }
.sf-tale__chapter::before { content: "✦"; position: absolute; left: -44px; top: 22px; width: 22px; text-align: center; font-size: 18px; color: var(--sf-gold); background: var(--sf-cream); transition: color .5s ease, transform .5s ease; }
.is-live .sf-tale__chapter:not(.is-seen)::before { color: var(--sf-pink-soft); }
.is-live .sf-tale__chapter.is-seen::before { transform: scale(1.3) rotate(45deg); }
.sf-tale__mob { display: none; }
.sf-tale__num { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sf-rose-text); }
.sf-tale__title { margin: 8px 0 18px; font-size: 34px; line-height: 1.2; }
.sf-tale__body { display: flex; flex-direction: column; gap: 16px; max-width: 620px; font-size: 18px; line-height: 1.75; color: var(--sf-muted); }
.sf-tale__body p { margin: 0; }
.sf-tale__quote { margin: 8px 0 !important; font-family: var(--sf-font-head); font-size: 32px; font-style: italic; line-height: 1.4; color: var(--sf-espresso); }
.is-live .sf-tale__quote span.sf-tale__word { opacity: .22; transition: opacity .4s ease; }
.is-live .sf-tale__quote span.sf-tale__word.is-lit { opacity: 1; }
.sf-tale__burst { position: relative; display: inline-block; font-family: var(--sf-font-head); font-style: italic; color: var(--sf-rose-text); }
.sf-tale__burst i { position: absolute; left: 50%; top: 50%; font-style: normal; font-size: 14px; color: var(--sf-gold); opacity: 0; pointer-events: none; }
.sf-tale__burst.is-go i { animation: sf-tale-pop 1.1s ease-out forwards; }
@keyframes sf-tale-pop {
	0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
	25% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.1) rotate(90deg); }
}

.sf-tale__mono { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, var(--sf-blush-soft), var(--sf-blush) 55%, var(--sf-pink-soft)); color: var(--sf-gold); }
.sf-tale__mono .sf-tale__mono-mark { width: 38%; height: auto; aspect-ratio: 205 / 400; color: var(--sf-gold); }
.sf-tale__twinkle { position: absolute; top: 24%; right: 26%; display: flex; animation: sf-tale-twinkle 3.2s ease-in-out infinite; }
.sf-tale__twinkle--2 { top: auto; right: auto; bottom: 26%; left: 27%; animation-delay: -1.6s; }
@keyframes sf-tale-twinkle {
	0%, 100% { opacity: .25; transform: scale(.7) rotate(0); }
	50% { opacity: 1; transform: scale(1.15) rotate(45deg); }
}

/* Chapter 4: the founders slide in from either side (--g runs 1 → 0 as it scrolls in). */
.sf-tale__duo { display: flex; flex-direction: column; align-items: center; padding: 64px 24px 56px; border-radius: var(--sf-r-section); background: var(--sf-blush-soft); text-align: center; overflow: hidden; }
.sf-tale__duo-title { font-size: 40px; }
.sf-tale__duo-lede { max-width: 56ch; margin: 0 0 40px; font-size: 17px; line-height: 1.7; color: var(--sf-muted); }
.sf-tale__pics { position: relative; display: flex; justify-content: center; gap: 40px; width: 100%; }
.sf-tale__pic { position: relative; width: 320px; max-width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--sf-r-card) var(--sf-r-card); overflow: hidden; box-shadow: var(--sf-shadow-lift); opacity: calc(1 - var(--g, 0) * .7); }
.sf-tale__pic--l { transform: translateX(calc(var(--g, 0) * -45%)); }
.sf-tale__pic--r { transform: translateX(calc(var(--g, 0) * 45%)); }
.sf-tale__spark { position: absolute; left: 50%; top: 42%; z-index: 2; display: flex; color: var(--sf-gold); transform: translate(-50%, -50%) scale(calc(1.4 - var(--g, 0) * 1.4)) rotate(calc(var(--g, 0) * 180deg)); }
.sf-tale__bios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; width: 100%; max-width: 680px; margin-top: 32px; text-align: left; }
.sf-tale__bio { display: flex; flex-direction: column; gap: 4px; opacity: calc(1 - var(--g, 0)); transform: translateY(calc(var(--g, 0) * 16px)); }

/* The signed note that closes chapter 7. */
.sf-tale__note { display: flex; align-items: center; gap: 20px; max-width: 620px; margin-top: 32px; padding: 22px 26px; border-radius: var(--sf-r-card); background: var(--sf-white); }
.sf-tale__faces { display: flex; flex: none; }
.sf-tale__faces span { position: relative; width: 58px; height: 58px; border: 3px solid var(--sf-white); border-radius: 50%; overflow: hidden; }
.sf-tale__faces span + span { margin-left: -16px; }
.sf-tale__with { display: block; font-size: 14px; color: var(--sf-muted); }
.sf-tale__sig { display: block; font-family: 'Mrs Saint Delafield', var(--sf-font-head); font-size: 48px; line-height: 1.15; color: var(--sf-espresso); }
.sf-tale__sig--img img { display: block; width: auto; max-width: 260px; height: 64px; object-fit: contain; }
.is-live .sf-tale__sig { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.5, 0, .3, 1); }
.is-live .sf-tale__sig.is-go { clip-path: inset(0 0 0 0); }

.sf-about__cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf-about__cta-card {
	display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px;
	border-radius: var(--sf-r-section); background: var(--sf-espresso); color: var(--sf-cream);
}
.sf-about__cta-title { font-size: 40px; line-height: 1.15; color: var(--sf-cream); }
.sf-about__cta-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sf-on-dark); }
.sf-about__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sf-about__cta-actions .sf-btn { min-height: 54px; padding: 0 26px; font-size: 15px; }
.sf-about__cta-photo { position: relative; min-height: 420px; border-radius: var(--sf-r-section); overflow: hidden; }

@media (max-width: 1100px) {
	.sf-about { gap: 88px; }
	.sf-about__hero { grid-template-columns: minmax(0, 1fr) 420px; }
	.sf-about__title { font-size: 52px; }
	.sf-about__arch { height: 520px; border-radius: 210px 210px 36px 36px; }
	.sf-tale__book { gap: 40px; }
	.sf-tale__pic { width: 280px; }
}

@media (max-width: 767.98px) {
	.sf-about { gap: 56px; margin-top: 0; }
	.sf-about__hero { display: flex; flex-direction: column; gap: 24px; }
	.sf-about__hero-text { gap: 14px; padding: 0 4px; }
	.sf-about__eyebrow { font-size: 11px; }
	.sf-about__title { font-size: 38px; }
	.sf-about__lede { font-size: 16px; }
	.sf-about__tagline { margin: 0; font-size: 18px; }
	.sf-about__arch { width: 100%; height: 440px; border-radius: 200px 200px 30px 30px; }
	.sf-about__h2 { font-size: 28px; }
	.sf-tale { gap: 32px; }
	.sf-tale__head { padding: 0 4px; }
	.sf-tale__book { display: block; padding: 0 4px; }
	.sf-tale__stage { display: none; }
	.sf-tale__text { padding-left: 30px; }
	.sf-tale__thread { left: 4px; }
	.sf-tale__chapter { min-height: 0; padding: 16px 0 40px; }
	.sf-tale__chapter::before { left: -30px; top: 14px; }
	.sf-tale__mob { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 18px; border-radius: 120px 120px 20px 20px; overflow: hidden; }
	.sf-tale__mob .sf-tale__mono .sf-tale__mono-mark { width: 22%; }
	.sf-tale__title { font-size: 26px; margin-bottom: 14px; }
	.sf-tale__body { font-size: 16px; line-height: 1.7; }
	.sf-tale__quote { font-size: 24px; }
	.sf-tale__duo { padding: 40px 16px 32px; border-radius: 30px; }
	.sf-tale__duo-title { font-size: 28px; }
	.sf-tale__duo-lede { font-size: 16px; margin-bottom: 28px; }
	.sf-tale__pics { gap: 12px; }
	.sf-tale__pic { width: 42vw; }
	.sf-tale__bios { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.sf-tale__note { flex-direction: column; align-items: flex-start; }
	.sf-tale__sig { font-size: 40px; }
	.sf-about__cta { grid-template-columns: minmax(0, 1fr); }
	.sf-about__cta-card { padding: 32px 24px; border-radius: 30px; }
	.sf-about__cta-title { font-size: 30px; }
	.sf-about__cta-photo { min-height: 280px; border-radius: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.sf-tale__frame { transition: none; }
	.sf-tale__pic, .sf-tale__bio, .sf-tale__spark { transform: none; opacity: 1; }
}

/* 21. Blog -------------------------------------------------------------------- */
.sf-blog { display: flex; flex-direction: column; }
.sf-blog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin: 24px 16px 32px; }
.sf-blog__head-text { display: flex; flex-direction: column; gap: 14px; }
.sf-blog__eyebrow { display: flex; align-items: center; gap: 8px; }
.sf-blog__eyebrow .sf-icon { color: var(--sf-gold); }
.sf-blog__title { font-size: 64px; line-height: 1.05; letter-spacing: -0.03em; }
.sf-blog__title em { color: var(--sf-brown); }
.sf-blog__lede { margin: 0; max-width: 360px; font-size: 16px; line-height: 1.6; color: var(--sf-muted); }
.sf-blog__topics { margin: 0 16px 28px; }

.sf-feature {
	position: relative; display: grid; grid-template-columns: 7fr 5fr; border-radius: var(--sf-r-section); overflow: hidden;
	background: var(--sf-white); transition: transform .3s ease, box-shadow .3s ease;
}
.sf-feature:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow-lift); }
.sf-feature__media { position: relative; min-height: 520px; }
.sf-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px; }
.sf-feature__topic, .sf-card__topic { font-size: 12px; font-weight: 600; }
.sf-feature__topic { align-self: flex-start; display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--sf-r-pill); background: var(--sf-blush); }
.sf-feature__title { font-size: 38px; line-height: 1.15; }
.sf-feature__link { text-decoration: none; }
.sf-feature__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.sf-feature__link:focus-visible { outline: none; }
.sf-feature__link:focus-visible::after { outline: 2px solid var(--sf-espresso); outline-offset: -4px; border-radius: inherit; }
.sf-feature__excerpt { margin: 0; font-size: 16px; line-height: 1.65; color: var(--sf-muted); }
.sf-feature__meta, .sf-card__meta { font-size: 13px; color: var(--sf-muted); }
.sf-feature__cta { align-self: flex-start; margin-top: 6px; min-height: 50px; padding: 0 24px; }

.sf-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.sf-card { height: 520px; border-radius: 32px; background: var(--sf-white); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.sf-card:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow-lift); }
.sf-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.sf-card__link:hover { color: var(--sf-espresso); }
.sf-card__media { display: block; height: 300px; flex-shrink: 0; }
.sf-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-card__body { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.sf-card__topic { letter-spacing: 0.1em; text-transform: uppercase; color: var(--sf-rose-text); }
.sf-card__title {
	height: 90px; font-size: 21px; line-height: 30px; overflow: hidden;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.sf-card__meta { margin-top: auto; }
.sf-blog .sf-pagination { margin-top: 32px; }

.sf-band {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
	margin-top: 96px; padding: 48px 56px; border-radius: var(--sf-r-section); background: var(--sf-blush-soft);
}
.sf-band__text { display: flex; flex-direction: column; gap: 12px; }
.sf-band__title { font-size: 34px; }
.sf-band__body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sf-muted); }
.sf-band__cta { min-height: 56px; padding: 0 28px; font-size: 15px; }

/* Single post */
.sf-article { display: flex; flex-direction: column; gap: 32px; max-width: 880px; margin: 24px auto 0; }
.sf-article__head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin: 0 auto; text-align: center; align-items: center; }
.sf-article__topic { text-decoration: none; }
.sf-article__title { font-size: 48px; line-height: 1.12; letter-spacing: -0.02em; }
.sf-article__meta { margin: 0; font-size: 14px; color: var(--sf-muted); }
.sf-article__media { margin: 0; border-radius: var(--sf-r-section); overflow: hidden; background: var(--sf-skin-3); }
.sf-article__media img { display: block; width: 100%; height: auto; }
.sf-article__content { width: 100%; max-width: 680px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: var(--sf-espresso); }
.sf-article__content > h2 { font-size: 30px; }
.sf-article__content a { color: var(--sf-brown); }
.sf-article__content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sf-pink); font-family: var(--sf-font-head); font-size: 21px; font-style: italic; }
.sf-article__content ul, .sf-article__content ol { padding-left: 1.3em; }
.sf-article__content .wp-block-table { margin: 1.6em 0; overflow-x: auto; overscroll-behavior-x: contain; border-radius: 18px; background: var(--sf-white); box-shadow: 0 0 0 1px var(--sf-line); }
.sf-article__content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.sf-article__content .wp-block-table thead { border-bottom: 0; }
.sf-article__content .wp-block-table th, .sf-article__content .wp-block-table td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--sf-line); text-align: left; }
.sf-article__content .wp-block-table th { background: var(--sf-blush-soft); font-weight: 600; }
.sf-article__content .wp-block-table tr:last-child td { border-bottom: 0; }
.sf-article__content .wp-block-table td:first-child { font-weight: 500; }

.sf-post-shop { display: flex; flex-direction: column; gap: 20px; max-width: 1120px; margin: 72px auto 0; }
.sf-post-shop__title { font-size: 30px; text-align: center; }
.sf-post-shop__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sf-article__back { display: flex; justify-content: center; margin-top: 56px; }

@media (max-width: 1100px) {
	.sf-blog__title { font-size: 52px; }
	.sf-feature__body { padding: 40px; }
	.sf-feature__title { font-size: 30px; }
	.sf-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sf-post-shop__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
	.sf-blog__head { flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 4px 20px; }
	.sf-blog__eyebrow { font-size: 11px; }
	.sf-blog__title { font-size: 38px; }
	.sf-blog__lede { font-size: 15px; }
	.sf-blog__topics { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--sf-gutter)) 20px; padding: 0 var(--sf-gutter); scrollbar-width: none; }
	.sf-blog__topics::-webkit-scrollbar { display: none; }
	.sf-feature { grid-template-columns: minmax(0, 1fr); border-radius: 30px; }
	.sf-feature__media { min-height: 260px; }
	.sf-feature__body { gap: 12px; padding: 24px 22px 26px; }
	.sf-feature__title { font-size: 26px; }
	.sf-feature__excerpt { font-size: 15px; }
	.sf-feature__cta { display: none; }
	.sf-posts { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
	.sf-card { height: auto; border-radius: 26px; }
	.sf-card__media { height: 220px; }
	.sf-card__body { padding: 18px 20px 20px; }
	.sf-card__title { height: auto; max-height: 90px; font-size: 19px; line-height: 28px; }
	.sf-band { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 56px; padding: 28px 24px; border-radius: 30px; }
	.sf-band__title { font-size: 24px; }
	.sf-band__cta { justify-self: start; }
	.sf-article { gap: 22px; margin-top: 0; }
	.sf-article__head { text-align: left; align-items: flex-start; }
	.sf-article__title { font-size: 32px; }
	.sf-article__media { border-radius: 26px; }
	.sf-article__content { font-size: 16px; line-height: 1.75; }
	.sf-post-shop { margin-top: 48px; }
	.sf-post-shop__title { font-size: 24px; text-align: left; }
	.sf-post-shop__list { display: flex; gap: 12px; margin: 0 calc(-1 * var(--sf-gutter)); padding: 0 var(--sf-gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.sf-post-shop__list > li { flex: 0 0 168px; scroll-snap-align: start; }
	.sf-article__back { margin-top: 40px; }
}

/* 22. Help pages (Shipping, Returns, FAQs) ------------------------------------ */
.sf-chip[aria-current="page"] { background: var(--sf-espresso); border-color: var(--sf-espresso); color: var(--sf-cream); }
.sf-help { display: flex; flex-direction: column; gap: 40px; padding-top: 24px; }
.sf-help__head { display: flex; flex-direction: column; gap: 14px; padding: 0 8px; }
.sf-help__eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sf-rose-text); }
.sf-help__eyebrow .sf-icon { color: var(--sf-gold); }
.sf-help__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sf-help__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.sf-help__layout:has(.sf-help__topics) { grid-template-columns: 240px minmax(0, 1fr); }
.sf-help__topics { position: sticky; top: calc(var(--sf-header-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 0 8px; }
.sf-help__topics-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sf-rose-text); }
.sf-help__topics ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sf-help__topics a { display: flex; align-items: center; min-height: 40px; font-size: 14px; color: var(--sf-muted); text-decoration: none; }
.sf-help__topics a:hover { color: var(--sf-espresso); }
.sf-help__main { display: flex; flex-direction: column; gap: 40px; max-width: 820px; }
.sf-help__body { line-height: 1.7; }
.sf-help__body > p:first-child { font-size: 18px; color: var(--sf-espresso); }
.sf-help__body h2 { scroll-margin-top: calc(var(--sf-header-h) + 24px); }

/* Sections without questions sit on a card, like the questions and delivery cards */
.sf-help__card { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 26px 28px; border-radius: var(--sf-r-card); background: var(--sf-white); }
.sf-help__body > :not(.sf-help__card) + .sf-help__card { margin-top: 28px; }
.sf-help__card > * { margin: 0; }
.sf-help__card > h2 { font-size: 22px; color: var(--sf-espresso); }
.sf-help__body a { color: var(--sf-brown); }
.sf-help__body ul:not(.sf-delivery-cards) { padding-left: 1.2em; }

/* Questions: native Details blocks styled as cards */
.sf-help__body .wp-block-details { margin-top: 10px; border-radius: 20px; background: var(--sf-white); }
.sf-help__body > h2 + .wp-block-details { margin-top: 18px; }
.sf-help__body .wp-block-details summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 60px; padding: 14px 22px; cursor: pointer; list-style: none;
	font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--sf-espresso);
}
.sf-help__body .wp-block-details summary::-webkit-details-marker { display: none; }
.sf-help__body .wp-block-details summary::after {
	content: "+"; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: var(--sf-r-pill); background: var(--sf-blush-soft);
	font-size: 18px; line-height: 1; transition: transform 0.2s ease;
}
.sf-help__body .wp-block-details[open] summary::after { transform: rotate(45deg); }
.sf-help__body .wp-block-details summary:focus-visible { outline: 2px solid var(--sf-espresso); outline-offset: 2px; border-radius: 20px; }
.sf-help__body .wp-block-details > :not(summary) { margin: 0; padding: 0 22px 18px; }
.sf-help__body .wp-block-details > :not(summary) + :not(summary) { padding-top: 0; }

/* Tables (delivery fees, rewards) */
.sf-help__body .wp-block-table { margin: 0; overflow-x: auto; overscroll-behavior-x: contain; }
.sf-help__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sf-help__body th { text-align: left; font-weight: 600; color: var(--sf-espresso); }
.sf-help__body .wp-block-table thead { border-bottom: 0; }
.sf-help__body .wp-block-table th, .sf-help__body .wp-block-table td { padding: 10px 12px 10px 0; border: 0; border-bottom: 1px solid var(--sf-line); }
.sf-help__body .wp-block-table th { border-bottom-color: var(--sf-line-strong); }
.sf-help__body .wp-block-table tr:last-child td { border-bottom: 0; }
.sf-help__body tr > :last-child { text-align: right; padding-right: 0; white-space: nowrap; }

/* [skinfairy_delivery] cards */
.sf-delivery-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.sf-delivery-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: var(--sf-r-card); background: var(--sf-white); }
.sf-delivery-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sf-delivery-card__title { font-family: var(--sf-font-head); font-size: 20px; color: var(--sf-espresso); }
.sf-delivery-card__price { flex-shrink: 0; font-weight: 600; color: var(--sf-espresso); }
.sf-delivery-card__desc { font-size: 14px; line-height: 1.6; }
.sf-delivery-card__desc strong { color: var(--sf-espresso); font-weight: 500; }
.sf-delivery-card__pay { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 500; color: var(--sf-rose-text); }

.sf-help__ask {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 32px 36px; border-radius: 32px; background: var(--sf-blush-soft);
}
.sf-help__ask-title { font-size: 26px; }
.sf-help__ask p { margin: 6px 0 0; color: var(--sf-muted); }
.sf-help__ask .sf-btn { min-height: 52px; padding: 0 26px; }

@media (max-width: 767px) {
	.sf-help { gap: 28px; padding-top: 8px; }
	.sf-help__head { padding: 0 4px; }
	.sf-help__tabs { flex-wrap: nowrap; margin: 6px calc(-1 * var(--sf-gutter)) 0; padding: 0 var(--sf-gutter); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
	.sf-help__layout, .sf-help__layout:has(.sf-help__topics) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.sf-help__topics { position: static; padding: 0; }
	.sf-help__topics-label { display: none; }
	.sf-help__topics ul { flex-direction: row; gap: 8px; margin: 0 calc(-1 * var(--sf-gutter)); padding: 0 var(--sf-gutter); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
	.sf-help__topics a { min-height: var(--sf-tap); padding: 0 16px; border: 1px solid var(--sf-line-chip); border-radius: var(--sf-r-pill); font-size: 13px; white-space: nowrap; color: var(--sf-espresso); }
	.sf-help__body > p:first-child { font-size: 16px; }
	.sf-help__body .wp-block-details summary { padding: 14px 18px; font-size: 15px; }
	.sf-help__card { padding: 22px 20px; border-radius: 24px; }
	.sf-help__card > h2 { font-size: 20px; }
	.sf-help__body .wp-block-details > :not(summary) { padding: 0 18px 16px; }
	.sf-delivery-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.sf-delivery-card { padding: 20px; }
	.sf-help__ask { flex-direction: column; align-items: stretch; padding: 24px 20px; border-radius: 24px; }
	.sf-help__ask-title { font-size: 22px; }
}

/* 10. Motion and fallbacks ------------------------------------------------- */
@keyframes sfTwinkle {
	0%, 100% { opacity: .3; transform: scale(.75) rotate(0deg); }
	50% { opacity: 1; transform: scale(1) rotate(12deg); }
}
.sf-twinkle { display: inline-flex; animation: sfTwinkle 3.2s ease-in-out infinite; }
.sf-twinkle--late { animation-duration: 4.2s; animation-delay: .9s; }

/* No backdrop-filter support, or a low-power device (flag set in <head>): solid cream. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.sf-glass, .sf-glass-bar { background: var(--sf-glass-solid); }
}
.sf-no-blur .sf-glass,
.sf-no-blur .sf-glass-bar {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: var(--sf-glass-solid);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.sf-card:hover { transform: none; }
}

/* Fairy Rewards (Phase 5) -------------------------------------------------- */
.sf-earn {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
	min-height: 34px; padding: 6px 14px; margin: 4px 0;
	border: 1px solid var(--sf-gold-edge); border-radius: var(--sf-r-pill);
	background: var(--sf-gold-soft); color: var(--sf-espresso);
	font-size: 13px; font-weight: 500; line-height: 1.35; text-decoration: none;
}
.sf-earn:hover { color: var(--sf-espresso); background: var(--sf-white); }
.sf-earn__spark, .sf-earn-line__spark { color: var(--sf-gold); }
.sf-earn-line { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--sf-brown); }
.sf-earn-line[hidden] { display: none; }

.sf-rw { display: flex; flex-direction: column; gap: 32px; max-width: 1120px; margin: 0 auto; padding: 32px 0 24px; }
.sf-rw__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.sf-rw__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sf-rw__col--main { position: sticky; top: calc(var(--sf-header-h) + 40px); }
.sf-rw__head { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.sf-rw__title { margin: 0; font-family: var(--sf-font-head); font-size: 40px; line-height: 1.15; font-weight: 400; }
.sf-rw__h2 { margin: 10px 4px 0; font-family: var(--sf-font-head); font-size: 22px; font-weight: 400; }
.sf-rw__card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
	padding: 28px; border-radius: 28px; background: var(--sf-espresso); color: var(--sf-cream);
}
.sf-rw__star { position: absolute; top: -18px; right: -14px; fill: var(--sf-gold); opacity: 0.25; }
.sf-rw__card-label { font-size: 12px; color: var(--sf-on-dark); }
.sf-rw__balance { font-family: var(--sf-font-head); font-size: 56px; line-height: 1; }
.sf-rw__card-line { font-size: 14px; }
.sf-rw__card-next { font-size: 14px; color: var(--sf-on-dark); }
.sf-rw__card-note { margin-top: 6px; font-size: 12px; color: var(--sf-on-dark-soft); }
.sf-rw__line { position: relative; height: 6px; margin: 14px 6px 6px; border-radius: var(--sf-r-pill); background: var(--sf-on-dark-line); }
.sf-rw__line-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: var(--sf-r-pill); background: var(--sf-gold); }
.sf-rw__dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--sf-espresso); border: 2px solid var(--sf-on-dark-soft); }
.sf-rw__dot.is-ok { background: var(--sf-gold); border-color: var(--sf-gold); }
.sf-rw__pitch-title { font-family: var(--sf-font-head); font-size: 24px; line-height: 1.25; }
.sf-rw__pitch-text { font-size: 15px; line-height: 1.6; color: var(--sf-on-dark); }
.sf-rw__id { margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--sf-blush-soft); font-size: 14px; line-height: 1.55; }
.sf-rw__id strong { font-weight: 600; }

.sf-rw__auth { padding: 22px; border-radius: 24px; background: var(--sf-white); }
.sf-rw__step { display: flex; flex-direction: column; gap: 12px; }
.sf-rw__step[hidden], .sf-rw__extra[hidden], .sf-rw__check[hidden], .sf-rw__error[hidden] { display: none; }
.sf-rw__extra { display: flex; flex-direction: column; gap: 6px; }
.sf-rw__auth-title { margin: 0; font-family: var(--sf-font-head); font-size: 21px; font-weight: 400; }
.sf-rw__auth-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--sf-muted); }
.sf-rw__auth-text strong { color: var(--sf-espresso); }
.sf-rw__label { font-size: 13px; font-weight: 500; }
.sf-rw__input { height: 52px; margin-top: -6px; }
.sf-rw__extra .sf-rw__input { margin-top: 0; }
.sf-rw__code { text-align: center; letter-spacing: 0.4em; font-size: 20px; }
.sf-rw__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.sf-rw__check input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--sf-espresso); }
.sf-rw__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sf-rw__error { margin: 0; font-size: 13px; color: var(--sf-error); }
.sf-rw__btn { min-height: 52px; font-size: 15px; }
.sf-rw__btn[disabled] { opacity: 0.6; }
.sf-rw__small { font-size: 12px; line-height: 1.5; color: var(--sf-muted); margin: 0 4px; }
.sf-rw__center { text-align: center; }
.sf-rw__links { display: flex; justify-content: space-between; gap: 12px; }
.sf-rw__link { min-height: var(--sf-tap); padding: 0; border: 0; background: transparent; color: var(--sf-espresso); font-size: 13px; font-weight: 500; cursor: pointer; }
.sf-rw__link--u { text-decoration: underline; }

.sf-rw__menu { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sf-rw__item { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: var(--sf-white); }
.sf-rw__item.is-locked { opacity: 0.75; }
.sf-rw__item-row { display: flex; align-items: center; gap: 12px; }
.sf-rw__item-pts { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 56px; height: 52px; border-radius: 16px; font-size: 12px; font-weight: 600; }
.sf-rw__tone--blush { background: var(--sf-blush); }
.sf-rw__tone--skin3 { background: var(--sf-skin-3); }
.sf-rw__tone--skin1 { background: var(--sf-skin-1); }
.sf-rw__tone--gold { background: var(--sf-gold-soft); border: 1px solid var(--sf-gold-edge); }
.sf-rw__item-text { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-rw__item-title { font-size: 14px; font-weight: 600; }
.sf-rw__item-sub { font-size: 12px; color: var(--sf-muted); }
.sf-rw__item-cta { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--sf-r-pill); background: var(--sf-line); font-size: 12px; font-weight: 600; white-space: nowrap; }
.sf-rw__item-cta.is-ok { background: var(--sf-pink); }
.sf-rw__bar { display: block; height: 5px; border-radius: var(--sf-r-pill); background: var(--sf-line); overflow: hidden; }
.sf-rw__bar span { display: block; height: 5px; border-radius: var(--sf-r-pill); background: var(--sf-gold); }

.sf-rw__ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sf-rw__way { display: flex; flex-direction: column; gap: 4px; min-height: 104px; padding: 14px; border-radius: 20px; background: var(--sf-white); }
.sf-rw__way--blush { background: var(--sf-blush); }
.sf-rw__way--skin3 { background: var(--sf-skin-3); }
.sf-rw__way-pts { font-family: var(--sf-font-head); font-size: 18px; }
.sf-rw__way-title { font-size: 13px; font-weight: 600; }
.sf-rw__way-sub { font-size: 12px; line-height: 1.45; color: var(--sf-muted); }

.sf-rw__activity { padding: 4px 16px; border-radius: 22px; background: var(--sf-white); }
.sf-rw__act { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; border-bottom: 1px solid var(--sf-line); }
.sf-rw__act:last-child { border-bottom: 0; }
.sf-rw__act-text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.sf-rw__act-when { font-size: 12px; color: var(--sf-muted); }
.sf-rw__act-pts { font-size: 14px; font-weight: 600; }
.sf-rw__act-pts.is-plus { color: var(--sf-espresso); }
.sf-rw__act-pts.is-minus { color: var(--sf-brown); }
.sf-rw__empty { margin: 14px 0; font-size: 14px; color: var(--sf-muted); }
.sf-rw__actions { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }

@media (max-width: 767px) {
	.sf-rw { display: flex; flex-direction: column; gap: 16px; padding: 8px 16px 24px; }
	.sf-rw__col--main { position: static; }
	.sf-rw__title { font-size: 27px; }
	.sf-rw__h2 { font-size: 21px; margin-top: 6px; }
	.sf-rw__card { padding: 24px; }
	.sf-rw__balance { font-size: 48px; }
	.sf-rw__pitch-title { font-size: 22px; }
	.sf-rw__pitch-text { font-size: 14px; }
	.sf-rw__id { font-size: 13px; }
	.sf-rw__auth { padding: 20px; }
}
.sf-rw__item-cta { border: 0; color: var(--sf-espresso); }
button.sf-rw__item-cta { cursor: pointer; min-height: var(--sf-tap); }
.sf-rw__item-cta.is-picked { background: var(--sf-espresso); color: var(--sf-cream); }

.sf-reward-card {
	display: flex; align-items: center; gap: 10px; min-height: 56px; margin: 10px 0 4px; padding: 8px 6px 8px 14px;
	border: 1px solid var(--sf-gold-edge); border-radius: 18px; background: var(--sf-gold-soft);
	color: var(--sf-espresso); font-size: 13px; line-height: 1.4; text-decoration: none;
}
a.sf-reward-card { padding-right: 14px; }
a.sf-reward-card:hover { color: var(--sf-espresso); background: var(--sf-white); }
.sf-reward-card--out { min-height: 48px; border-style: dashed; }
.sf-reward-card__spark { color: var(--sf-gold); }
.sf-reward-card__text { flex-grow: 1; }
.sf-reward-card__text strong { font-weight: 600; }
.sf-reward-card__text span { color: var(--sf-muted); }
.sf-reward-card__remove { min-height: var(--sf-tap); padding: 0 12px; border: 0; background: transparent; font-size: 13px; font-weight: 500; text-decoration: underline; cursor: pointer; }

.sf-co-rewards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; padding: 16px 18px; border: 1px solid var(--sf-gold-edge); border-radius: 20px; background: var(--sf-gold-soft); }
.sf-co-rewards:has(> .sf-reward-card:only-child) { padding: 0; border: 0; background: none; }
.sf-co-rewards .sf-reward-card { margin: 0; }
.sf-co-rewards__head { margin: 0; font-size: 14px; }
.sf-co-rewards__head span { color: var(--sf-muted); }
.sf-co-rewards__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-co-rewards__chip { min-height: var(--sf-tap); padding: 8px 14px; border: 1px solid var(--sf-line-chip); border-radius: var(--sf-r-pill); background: var(--sf-white); color: var(--sf-espresso); font-size: 13px; text-align: left; cursor: pointer; }
.sf-co-rewards__chip[aria-checked="true"] { border-color: var(--sf-espresso); background: var(--sf-espresso); color: var(--sf-cream); }
.sf-co-rewards__chip[disabled] { opacity: 0.5; cursor: default; }
.sf-co-rewards__label { font-size: 13px; font-weight: 500; }
.sf-co-rewards__select { height: 48px; padding: 0 14px; border: 1px solid var(--sf-line-strong); border-radius: var(--sf-r-input); background: var(--sf-white); font-size: 15px; }
.sf-co-rewards__note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--sf-muted); }
.sf-co-rewards__error { margin: 0; font-size: 13px; color: var(--sf-error); }
.sf-co-rewards__error[hidden] { display: none; }

/* Gift cards (Phase 5) */
.sf-gc-fields { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 16px; padding: 16px 18px; border: 1px solid var(--sf-line); border-radius: 20px; background: var(--sf-white); }
.sf-gc-fields__title { padding: 0; font-family: var(--sf-font-head); font-size: 18px; }
.sf-gc-fields__hint { margin: 0 0 4px; font-size: 13px; color: var(--sf-muted); }
.sf-gc-fields__label { margin-top: 4px; font-size: 13px; font-weight: 500; }
.sf-gc-fields__msg { height: auto; padding: 12px 16px; }
.sf-co-gc { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.sf-co-gc__applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 6px 6px 6px 16px; border: 1px solid var(--sf-gold-edge); border-radius: 18px; background: var(--sf-gold-soft); font-size: 14px; }
.sf-co-gc__remove { min-height: var(--sf-tap); padding: 0 12px; border: 0; background: transparent; font-size: 13px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.sf-co-gc__add summary { min-height: var(--sf-tap); display: flex; align-items: center; font-size: 14px; font-weight: 500; cursor: pointer; }
.sf-co-gc__row { display: flex; gap: 8px; margin-top: 6px; }
.sf-co-gc__row .sf-input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: 0.06em; }
.sf-co-gc__error { margin: 0; font-size: 13px; color: var(--sf-error); }
.sf-co-gc__error[hidden] { display: none; }

/* Fairy list sign-up (Phase 5) */
.sf-list-form { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 420px; }
.sf-list-form__row { display: flex; gap: 8px; }
.sf-list-form__input { flex: 1 1 auto; min-width: 0; }
.sf-list-form__btn { flex-shrink: 0; background: var(--sf-pink); color: var(--sf-espresso); }
.sf-list-form__btn:hover { background: var(--sf-blush); color: var(--sf-espresso); }
.sf-list-form__check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.45; }
.sf-list-form__check input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--sf-pink); }
.sf-list-form__msg { margin: 0; font-size: 13px; }
.sf-list-form__msg[hidden] { display: none; }
.sf-footer__list { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.sf-footer__list-title { margin: 0; font-family: var(--sf-font-head); font-size: 18px; }
.sf-footer__list-text { margin: 0 0 4px; font-size: 13px; color: var(--sf-on-dark); }
.sf-footer .sf-list-form__check, .sf-footer .sf-list-form__msg { color: var(--sf-on-dark); }
.sf-footer .sf-list-form__msg.is-error { color: var(--sf-pink); }
.sf-band .sf-list-form { max-width: 460px; }
.sf-band .sf-list-form__btn { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-band .sf-list-form__btn:hover { background: var(--sf-brown); color: var(--sf-cream); }
.sf-band .sf-list-form__check input { accent-color: var(--sf-espresso); }
.sf-band .sf-list-form__msg.is-error { color: var(--sf-error); }
.sf-list-banner {
	position: fixed; left: 50%; bottom: calc(96px + var(--sf-safe-bottom, 0px)); z-index: 300; transform: translateX(-50%);
	max-width: min(92vw, 520px); padding: 14px 20px; border-radius: 18px;
	background: var(--sf-toast-bg); color: var(--sf-cream); box-shadow: var(--sf-shadow-toast); font-size: 14px; text-align: center;
}
.sf-co__optin label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.sf-rw__bday { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 22px; background: var(--sf-white); }
.sf-rw__bday-row { display: flex; gap: 8px; }
.sf-rw__bday-row .sf-input { flex: 1 1 auto; min-width: 0; }
.sf-rw__bday [role="status"][hidden] { display: none; }
/* Fairy Rewards pill in the desktop header (same look as the phone top bar's) */
.sf-points-pill--desktop {
	display: inline-flex; align-items: center; gap: 6px;
	height: 48px; padding: 0 16px;
	border: 1px solid var(--sf-gold-edge); border-radius: var(--sf-r-pill);
	background: var(--sf-gold-soft); color: var(--sf-espresso);
	font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.sf-points-pill--desktop:hover { color: var(--sf-espresso); background: var(--sf-white); }
.sf-points-pill--desktop .sf-icon { color: var(--sf-gold); }
/* Tablets: a slightly smaller logo (the phone size) leaves room for the Rewards pill. */
@media (min-width: 768px) and (max-width: 960px) {
	.sf-header__logo { width: 64.4px; height: 46px; }
	.sf-nav { gap: 14px; }
}
@media (min-width: 768px) and (max-width: 830px) {
	.sf-nav { gap: 10px; }
	.sf-nav a { font-size: 13px; }
	.sf-header { padding-left: 14px; padding-right: 8px; }
	.sf-header { gap: 10px; }
	.sf-header__actions { gap: 4px; }
	.sf-header .sf-btn--outline { padding: 0 14px; }
	.sf-points-pill--desktop { padding: 0 12px; }
}

/* Rewards catalogue */
.sf-rw-cat { display: flex; flex-direction: column; gap: 14px; min-width: 0; margin-top: 8px; }
.sf-rw-cat__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-rw-cat__tab { display: inline-flex; align-items: center; min-height: var(--sf-tap); padding: 0 16px; border: 1px solid var(--sf-line-chip); border-radius: var(--sf-r-pill); background: var(--sf-white); color: var(--sf-espresso); font-size: 14px; font-weight: 500; text-decoration: none; }
.sf-rw-cat__tab:hover { color: var(--sf-espresso); border-color: var(--sf-espresso); }
.sf-rw-cat__tab.is-ok { border-color: var(--sf-gold-edge); background: var(--sf-gold-soft); }
.sf-rw-cat__tier { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: calc(var(--sf-header-h) + 40px); }
.sf-rw-cat__tier-title { margin: 14px 4px 0; font-family: var(--sf-font-head); font-size: 22px; font-weight: 400; }
.sf-rw-cat__tier-title span { margin-left: 8px; font-family: var(--sf-font-body); font-size: 14px; color: var(--sf-muted); }
.sf-rw-cat__togo { display: flex; align-items: center; gap: 12px; margin: 0 4px; font-size: 13px; color: var(--sf-brown); }
.sf-rw-cat__togo .sf-rw__bar { flex: 0 1 220px; }
.sf-rw-cat__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 12px; overflow-x: auto; padding: 2px 4px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.sf-rw-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--sf-white); scroll-snap-align: start; }
.sf-rw-card__media { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--sf-blush-soft); }
.sf-rw-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sf-rw-card__media--art { flex-direction: column; gap: 8px; padding: 18px; background: var(--sf-espresso); color: var(--sf-cream); text-align: center; }
.sf-rw-card__spark { color: var(--sf-gold); font-size: 26px; }
.sf-rw-card__art-title { font-family: var(--sf-font-head); font-size: 20px; line-height: 1.25; }
.sf-rw-card__body { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; padding: 14px 16px 16px; }
.sf-rw-card__name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.sf-rw-card__detail { margin: 0; font-size: 12px; color: var(--sf-muted); }
.sf-rw-card__pts { margin: 4px 0 8px; font-family: var(--sf-font-head); font-size: 17px; }
.sf-rw-card__btn { align-self: stretch; margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: var(--sf-tap); padding: 0 12px; white-space: nowrap; text-align: center; border: 1.5px solid var(--sf-espresso); border-radius: var(--sf-r-pill); background: transparent; color: var(--sf-espresso); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.sf-rw-card__btn.is-ok { background: var(--sf-pink); border-color: var(--sf-pink); }
.sf-rw-card__btn.is-picked { background: var(--sf-espresso); color: var(--sf-cream); }
.sf-rw-card__btn.is-locked { border-color: var(--sf-line-chip); color: var(--sf-muted); cursor: default; }
a.sf-rw-card__btn:hover { color: var(--sf-espresso); background: var(--sf-white); }
@media (max-width: 767px) {
	.sf-rw__top { display: contents; }
	.sf-rw__col--main { order: 1; }
	.sf-rw-cat { order: 2; }
	.sf-rw__col--side { order: 3; }
	.sf-rw-cat__row { grid-auto-columns: 46%; margin: 0 -16px; padding: 2px 16px 10px; scroll-padding: 0 16px; }
	.sf-rw-cat__tier-title { font-size: 20px; }
}

/* Birthday wheel */
.sf-wheel { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px; border-radius: 24px; background: var(--sf-white); text-align: center; }
.sf-wheel__stage { position: relative; width: min(100%, 320px); aspect-ratio: 1; }
.sf-wheel__svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 12px 24px rgba(58, 42, 47, 0.18)); }
.sf-wheel__spin { transform-origin: 160px 160px; transform-box: view-box; }
.sf-wheel__pointer { position: absolute; top: -6px; left: 50%; z-index: 1; width: 0; height: 0; transform: translateX(-50%); border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 22px solid var(--sf-espresso); }
.sf-wheel .sf-rw__btn { min-width: 180px; }
.sf-wheel__result { margin: 0; font-family: var(--sf-font-head); font-size: 18px; line-height: 1.4; }
.sf-wheel__result[hidden] { display: none; }
.sf-rw-card__media--gift { background: var(--sf-pink); color: var(--sf-espresso); }

/* Rewards page v2: member card + tabs ---------------------------------------- */
.sf-rw2 { display: flex; flex-direction: column; gap: 36px; max-width: 1120px; margin: 0 auto; padding: 32px 0 24px; }
.sf-rw2__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sf-rw2__cardcol { display: flex; flex-direction: column; gap: 18px; perspective: 1200px; }
.sf-rw2__side { display: flex; flex-direction: column; gap: 14px; }
.sf-rw2__title { margin: 0; font-family: var(--sf-font-head); font-size: 40px; line-height: 1.15; font-weight: 400; }
.sf-rw2__lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sf-muted); }
.sf-rw2__fine { margin: 0; font-size: 12px; line-height: 1.5; color: var(--sf-muted); }
.sf-rw2__fine[hidden] { display: none; }
.sf-rw2__panel .sf-rw2__fine { margin-top: 20px; padding: 0 4px; }

/* The member card (same look as the gift card). */
.sf-mcard { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1.586; transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -8deg)); transition: transform 0.4s ease; }
.sf-mcard__inner {
	position: absolute; inset: 0; overflow: hidden; border-radius: 26px; color: var(--sf-cream);
	background: linear-gradient(135deg, #4A353B 0%, var(--sf-espresso) 45%, #2C1F23 100%);
	box-shadow: 0 40px 70px -24px rgba(58, 42, 47, 0.55), 0 16px 30px -14px rgba(58, 42, 47, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.sf-mcard__inner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1.5px, transparent 1.5px 34px); }
.sf-mcard__inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 0%, transparent var(--sheen, 52%), rgba(244, 169, 182, 0.08) calc(var(--sheen, 52%) + 14%), rgba(255, 255, 255, 0.11) calc(var(--sheen, 52%) + 24%), transparent calc(var(--sheen, 52%) + 42%)); transition: background 0.4s ease; }
.sf-mcard__logo { position: absolute; left: 7%; top: 9%; width: 25%; height: auto; }
.sf-mcard__brand { position: absolute; right: 7%; top: 10%; text-align: right; font-size: clamp(10px, 1.6vw, 13px); font-weight: 600; letter-spacing: 0.26em; line-height: 1.6; color: rgba(250, 246, 242, 0.88); }
.sf-mcard__brand em { font-style: normal; color: var(--sf-pink); }
.sf-mcard__chip { position: absolute; left: 7%; top: 44%; width: 11%; aspect-ratio: 1.3; border-radius: 9px; background: linear-gradient(135deg, #EAD5AC 0%, var(--sf-gold) 55%, #B08E57 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.sf-mcard__points { position: absolute; right: 7%; top: 38%; display: flex; align-items: baseline; gap: 8px; }
.sf-mcard__num { font-family: var(--sf-font-head); font-size: clamp(34px, 6vw, 58px); line-height: 1; }
.sf-mcard__unit { font-size: 14px; letter-spacing: 0.08em; color: rgba(250, 246, 242, 0.75); }
.sf-mcard__bl, .sf-mcard__br { position: absolute; bottom: 9%; display: flex; flex-direction: column; gap: 4px; }
.sf-mcard__bl { left: 7%; } .sf-mcard__br { right: 7%; text-align: right; }
.sf-mcard__k { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; color: rgba(250, 246, 242, 0.7); }
.sf-mcard__v { font-family: var(--sf-font-head); font-size: clamp(15px, 2.2vw, 20px); }
@media (prefers-reduced-motion: reduce) { .sf-mcard { transform: none; transition: none; } }

.sf-rw2__progress { max-width: 520px; }
.sf-rw2__line { position: relative; height: 6px; margin: 4px 6px 12px; border-radius: var(--sf-r-pill); background: var(--sf-line); }
.sf-rw2__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: var(--sf-r-pill); background: var(--sf-gold); }
.sf-rw2__dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--sf-cream); border: 2px solid var(--sf-line-strong); }
.sf-rw2__dot.is-ok { background: var(--sf-gold); border-color: var(--sf-gold); }
.sf-rw2__next { margin: 0; font-size: 15px; line-height: 1.5; }
.sf-rw2__next span { display: block; margin-top: 2px; font-size: 12px; color: var(--sf-muted); }

.sf-rw2__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-rw2__tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: var(--sf-white); }
.sf-rw2__tile--bday { background: var(--sf-blush-soft); }
.sf-rw2__tile-icon { font-size: 20px; }
.sf-rw2__tile-title { font-size: 14px; font-weight: 600; }
.sf-rw2__tile-text { font-size: 13px; line-height: 1.45; color: var(--sf-muted); }
.sf-rw2__bday-row { display: flex; gap: 6px; margin-top: 6px; }
.sf-rw2__bday-row .sf-input { flex: 1 1 auto; min-width: 0; height: 44px; font-size: 14px; }
.sf-rw2__bday-row .sf-btn { min-height: 44px; padding: 0 14px; }
.sf-rw2__actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }

.sf-wheel { padding: 18px; }
.sf-wheel__title { margin: 0; font-family: var(--sf-font-head); font-size: 20px; font-weight: 400; }
.sf-wheel__stage { width: min(100%, 280px); }

/* Tabs */
.sf-rw2__tabs { display: flex; flex-direction: column; gap: 18px; }
/* Underlined tabs across the full width. */
.sf-rw2__tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--sf-line-strong); }
.sf-rw2__tab { position: relative; min-height: var(--sf-tap); padding: 0 22px; border: 0; background: transparent; color: var(--sf-muted); font-family: var(--sf-font-body); font-size: 15px; font-weight: 500; cursor: pointer; }
.sf-rw2__tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.sf-rw2__tab:hover { color: var(--sf-espresso); }
.sf-rw2__tab[aria-selected="true"] { color: var(--sf-espresso); font-weight: 600; }
.sf-rw2__tab[aria-selected="true"]::after { background: var(--sf-espresso); }

/* Points levels: one tile per points value, coloured by band. */
.sf-band--a { --band-bg: var(--sf-pink-soft); --band-ink: var(--sf-espresso); --band-num: var(--sf-espresso); }
.sf-band--b { --band-bg: var(--sf-skin-1); --band-ink: var(--sf-espresso); --band-num: var(--sf-espresso); }
.sf-band--c { --band-bg: var(--sf-gold); --band-ink: var(--sf-espresso); --band-num: var(--sf-espresso); }
.sf-band--d { --band-bg: var(--sf-espresso); --band-ink: var(--sf-cream); --band-num: var(--sf-gold); }
.sf-rw2__tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 6px; }
.sf-rw2__tier { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 70px; padding: 10px 14px; border: 2px solid transparent; border-radius: 18px; background: var(--band-bg, var(--sf-white)); color: var(--band-ink, var(--sf-espresso)); text-align: left; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.sf-rw2__tier:hover { transform: translateY(-2px); }
.sf-rw2__tier-num { font-family: var(--sf-font-head); font-size: 21px; line-height: 1.1; color: var(--band-num, var(--sf-espresso)); white-space: nowrap; }
.sf-rw2__tier-sub { font-size: 11.5px; line-height: 1.3; opacity: 0.85; }
.sf-rw2__tier-tick { font-family: var(--sf-font-body); font-size: 13px; font-weight: 700; }
.sf-rw2__tier[aria-pressed="true"] { border-color: var(--sf-espresso); box-shadow: 0 0 0 3px var(--sf-cream), 0 0 0 5px var(--sf-espresso); }
.sf-rw2__tier.sf-band--d[aria-pressed="true"] { border-color: var(--sf-gold); box-shadow: 0 0 0 3px var(--sf-cream), 0 0 0 5px var(--sf-gold); }
/* Not enough points yet: dulled but still open, so they can see what's coming. */
.sf-rw2__tier.is-short { filter: grayscale(0.85); opacity: 0.55; }
.sf-rw2__tier.is-short:hover, .sf-rw2__tier.is-short[aria-pressed="true"] { filter: grayscale(0.4); opacity: 0.85; }
.sf-rw-card.is-locked .sf-rw-card__media, .sf-rw-card.is-locked .sf-rw-card__pts { filter: grayscale(0.85); opacity: 0.6; }
.sf-rw2__tier--ready { grid-column: span 2; background: var(--sf-white); border-color: var(--sf-pink); }
.sf-rw2__tier--ready .sf-rw2__tier-num { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .sf-rw2__tier { transition: none; } .sf-rw2__tier:hover { transform: none; } }

/* Cards wear their level's colour. */
.sf-rw-card[class*="sf-band--"] .sf-rw-card__media--art { background: var(--band-bg); color: var(--band-ink); }
.sf-rw-card[class*="sf-band--"] .sf-rw-card__media--art .sf-rw-card__spark { color: var(--band-num); }
.sf-band--c .sf-rw-card__media--art .sf-rw-card__spark { color: var(--sf-cream); }
.sf-rw-card[class*="sf-band--"] .sf-rw-card__pts { align-self: flex-start; padding: 3px 12px; border-radius: var(--sf-r-pill); background: var(--band-bg); color: var(--band-num); font-size: 15px; }
.sf-band--d.sf-rw-card .sf-rw-card__pts { color: var(--sf-gold); }
.sf-rw2__set { display: flex; flex-direction: column; gap: 10px; }
.sf-rw2__set[hidden] { display: none; }
.sf-rw2__set-head { margin: 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--sf-muted); }
.sf-rw2__set-head strong { color: var(--sf-espresso); font-weight: 600; }
.sf-rw2__togo { color: var(--sf-brown); }
.sf-rw2__badge { padding: 3px 10px; border-radius: var(--sf-r-pill); background: var(--sf-blush); color: var(--sf-espresso); font-size: 12px; }

@media (max-width: 767px) {
	.sf-rw2 { gap: 24px; padding: 8px 16px 24px; }
	/* Phone order: welcome, card + progress, then birthday / quick actions or sign-in. */
	.sf-rw2__hero { display: flex; flex-direction: column; gap: 14px; }
	.sf-rw2__side { display: contents; }
	.sf-rw2__side > * { order: 3; }
	.sf-rw2__side > .sf-eyebrow, .sf-rw2__side > .sf-rw2__title, .sf-rw2__side > .sf-rw2__lede { order: 1; }
	.sf-rw2__cardcol { order: 2; align-self: stretch; margin: 6px 0; }
	.sf-rw2__side > .sf-eyebrow, .sf-rw2__actions { align-self: flex-start; }
	.sf-rw2__title { font-size: 27px; }
	.sf-rw2__lede { font-size: 14px; }
	.sf-mcard { transform: none; }
	.sf-rw2__tiles { grid-template-columns: 1fr; }
	.sf-mcard { margin: 0 auto; }
	.sf-rw2__tab { flex: 1 1 0; padding: 0 8px; }
	.sf-rw2__tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.sf-rw2__tier { min-height: 62px; padding: 8px 10px; border-radius: 16px; }
	.sf-rw2__tier-num { font-size: 18px; }
	.sf-rw2__tier-sub { font-size: 10.5px; }
	.sf-rw2__tier--ready { grid-column: 1 / -1; }
}
.sf-rw2__tile-link { align-self: flex-start; min-height: 32px; margin-top: 4px; }
.sf-rw2__profile { display: flex; flex-direction: column; gap: 8px; max-width: 460px; padding: 22px; border-radius: 24px; background: var(--sf-white); }
.sf-rw2__profile .sf-btn { align-self: flex-start; margin-top: 6px; }
.sf-rw2__readonly { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; font-size: 14px; }
.sf-rw2__readonly > span { display: flex; flex-direction: column; gap: 2px; }
.sf-rw2__tabs { scroll-margin-top: calc(var(--sf-header-h) + 40px); }

/* My profile */
.sf-prof { display: flex; flex-direction: column; gap: 18px; max-width: 620px; margin: 0 auto; padding: 32px 0 24px; }
.sf-prof__back { align-self: flex-start; min-height: var(--sf-tap); display: inline-flex; align-items: center; font-size: 14px; color: var(--sf-muted); text-decoration: none; }
.sf-prof__back:hover { color: var(--sf-espresso); }
.sf-prof__head { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.sf-prof__title { margin: 0; font-family: var(--sf-font-head); font-size: 36px; line-height: 1.15; font-weight: 400; }
.sf-prof__meta { margin: 0; font-size: 14px; color: var(--sf-muted); }
.sf-prof__card { display: flex; flex-direction: column; gap: 16px; padding: 26px 28px; border-radius: var(--sf-r-card); background: var(--sf-white); }
.sf-prof__h2 { margin: 0; font-family: var(--sf-font-head); font-size: 21px; font-weight: 400; }
.sf-prof__field { display: flex; flex-direction: column; gap: 6px; }
.sf-prof__label { font-size: 13px; font-weight: 500; }
.sf-prof__hint { font-size: 13px; color: var(--sf-muted); }
.sf-prof__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sf-prof__msg { font-size: 13px; color: var(--sf-brown); }
.sf-prof__msg[hidden] { display: none; }
.sf-prof__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.sf-prof__list div { display: flex; flex-direction: column; gap: 2px; }
.sf-prof__list dt { font-size: 13px; color: var(--sf-muted); }
.sf-prof__list dd { margin: 0; font-size: 15px; }
.sf-prof__foot { padding: 0 4px; }
@media (max-width: 767px) {
	.sf-prof { padding: 8px 16px 24px; }
	.sf-prof__title { font-size: 28px; }
	.sf-prof__card { padding: 20px; }
	.sf-prof__list { grid-template-columns: 1fr; }
}
