/* Soo:Tree — main styles. Tokens come from the brandbook (v02). */

:root {
	--ink: #151c0d;       /* Secure Earthy Black */
	--moss: #809132;      /* Calming Moss Green */
	--sky: #99b7cd;       /* Moisturising Blue */
	--paper: #edece4;     /* Soft Airy Grey */
	--water: #a3d8ff;     /* Watering Blue (point) */
	--lime: #c3e978;      /* Fresh Green (point) */
	--blush: #eadbd2;     /* BB Cream accent (from the brief; not in the brandbook) */
	--white: #fbfaf6;
	--muted: #5c6350;

	--font-body: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
	--font-logo: "Fraunces", "Times New Roman", serif;

	--radius: 22px;
	--gutter: 20px;
	--maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	word-break: keep-all;          /* Korean: do not break inside words */
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(21, 28, 13, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { text-decoration: none; }
.logo__mark { font-family: var(--font-logo); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1; }
.nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; font: inherit; color: inherit; padding: 8px 0; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.site-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--paper); padding: 8px var(--gutter) 20px; border-bottom: 1px solid rgba(21, 28, 13, .08); }
.site-nav.is-open { display: block; }
.site-nav ul { display: grid; }
.site-nav a { text-decoration: none; display: block; padding: 12px 0; font-weight: 500; }
.lang-switch { display: inline-block !important; margin-top: 8px; padding: 6px 14px !important; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; }

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex !important; position: static; padding: 0; background: none; border: 0; align-items: center; gap: 28px; }
	.site-nav ul { display: flex; gap: 28px; }
	.site-nav a { padding: 6px 0; }
	.lang-switch { margin: 0 !important; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #24301a; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--lime); border-color: var(--lime); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.link-arrow--light { color: var(--paper); }

/* ---------- type ---------- */
.eyebrow { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--moss); margin-bottom: 14px; }
.eyebrow--light { color: var(--lime); }
.section__title { font-size: clamp(28px, 4.4vw, 46px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.section__title--light { color: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #e9f2a6 0%, #c9e3b5 35%, #b6d3e0 70%, #99b7cd 100%); padding: 72px 0 96px; }
.hero__inner { position: relative; z-index: 2; }
.hero__title { font-size: clamp(38px, 8vw, 96px); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; margin: 6px 0 22px; max-width: 14ch; }
.hero__title span { display: block; }
.hero__title-en { font-size: .42em; font-weight: 500; letter-spacing: -0.01em; margin-top: 18px; opacity: .85; line-height: 1.2; }
.hero__lead { max-width: 46ch; font-size: clamp(16px, 2vw, 19px); margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__orb { position: absolute; right: -8%; top: 8%; width: min(46vw, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.7), rgba(163,216,255,.35) 45%, rgba(21,28,13,.08) 100%); box-shadow: inset 0 0 0 1px rgba(21,28,13,.1), 0 0 0 40px rgba(255,255,255,.12), 0 0 0 90px rgba(255,255,255,.08); animation: drift 14s ease-in-out infinite alternate; }

.wp-block-cover.hero-cover-tight { padding-inline: 0; }
.hero-cover-tight .wp-block-cover__inner-container { max-width: var(--maxw); width: 100%; margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.hero-cover-tight .wp-block-cover__inner-container > :not(.wp-block-buttons) { max-width: 640px; }
@keyframes drift { to { transform: translate(-16px, 20px) scale(1.03); } }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 40px 0 72px; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--sky { background: linear-gradient(160deg, #cfdde6 0%, var(--sky) 100%); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.page-head { padding: 64px 0 24px; }
.page-head__title { font-size: clamp(40px, 8vw, 88px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.page-head__lead { max-width: 60ch; margin: 18px 0 8px; font-size: 18px; }
.page-head--brand { background: linear-gradient(135deg, #e9f2a6 0%, #b6d3e0 100%); padding-bottom: 56px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- cards ---------- */
.card { border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(21, 28, 13, .12); }
.card__link { display: grid; text-decoration: none; height: 100%; }
.card__visual { display: grid; place-items: center; padding: 28px 0 8px; min-height: 340px; background: var(--paper); }
.card--blush .card__visual { background: var(--blush); }
.card--sky .card__visual { background: #cfe0ee; }
.card__visual svg { height: 280px; width: auto; }
.card__body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.card__title { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.card__sub { color: var(--muted); }
.card__cta { font-weight: 600; margin-top: 6px; }
.card--coming_soon .card__visual { opacity: .92; }
.badge { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); text-transform: uppercase; }

.swatches { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.swatches li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(21, 28, 13, .2); }
.swatches--lg { font-size: 16px; margin: 18px 0 24px; }
.swatches--lg .swatch { width: 26px; height: 26px; }

/* ---------- philosophy / spotlight ---------- */
.philosophy { display: grid; gap: 28px; }
.philosophy__text { display: grid; gap: 22px; max-width: 58ch; font-size: 18px; }
@media (min-width: 900px) { .philosophy { grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; } }
.spotlight { display: grid; gap: 0; border-radius: 32px; overflow: hidden; background: var(--blush); }
.spotlight__visual { display: grid; place-items: center; padding: 40px 0 0; min-height: 380px; }
.spotlight__visual svg { height: 340px; width: auto; }
.spotlight__body { padding: 32px 28px 40px; display: grid; gap: 14px; align-content: center; }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 1fr; } .spotlight__body { padding: 56px; } }

/* ---------- notify form ---------- */
.notify { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .notify { grid-template-columns: 1fr 1fr; gap: 64px; } }
.notify-form { display: grid; gap: 12px; }
.notify-form__label { font-weight: 600; font-size: 14px; }
.notify-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-form__row input { flex: 1 1 220px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--white); padding: 0 20px; font: inherit; color: inherit; }
.notify-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.notify-form__consent input { margin-top: 4px; accent-color: var(--ink); }
.notify-form__hp { position: absolute; left: -9999px; }
.notify-form__msg { font-weight: 600; padding: 10px 14px; border-radius: 12px; }
.notify-form__msg--ok { background: var(--lime); }
.notify-form__msg--error { background: #f3d4cf; }

/* ---------- product page ---------- */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); padding: 24px 0 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.product__grid { display: grid; gap: 28px; padding-bottom: 32px; }
@media (min-width: 900px) { .product__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; } }
.product__visual { position: relative; display: grid; place-items: center; min-height: 420px; padding: 32px 0 0; border-radius: 32px; background: var(--blush); transition: background .4s; }
.product--mascara .product__visual, .product--foam .product__visual { background: #cfe0ee; }
.product--toner .product__visual { background: #e3e8e3; }
.product__visual svg { height: 380px; width: auto; }
.product__visual svg path { transition: fill .4s; }
.product__shade-tag { position: absolute; left: 18px; bottom: 18px; background: var(--white); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.product__info { display: grid; gap: 16px; align-content: center; }
.product__title { font-size: clamp(32px, 5vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
.product__sub { font-size: 18px; color: var(--muted); }
.shades legend { font-size: 14px; margin-bottom: 10px; }
.shades__list { display: flex; gap: 10px; flex-wrap: wrap; }
.shade { position: relative; cursor: pointer; }
.shade input { position: absolute; opacity: 0; inset: 0; }
.shade__text { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1.5px solid rgba(21, 28, 13, .25); font-weight: 600; transition: border-color .2s, background .2s; }
.shade__chip { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(21, 28, 13, .2); position: absolute; left: 8px; top: 50%; transform: translateY(-50%); }
.shade__text { padding-left: 52px; }
.shade input:checked ~ .shade__text { border-color: var(--ink); background: var(--white); }
.shade input:focus-visible ~ .shade__text { outline: 3px solid var(--ink); outline-offset: 3px; }
.specs { display: grid; gap: 8px; }
.specs div { display: flex; gap: 16px; }
.specs dt { min-width: 84px; color: var(--muted); }
.pending { color: var(--muted); font-style: italic; }
.product__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.product__sections { display: grid; gap: 0; padding-block: 24px 40px; max-width: 860px; }
.block { padding: 32px 0; border-top: 1px solid rgba(21, 28, 13, .14); display: grid; gap: 12px; }
.block h2 { font-size: 24px; font-weight: 600; }
.facts { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.inci { border: 1px solid rgba(21, 28, 13, .18); border-radius: 14px; padding: 4px 18px; background: var(--white); margin-bottom: 8px; }
.inci summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.inci p { padding-bottom: 14px; font-size: 14px; line-height: 1.7; word-break: normal; }

/* ---------- brand story ---------- */
.story { padding: 56px 0; border-bottom: 1px solid rgba(21, 28, 13, .1); }
.story__inner { display: grid; gap: 16px; }
.story__num { font-size: clamp(56px, 10vw, 120px); font-weight: 300; line-height: 1; color: var(--sky); }
.story__title { font-size: clamp(26px, 4vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; max-width: 22ch; margin-bottom: 14px; }
.story__text { max-width: 58ch; font-size: 18px; color: var(--muted); }
@media (min-width: 900px) { .story__inner { grid-template-columns: 200px 1fr; align-items: start; gap: 40px; } }
.closing { font-family: var(--font-logo); font-size: clamp(30px, 6vw, 64px); font-weight: 500; line-height: 1.1; margin-bottom: 12px; }
.closing__ko { margin-bottom: 32px; opacity: .8; font-size: 20px; }

.prose { max-width: 760px; }
.prose > * + * { margin-top: 1em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.logo__mark--footer { font-size: 40px; margin-bottom: 12px; }
.site-footer__tag { opacity: .85; }
.site-footer__tag--ko { opacity: .6; font-size: 14px; }
.site-footer__h { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); margin: 0 0 10px; }
.site-footer ul { display: grid; gap: 6px; margin-bottom: 20px; }
.site-footer .muted { color: rgba(237, 236, 228, .6); font-size: 13px; }
.site-footer__base { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(237, 236, 228, .15); opacity: .7; }

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

/* ---------- block pages ---------- */
.entry > * { margin-block: 0; }
.entry > :not(.alignfull):not(.alignwide):not(.wp-block-group.alignfull) { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.entry > .alignwide { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.entry > .alignfull { width: 100%; max-width: none; }
.entry > * + * { margin-top: 1.5rem; }
.entry > .alignfull + *, .entry > * + .alignfull { margin-top: 0; }
.entry > :last-child { margin-bottom: 4rem; }
.entry .wp-block-group.alignfull > * { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.entry .wp-block-group.promo-banner-wrap > * { max-width: none; margin-inline: 0; padding-inline: 0; }
.entry .wp-block-button__link { text-decoration: none; }
.entry--page { padding-top: 24px; }
.woo { padding-block: 16px; }
.woo .woocommerce-message, .woo .woocommerce-info { background: var(--white); border-radius: 12px; padding: 14px 18px; list-style: none; }
.woo .button, .woo button.button, .woo .wp-element-button { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 12px 24px; text-decoration: none; border: 0; font-weight: 600; }

/* ---------- banners & photo slots ---------- */
.hero--photo { background-size: cover; background-position: center; }
.hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(237, 236, 228, .88), rgba(237, 236, 228, 0) 70%); }
.hero--photo .hero__orb { display: none; }
.banner { position: relative; overflow: hidden; border-radius: 8px; min-height: 260px; padding: 40px 32px; display: flex; align-items: flex-end; color: var(--paper); background: linear-gradient(160deg, #151c0d 0%, #2b3a17 100%) center / cover no-repeat; margin-bottom: 24px; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 28, 13, .55), rgba(21, 28, 13, .05) 60%); }
.banner__body { position: relative; display: grid; gap: 8px; max-width: 520px; }
.banner__title { font-size: clamp(26px, 4vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.page-head--banner { background: linear-gradient(135deg, #e9f2a6 0%, #b6d3e0 100%) center / cover; padding-bottom: 48px; }
.page-head--banner.has-image { color: var(--ink); }

/* ---------- catalogue ---------- */
.catalogue { display: grid; gap: 24px; }
@media (min-width: 900px) { .catalogue { grid-template-columns: 220px 1fr; gap: 40px; align-items: start; } .filters { position: sticky; top: 88px; } }
.filters { display: grid; gap: 22px; }
.filters__group { display: grid; gap: 6px; }
.filters__group legend { font-weight: 700; margin-bottom: 8px; font-size: 14px; letter-spacing: .02em; }
.filters__opt { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 0; }
.filters__opt input { accent-color: var(--ink); width: 16px; height: 16px; }
@media (max-width: 899px) { .filters { grid-auto-flow: column; overflow-x: auto; gap: 28px; padding-bottom: 8px; } .filters__group { min-width: max-content; } }
.catalogue__count { margin-bottom: 12px; font-size: 14px; }
.catalogue__empty { padding: 40px 0; }
.card[hidden] { display: none; }

/* ---------- product extras ---------- */
.factrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin-top: 8px; }
.factrow li { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 16px; background: var(--white); text-align: center; font-weight: 600; font-size: 14px; }
.factrow__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--moss); }
.shadeguide { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.shadeguide__item { margin: 0; }
.shadeguide__swatch { aspect-ratio: 4 / 3; border-radius: 18px; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--sw) 70%, white), var(--sw)); box-shadow: inset 0 0 0 1px rgba(21, 28, 13, .12); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(21, 28, 13, .25); background: var(--white); font-weight: 600; font-size: 14px; }

/* ---------- mobile tab bar ---------- */
.tabbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid rgba(21, 28, 13, .1); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; text-decoration: none; font-size: 11px; font-weight: 600; }
@media (max-width: 899px) { body { padding-bottom: 68px; } }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- store: nav, buy box, cart/checkout/account ---------- */
.nav-icon { text-decoration: none; font-weight: 500; }
.site-nav .nav-icon { display: inline-flex; align-items: center; gap: 6px; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; }
.cart-count[hidden] { display: none; }
.tabbar--5 { grid-template-columns: repeat(5, 1fr); }
.buy { display: grid; gap: 12px; margin-top: 4px; }
.buy__price { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.buy__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.buy__qty input { width: 84px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--white); padding: 0 16px; font: inherit; text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.woocommerce-cart .entry > *, .woocommerce-checkout .entry > *, .woocommerce-account .entry > * { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.entry > .woocommerce { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.entry--page { padding-bottom: 64px; }
.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"], .woocommerce select, .woocommerce textarea,
.wc-block-components-text-input input, .wc-block-components-select select { border-radius: 14px !important; border: 1.5px solid rgba(21, 28, 13, .35) !important; background: var(--white) !important; min-height: 48px; font-family: inherit; }
.woocommerce .button, .woocommerce button.button, .wc-block-components-button:not(.is-link), .wp-block-woocommerce-cart .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--ink) !important; color: var(--paper) !important; border-radius: 999px !important; border: 0 !important; font-weight: 600 !important; padding: 14px 28px !important; text-decoration: none; }
.woocommerce table.shop_table { border-radius: 16px; border-collapse: separate; overflow: hidden; background: var(--white); border: 0; }
.woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(21, 28, 13, .25); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- footer: seller details ---------- */
.site-footer__company { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(237, 236, 228, .15); display: grid; gap: 12px; font-size: 13px; }
.company { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.company div { display: flex; gap: 8px; }
.company dt { opacity: .6; }
.company dd { margin: 0; }
.site-footer__company .muted { color: rgba(237, 236, 228, .55); }

/* ---------- social login ---------- */
.social-login { display: grid; gap: 10px; margin: 0 0 28px; max-width: 420px; }
.social-login__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.social-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.social-btn--kakao { background: #fee500; color: #191919; }
.social-btn--naver { background: #03c75a; color: #fff; }
.social-btn:hover { filter: brightness(.96); }

/* ---------- footer socials ---------- */
.site-footer ul.socials { display: flex; gap: 10px; margin: 0; }
.socials__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(237, 236, 228, .4); transition: background .2s, color .2s, border-color .2s; }
.socials__link:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); text-decoration: none; }

/* ---------- legal ---------- */
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer-links__privacy strong { color: var(--lime); }
.company__escrow { font-size: 12px; opacity: .75; }
.site-footer .company a { text-decoration: underline; }
.legal-doc { max-width: 860px; }
.legal-doc h1 { display: none; }
.legal-doc h2 { font-size: 20px; font-weight: 600; margin: 36px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--ink); line-height: 1.75; word-break: keep-all; }
.legal-doc ol, .legal-doc ul { padding-left: 1.4em; list-style: revert; margin: 8px 0; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; background: var(--white); border-radius: 12px; overflow: hidden; }
.legal-doc th, .legal-doc td { padding: 10px 12px; border: 1px solid rgba(21, 28, 13, .15); text-align: left; vertical-align: top; }
.legal-doc th { background: rgba(21, 28, 13, .06); }
.legal-todo { background: #ffe58a; color: var(--ink); padding: 0 4px; border-radius: 4px; }
.prose > * + * { margin-top: 0; }

/* ---------- product notice & return policy ---------- */
.product-notice, .product-return-policy { padding: 32px 0; border-top: 1px solid rgba(21, 28, 13, .14); }
.product-notice h2, .product-return-policy h2 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.product-notice table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); border-radius: 12px; overflow: hidden; }
.product-notice th, .product-notice td { padding: 10px 14px; border: 1px solid rgba(21, 28, 13, .12); text-align: left; vertical-align: top; }
.product-notice th { width: 34%; background: rgba(21, 28, 13, .05); font-weight: 600; }
.product-return-policy h3 { font-size: 16px; font-weight: 700; margin: 18px 0 6px; }
.product-return-policy ul { padding-left: 1.3em; list-style: disc; display: grid; gap: 4px; font-size: 14px; }
.product-return-policy p { font-size: 14px; margin-top: 14px; }
@media (max-width: 640px) { .product-notice th, .product-notice td { display: block; width: 100%; } }

/* ---------- consents ---------- */
.consent-signup { border: 1.5px solid rgba(21, 28, 13, .2); border-radius: 16px; padding: 16px 18px; margin: 16px 0; display: grid; gap: 10px; background: var(--white); }
.consent-signup legend { font-weight: 700; padding: 0 8px; }
.consent-signup label { display: flex; gap: 10px; align-items: flex-start; }
.consent-signup input[type="checkbox"], .social-login__consent input, .account-delete input[type="checkbox"] { accent-color: var(--ink); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.consent-note { font-size: 13px; color: var(--muted); }
.consent-link { font-size: 13px; }
.consent-signup details { font-size: 13px; }
.consent-signup summary { cursor: pointer; font-weight: 600; }
.consent-signup table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.consent-signup th, .consent-signup td { border: 1px solid rgba(21, 28, 13, .15); padding: 8px; text-align: left; vertical-align: top; }
.consent-sub { display: grid; gap: 8px; }
.social-login__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.social-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.account-delete { display: grid; gap: 16px; max-width: 560px; }

/* ---------- real logo (replaces the text placeholder) ---------- */
.logo__img { display: block; height: 34px; width: auto; }
.logo__img--footer { height: 34px; }
.logo { display: inline-flex; align-items: center; }
.logo__img--dark, .logo__img--light { height: 34px; width: auto; }
.logo__img--light { display: none; }

/* ---------- transparent header over a photo hero (front page) ---------- */
.site-header.site-header--overlay {
	position: fixed;
	inset-inline: 0;
	top: 0;
	/* A photo can be light right where the logo sits; a soft top vignette keeps the white
	   logo and nav readable regardless of what is behind them, while the photo still shows. */
	background: linear-gradient(180deg, rgba(21, 28, 13, .5) 0%, rgba(21, 28, 13, .22) 60%, rgba(21, 28, 13, 0) 100%);
	border-bottom-color: transparent;
	backdrop-filter: none;
	transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header--overlay .logo__img--dark { display: none; }
.site-header--overlay .logo__img--light { display: block; }
.site-header--overlay .site-nav a,
.site-header--overlay .nav-icon,
.site-header--overlay .lang-switch,
.site-header--overlay .nav-toggle { color: var(--paper); }
.site-header--overlay .lang-switch { border-color: var(--paper); }

.site-header--overlay.is-solid {
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom-color: rgba(21, 28, 13, .08);
}
.site-header--overlay.is-solid .logo__img--dark { display: block; }
.site-header--overlay.is-solid .logo__img--light { display: none; }
.site-header--overlay.is-solid .site-nav a,
.site-header--overlay.is-solid .nav-icon,
.site-header--overlay.is-solid .lang-switch,
.site-header--overlay.is-solid .nav-toggle { color: var(--ink); }
.site-header--overlay.is-solid .lang-switch { border-color: var(--ink); }

/* The mobile menu dropdown always has a solid background, so its text must stay dark
   even while the header itself is still transparent (not scrolled yet). */
.site-header--overlay .site-nav.is-open a,
.site-header--overlay .site-nav.is-open .nav-icon,
.site-header--overlay .site-nav.is-open .lang-switch { color: var(--ink); }
.site-header--overlay .site-nav.is-open .lang-switch { border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
	.site-header.site-header--overlay { transition: none; }
}

/* ---------- "Why Soo:Tree" principles ---------- */
.why-icon { color: var(--moss); margin-bottom: 14px; }
.why-icon svg { display: block; }
.entry .wp-block-columns { column-gap: 32px; }

/* ---------- promo tiles (two banners under the product grid) ---------- */
.promo-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 340px; padding: 28px; border-radius: 8px; overflow: hidden; color: var(--paper); text-decoration: none; background-size: cover; background-position: center; background-color: var(--ink); transition: transform .3s ease; }
.promo-tile:hover { transform: translateY(-4px); }
.promo-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 28, 13, .55), rgba(21, 28, 13, .1) 55%); }
.promo-tile--brand { background-image: linear-gradient(150deg, #d9c9a8 0%, #8a7350 100%); }
.promo-tile--sequoia { background-image: linear-gradient(160deg, #1c2a12 0%, #3a4d22 100%); }
.promo-tile__eyebrow, .promo-tile__title, .promo-tile__link { position: relative; z-index: 1; }
.promo-tile__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.promo-tile__title { font-size: clamp(22px, 3vw, 30px); font-weight: 500; letter-spacing: -0.01em; }
.promo-tile__link { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.promo-tiles { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .promo-tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- full-width Sequoia banner (replaces the old two-tile promo row) ---------- */
.promo-banner { position: relative; display: flex; align-items: flex-end; min-height: 380px; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #151c0d 0%, #2b3a17 100%) center / cover no-repeat; text-decoration: none; color: var(--paper); }
.wp-block-group.promo-banner-wrap { padding-inline: 0; }
.promo-banner--full { border-radius: 0; }
.promo-banner--full .promo-banner__body { padding-inline: var(--gutter); max-width: 620px; }
@media (min-width: 1200px) { .promo-banner--full .promo-banner__body { padding-left: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.promo-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 28, 13, .68) 0%, rgba(21, 28, 13, .25) 55%, rgba(21, 28, 13, 0) 85%); }
.promo-banner__body { position: relative; z-index: 1; display: grid; gap: 8px; max-width: 460px; padding: 36px; }
.promo-banner__eyebrow { font-family: var(--font-logo); font-size: clamp(24px, 3.2vw, 34px); font-weight: 500; letter-spacing: .04em; }
.promo-banner__title { font-size: 17px; opacity: .92; }
.promo-banner__link { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.promo-banner:hover .promo-banner__body { transform: translateY(-2px); transition: transform .3s ease; }
@media (min-width: 900px) { .promo-banner { min-height: 440px; } }

/* ---------- editorial product banner tiles (Home teaser grids) ---------- */
.card-banner { border-radius: 8px; overflow: hidden; }
.card-banner__link { position: relative; display: block; min-height: 460px; text-decoration: none; color: var(--ink); }
.card-banner__visual { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); }
.card-banner--blush .card-banner__visual { background: var(--blush); }
.card-banner--sky .card-banner__visual { background: #cfe0ee; }
.card-banner__visual img { width: 100%; height: 100%; object-fit: cover; }
.card-banner__visual svg { height: 320px; width: auto; }
.card-banner__overlay { position: relative; z-index: 1; display: grid; gap: 6px; align-content: start; max-width: 62%; padding: 32px; }
.card-banner__badge { justify-self: start; margin-bottom: 6px; }
.card-banner__title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.card-banner__sub, .card-banner__shades { font-size: 15px; color: var(--muted); }
.card-banner__cta { margin-top: 10px; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.card-banner:hover .card-banner__visual img { transform: scale(1.03); transition: transform .4s ease; }


/* =====================================================================
   Scroll animations (hidden state is printed in <head> by inc/motion.php)
   Uses the individual `translate` / `scale` properties, so hover effects that use `transform` keep working.
   ===================================================================== */
@keyframes st-rise {
	from { opacity: 0; translate: var(--rv-x, 0) var(--rv-y, 26px); scale: var(--rv-s, 1); }
	to   { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes st-hero-img { from { scale: 1.26; } to { scale: 1.12; } }
@keyframes st-draw { to { stroke-dashoffset: 0; } }

/* Variants: add one as an "Additional CSS class" to a block in the editor. */
.rv-left  { --rv-x: -44px; --rv-y: 0; }
.rv-right { --rv-x: 44px;  --rv-y: 0; }
.rv-zoom  { --rv-y: 0; --rv-s: .94; }
.rv-fade  { --rv-y: 0; }
.rv-slow  { --rv-d: 1.5s; }
.promo-banner { --rv-y: 0; }   /* the banner only fades: its background is fixed on desktop */

@media (prefers-reduced-motion: no-preference) {
	.js .is-in { opacity: 1; animation: st-rise var(--rv-d, .95s) cubic-bezier(.2, .7, .2, 1) var(--rv-delay, 0s) backwards; }

	/* Hero: the photo settles in, the text arrives line by line. */
	.js .hero-cover-tight .wp-block-cover__image-background { scale: 1.12; animation: st-hero-img 2.6s cubic-bezier(.2, .6, .2, 1) both; will-change: transform; }
	.js .hero-cover-tight .wp-block-cover__inner-container > * { animation: st-rise 1.05s cubic-bezier(.2, .7, .2, 1) backwards; }
	.js .hero-cover-tight .wp-block-cover__inner-container > :nth-child(1) { animation-delay: .25s; }
	.js .hero-cover-tight .wp-block-cover__inner-container > :nth-child(2) { animation-delay: .4s; }
	.js .hero-cover-tight .wp-block-cover__inner-container > :nth-child(3) { animation-delay: .6s; }
	.js .hero-cover-tight .wp-block-cover__inner-container > :nth-child(4) { animation-delay: .8s; }

	/* "Why Soo:Tree" icons are drawn like growing roots. */
	.js-ready .why-icon svg :is(path, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; }
	.js-ready .wp-block-column.is-in .why-icon svg :is(path, circle) { animation: st-draw 1.7s cubic-bezier(.5, 0, .2, 1) calc(var(--rv-delay, 0s) + .3s) forwards; }
}

/* Desktop only: the forest photo stays still while the page slides over it. */
@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
	.promo-banner--full { background-attachment: fixed; }
}

/* Reading-progress line at the very top. */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1000; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--moss); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Small touches */
.btn { transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease; }
.btn:hover { box-shadow: 0 10px 24px rgba(21, 28, 13, .16); }
.link-arrow, .card-banner__cta, .promo-banner__link { text-underline-offset: 4px; transition: text-underline-offset .25s ease; }
.card-banner:hover .card-banner__cta, .promo-banner:hover .promo-banner__link { text-underline-offset: 7px; }
