@charset "UTF-8";
/* ═══════════════════════════════════════════════════
   style.css — Teerau · Tea House
   Prefix: th-  (cart engine keeps rst- on drawer/badge/toast)
   Theme: serene jade / cream / charcoal, terracotta accent
   Display: Marcellus  |  Body: Mulish
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Mulish:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --jade:       #3b6b4f;   /* matcha/jade primary */
  --jade-deep:  #2c5340;
  --jade-soft:  #6b9079;
  --cream:      #f3ede0;   /* page background */
  --cream-2:    #ece4d3;   /* panel */
  --cream-3:    #e2d8c3;   /* border-ish */
  --charcoal:   #262420;   /* text / dark sections */
  --charcoal-2: #3a372f;
  --terracotta: #c0623d;   /* accent */
  --terracotta-d:#a8512f;
  --paper:      #faf6ec;   /* cards */
  --text:       #262420;
  --text-muted: #6f6857;
  --text-faint: #9a917d;
  --line:       #ddd2bb;

  --ff-display: 'Marcellus', Georgia, 'Times New Roman', serif;
  --ff-body:    'Mulish', system-ui, -apple-system, sans-serif;

  --radius-s: 3px;
  --radius-m: 10px;
  --radius-l: 22px;

  --shadow-soft: 0 10px 30px rgba(38,36,32,0.08);
  --shadow-lift: 0 18px 46px rgba(38,36,32,0.16);

  --max-w: 1240px;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --anim: 0.25s ease;
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: clamp(0.94rem, 0.5vw + 0.82rem, 1.05rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.12; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ── utilities ── */
.th-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.th-container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.th-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.th-reveal.is-visible { opacity: 1; transform: none; }
.th-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--terracotta);
}
.th-section-title { font-size: clamp(1.7rem, 3vw, 2.6rem); color: var(--charcoal); letter-spacing: 0.01em; }
.th-section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem,4vw,3.2rem); }
.th-section-head .th-eyebrow { display: block; margin-bottom: 0.7rem; }
.th-lede { color: var(--text-muted); font-size: 1.04rem; }

/* ════════ BUTTONS ════════ */
.th-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--ff-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.92rem 1.7rem; border-radius: 999px;
  transition: transform var(--anim), background var(--anim), color var(--anim), box-shadow var(--anim);
  white-space: nowrap;
}
.th-btn-primary { background: var(--jade); color: #f6f2e7; }
.th-btn-primary:hover { background: var(--jade-deep); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.th-btn-accent { background: var(--terracotta); color: #fbf3ee; }
.th-btn-accent:hover { background: var(--terracotta-d); transform: translateY(-2px); }
.th-btn-ghost { background: transparent; color: var(--jade-deep); box-shadow: inset 0 0 0 1.5px var(--jade); }
.th-btn-ghost:hover { background: var(--jade); color: #f6f2e7; }
.th-btn-white { background: var(--cream); color: var(--jade-deep); }
.th-btn-white:hover { background: #fff; transform: translateY(-2px); }
.th-btn-sm { padding: 0.6rem 1.1rem; font-size: 0.72rem; }

/* ════════ HEADER — centered masthead (archetype B) ════════ */
.th-topline {
  background: var(--jade-deep); color: #d8e2d3;
  font-family: var(--ff-body); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; padding: 0.5rem 1rem;
}
.th-topline strong { color: #fff; font-weight: 700; }

.th-head { position: sticky; top: 0; z-index: 60; background: rgba(243,237,224,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow var(--anim); }
.th-head--stuck { box-shadow: 0 6px 22px rgba(38,36,32,0.08); }
.th-head-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0.55rem var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
/* left + right nav clusters flank the centered brand */
.th-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.th-nav--left { justify-content: flex-end; }
.th-nav--right { justify-content: flex-start; }
.th-nav-link {
  font-family: var(--ff-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal-2); position: relative; padding: 0.4rem 0; transition: color var(--anim);
}
.th-nav-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--terracotta); transition: width var(--anim); }
.th-nav-link:hover, .th-nav-link.is-active { color: var(--jade-deep); }
.th-nav-link:hover::after, .th-nav-link.is-active::after { width: 100%; }

.th-brandslot {
  font-family: var(--ff-display); font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  letter-spacing: 0.06em; color: var(--charcoal); text-align: center; white-space: nowrap;
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1;
}
.th-brandslot .th-brand-mark { color: var(--jade); }
.th-brandslot .th-brand-sub { font-family: var(--ff-body); font-size: 0.56rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--text-faint); margin-top: 0.28rem; }

.th-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.35rem; grid-column: 3; }
.th-head-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--charcoal); transition: background var(--anim), color var(--anim); }
.th-head-btn:hover { background: var(--cream-2); color: var(--jade-deep); }
.th-head-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.th-cart-btn { position: relative; }
.rst-cart-badge { position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; background: var(--terracotta); color: #fff; font-family: var(--ff-body); font-size: 0.62rem; font-weight: 700; border-radius: 999px; display: flex; align-items: center; justify-content: center; }

.th-hamburger { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 50%; }
.th-hamburger span { display: block; width: 21px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform var(--anim), opacity var(--anim); }
.th-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.th-hamburger.is-open span:nth-child(2) { opacity: 0; }
.th-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav panel */
.th-mobile-nav {
  position: fixed; inset: 0; z-index: 55; background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem;
  transform: translateX(100%); transition: transform .32s ease; padding: 2rem;
}
.th-mobile-nav.is-open { transform: translateX(0); }
.th-mobile-nav-link { font-family: var(--ff-display); font-size: 1.6rem; color: var(--charcoal); }
.th-mobile-nav-link:hover { color: var(--jade); }

/* ════════ HERO — editorial, text-left / image bleeds right (archetype 4/5) ════════ */
.th-hero { position: relative; background: var(--cream); overflow: hidden; }
.th-hero-grid {
  max-width: var(--max-w); margin: 0 auto; padding: clamp(2.5rem,5vw,4.5rem) 0 0;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; gap: 0;
}
.th-hero-left { padding: clamp(1.5rem,4vw,3rem) var(--gutter) clamp(3rem,6vw,5rem); align-self: center; max-width: 620px; }
.th-hero-kicker { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem; }
.th-hero-kicker .th-eyebrow { color: var(--jade); }
.th-hero-kicker .th-rule { width: 44px; height: 1px; background: var(--terracotta); }
.th-hero-headline { font-size: clamp(2.5rem, 5.4vw, 4.3rem); color: var(--charcoal); letter-spacing: 0.005em; }
.th-hero-headline em { font-style: italic; color: var(--jade); }
.th-hero-lede { margin: 1.5rem 0 2.1rem; color: var(--text-muted); font-size: 1.1rem; max-width: 30em; }
.th-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }
/* image column that bleeds to the right edge, full height */
.th-hero-right { position: relative; min-height: 460px; }
.th-hero-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.th-hero-right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream) 0%, rgba(243,237,224,0) 22%); pointer-events: none; }
.th-hero-tag { position: absolute; left: 1.4rem; bottom: 1.4rem; z-index: 2; background: rgba(38,36,32,0.66); color: #f3ede0; font-family: var(--ff-body); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5rem 0.9rem; border-radius: 999px; backdrop-filter: blur(3px); }

/* brewing-ritual strip under the hero (full-width band, replaces stat cards) */
.th-ritual { background: var(--charcoal); color: #e8e0cf; }
.th-ritual-inner { max-width: var(--max-w); margin: 0 auto; padding: clamp(1.4rem,2.5vw,2rem) var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.th-ritual-step { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.2rem 0; }
.th-ritual-step .th-ritual-num { font-family: var(--ff-display); font-size: 1.1rem; color: var(--terracotta); }
.th-ritual-step .th-ritual-t { font-family: var(--ff-body); font-weight: 600; font-size: 0.92rem; color: #f3ede0; }
.th-ritual-step .th-ritual-d { font-size: 0.82rem; color: #b7ad97; line-height: 1.5; }

/* ════════ CATEGORY RAIL ════════ */
.th-cats { padding: clamp(3.5rem,6vw,6rem) 0; }
.th-cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.th-cat-card { position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-soft); display: block; }
.th-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.th-cat-card:hover img { transform: scale(1.06); }
.th-cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38,36,32,0.78) 0%, rgba(38,36,32,0.05) 55%); }
.th-cat-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.3rem 1.4rem; color: #f3ede0; }
.th-cat-cap .th-cat-name { font-family: var(--ff-display); font-size: 1.45rem; }
.th-cat-cap .th-cat-meta { font-size: 0.8rem; color: #cfc6b1; letter-spacing: 0.05em; }

/* ════════ PRODUCT CARD ════════ */
.th-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--anim), box-shadow var(--anim), border-color var(--anim); }
.th-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--cream-3); }
.th-card-img-wrap { aspect-ratio: 1/1; overflow: hidden; background: var(--cream-2); }
.th-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.th-card:hover .th-card-img-wrap img { transform: scale(1.05); }
.th-card-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; min-width: 0; }
.th-card-cat { font-family: var(--ff-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jade); }
.th-card-name { font-family: var(--ff-display); font-size: 1.18rem; color: var(--charcoal); line-height: 1.2; }
.th-card-name a:hover { color: var(--jade-deep); }
.th-strength { display: flex; align-items: center; gap: 0.5rem; }
.th-strength-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); min-width: 56px; }
.th-strength-track { flex: 1; height: 5px; background: var(--cream-3); border-radius: 999px; overflow: hidden; max-width: 120px; }
.th-strength-fill { height: 100%; background: linear-gradient(90deg, var(--jade-soft), var(--jade)); border-radius: 999px; }
.th-strength-fill[data-level="1"] { width: 33%; }
.th-strength-fill[data-level="2"] { width: 66%; }
.th-strength-fill[data-level="3"] { width: 100%; }
.th-card-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.th-chip { font-size: 0.7rem; letter-spacing: 0.02em; color: var(--text-muted); background: var(--cream-2); border: 1px solid var(--line); padding: 0.16rem 0.6rem; border-radius: 999px; }
.th-chip-accent { background: rgba(192,98,61,0.1); border-color: rgba(192,98,61,0.28); color: var(--terracotta-d); }
.th-card-short { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.th-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.4rem; }
.th-price { font-family: var(--ff-display); font-size: 1.3rem; color: var(--charcoal); }
.th-price-sub { font-size: 0.72rem; color: var(--text-faint); }

/* ════════ FEATURED & GRIDS ════════ */
.th-featured { padding: clamp(2rem,4vw,3rem) 0 clamp(3.5rem,6vw,6rem); }
.th-featured-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.th-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.th-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }

/* ════════ EDITORIAL SPLIT (philosophy) ════════ */
.th-philosophy { background: var(--jade-deep); color: #eef1e9; padding: clamp(3.5rem,6vw,6rem) 0; }
.th-philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.th-philosophy-img { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lift); }
.th-philosophy-img img { width: 100%; height: 100%; object-fit: cover; }
.th-philosophy .th-eyebrow { color: #d6b8a6; }
.th-philosophy h2 { font-size: clamp(1.8rem,3.2vw,2.7rem); color: #fff; margin: 0.7rem 0 1.2rem; }
.th-philosophy p { color: #c9d3c2; margin-bottom: 1rem; }
.th-philosophy-points { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.th-philosophy-point { display: flex; gap: 0.8rem; align-items: flex-start; }
.th-philosophy-point svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--terracotta); fill: none; stroke-width: 2; margin-top: 2px; }
.th-philosophy-point span { color: #e4e9df; font-size: 0.96rem; }

/* ════════ STEEPING GUIDE (tabbed) ════════ */
.th-steep { padding: clamp(3.5rem,6vw,6rem) 0; }
.th-steep-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.2rem; }
.th-steep-tab { font-family: var(--ff-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; padding: 0.6rem 1.3rem; border-radius: 999px; color: var(--text-muted); background: var(--cream-2); transition: all var(--anim); }
.th-steep-tab.is-active { background: var(--jade); color: #f3ede0; }
.th-steep-panel { display: none; }
.th-steep-panel.is-active { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem,3vw,3rem); align-items: center; }
.th-steep-info h3 { font-size: 1.7rem; color: var(--charcoal); margin-bottom: 0.8rem; }
.th-steep-info p { color: var(--text-muted); margin-bottom: 1.4rem; }
.th-steep-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.th-steep-spec { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem 0.6rem; }
.th-steep-spec .th-steep-spec-v { font-family: var(--ff-display); font-size: 1.6rem; color: var(--jade); }
.th-steep-spec .th-steep-spec-l { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.th-steep-cards { display: grid; gap: 0.8rem; }
.th-steep-card { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 0.85rem 1.1rem; transition: border-color var(--anim), transform var(--anim); }
.th-steep-card:hover { border-color: var(--jade-soft); transform: translateX(3px); }
.th-steep-card-name { font-family: var(--ff-display); font-size: 1.05rem; color: var(--charcoal); }
.th-steep-card-meta { font-size: 0.76rem; color: var(--text-faint); }

/* ════════ SUBSCRIPTION BAND ════════ */
.th-sub { background: var(--terracotta); color: #fbf3ee; padding: clamp(3rem,5vw,5rem) 0; position: relative; overflow: hidden; }
.th-sub-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.th-sub h2 { font-size: clamp(1.9rem,3.4vw,2.8rem); color: #fff; margin-bottom: 1rem; }
.th-sub p { color: #f6e3d9; margin-bottom: 1.8rem; font-size: 1.05rem; }
.th-sub-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; margin-bottom: 2rem; }
.th-sub-detail { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #fbeee7; }
.th-sub-detail::before { content: '✦'; color: #fff; }

/* ════════ JOURNAL ════════ */
.th-journal { padding: clamp(3.5rem,6vw,6rem) 0; }
.th-article-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; transition: transform var(--anim), box-shadow var(--anim); }
.th-article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.th-article-img { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.th-article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.th-article-card:hover .th-article-img img { transform: scale(1.05); }
.th-article-body { padding: 1.3rem 1.4rem 1.5rem; }
.th-article-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 0.5rem; }
.th-article-title { font-family: var(--ff-display); font-size: 1.32rem; color: var(--charcoal); margin-bottom: 0.6rem; line-height: 1.2; }
.th-article-excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.th-article-link { font-family: var(--ff-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jade-deep); }
.th-article-link::after { content: ' →'; }

/* ════════ NEWSLETTER ════════ */
.th-newsletter { background: var(--charcoal); color: #eee6d4; padding: clamp(3rem,5vw,5rem) 0; }
.th-newsletter-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.th-newsletter h2 { font-size: clamp(1.7rem,3vw,2.4rem); color: #fff; margin-bottom: 0.8rem; }
.th-newsletter p { color: #b7ad97; margin-bottom: 1.8rem; }
.th-newsletter-form { display: flex; gap: 0.6rem; max-width: 460px; margin: 0 auto; }
.th-newsletter-input { flex: 1; min-width: 0; background: #322f29; border: 1px solid #4a463c; color: #f3ede0; padding: 0.9rem 1.1rem; border-radius: 999px; }
.th-newsletter-input::placeholder { color: #8c836e; }
.th-newsletter-input:focus { outline: none; border-color: var(--jade-soft); }
.th-newsletter-privacy { font-size: 0.76rem; color: #8c836e; margin-top: 1rem; }

/* ════════ FOOTER ════════ */
.th-foot { background: var(--jade-deep); color: #cdd6c8; padding: clamp(3rem,5vw,4.5rem) 0 2rem; }
.th-foot-grid { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.th-foot-brand { font-family: var(--ff-display); font-size: 1.7rem; color: #fff; margin-bottom: 0.5rem; }
.th-foot-tagline { font-size: 0.9rem; color: #aebaa7; margin-bottom: 1.1rem; max-width: 24em; }
.th-foot-address { font-size: 0.85rem; color: #aebaa7; line-height: 1.7; margin-bottom: 1rem; font-style: normal; }
.th-foot-hours { font-size: 0.82rem; color: #97a48f; line-height: 1.7; }
.th-foot-col h4 { font-family: var(--ff-body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.th-foot-col ul { display: grid; gap: 0.55rem; }
.th-foot-col a { font-size: 0.88rem; color: #b8c2b1; transition: color var(--anim); }
.th-foot-col a:hover { color: #fff; }
.th-foot-lang { max-width: var(--max-w); margin: 2.4rem auto 0; padding: 1.6rem var(--gutter) 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.th-foot-lang-label { font-family: var(--ff-body); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8b9885; margin-right: 0.4rem; }
.th-lang-btn { font-family: var(--ff-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: #aebaa7; padding: 0.35rem 0.7rem; border-radius: 999px; transition: all var(--anim); }
.th-lang-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.th-lang-btn.is-active { background: var(--terracotta); color: #fff; }
.th-foot-fine { max-width: var(--max-w); margin: 1.6rem auto 0; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; color: #8b9885; }
.th-foot-fine-links { display: flex; gap: 1.2rem; }
.th-foot-fine-links a:hover { color: #fff; }

/* ════════ BREADCRUMB / PAGE HERO ════════ */
.th-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-faint); padding: 1rem 0 0; }
.th-breadcrumb a:hover { color: var(--jade-deep); }
.th-breadcrumb-sep { color: var(--line); }
.th-page-hero { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: clamp(2rem,4vw,3.5rem) 0; }
.th-page-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.th-page-title { font-size: clamp(2rem,4vw,3.2rem); color: var(--charcoal); margin-bottom: 0.6rem; }
.th-page-sub { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ════════ SHOP ════════ */
.th-shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: var(--max-w); margin: 0 auto; padding: 1.6rem var(--gutter) 0; }
.th-filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.th-filter-chip { font-family: var(--ff-body); font-weight: 600; font-size: 0.78rem; padding: 0.5rem 1.05rem; border-radius: 999px; color: var(--text-muted); background: var(--paper); border: 1px solid var(--line); transition: all var(--anim); }
.th-filter-chip:hover { border-color: var(--jade-soft); color: var(--jade-deep); }
.th-filter-chip.is-active { background: var(--jade); color: #f3ede0; border-color: var(--jade); }
.th-sort { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); }
.th-sort-select { background: var(--paper); border: 1px solid var(--line); color: var(--charcoal); padding: 0.5rem 0.8rem; border-radius: var(--radius-s); }
.th-shop-grid { max-width: var(--max-w); margin: 0 auto; padding: 2rem var(--gutter) clamp(3.5rem,6vw,6rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }

/* ════════ PDP ════════ */
.th-pdp { max-width: var(--max-w); margin: 0 auto; padding: 1.5rem var(--gutter) clamp(3rem,5vw,5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem,4vw,4rem); align-items: start; }
.th-pdp-gallery { position: sticky; top: 96px; }
.th-pdp-main-img { aspect-ratio: 1/1; border-radius: var(--radius-m); overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); }
.th-pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.th-pdp-thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.th-pdp-thumb { width: 72px; height: 72px; border-radius: var(--radius-s); overflow: hidden; border: 2px solid transparent; background: var(--cream-2); }
.th-pdp-thumb.is-active { border-color: var(--jade); }
.th-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.th-pdp-cat { font-family: var(--ff-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jade); margin-bottom: 0.5rem; }
.th-pdp-name { font-size: clamp(1.8rem,3.2vw,2.6rem); color: var(--charcoal); margin-bottom: 1.2rem; }
.th-pdp-specs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; margin-bottom: 1.3rem; display: grid; gap: 0.55rem; }
.th-pdp-spec-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.th-pdp-spec-key { color: var(--text-faint); letter-spacing: 0.04em; }
.th-pdp-spec-val { color: var(--charcoal); font-weight: 600; text-align: right; }
.th-pdp-notes-title { font-family: var(--ff-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.6rem; }
.th-pdp-notes-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; }
.th-selector-label { font-family: var(--ff-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.55rem; }
.th-selector-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.th-selector-opt { font-family: var(--ff-body); font-size: 0.84rem; padding: 0.55rem 1rem; border-radius: var(--radius-s); border: 1.5px solid var(--line); color: var(--charcoal); background: var(--paper); transition: all var(--anim); }
.th-selector-opt:hover { border-color: var(--jade-soft); }
.th-selector-opt.is-active { border-color: var(--jade); background: var(--jade); color: #f3ede0; }
.th-pdp-price-row { display: flex; align-items: baseline; gap: 0.6rem; margin: 1.4rem 0; }
.th-pdp-price { font-family: var(--ff-display); font-size: 2.2rem; color: var(--charcoal); }
.th-pdp-price-unit { font-size: 0.85rem; color: var(--text-faint); }
.th-pdp-qty-row { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.3rem; }
.th-pdp-qty-ctrl { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.th-pdp-qty-btn { width: 40px; height: 40px; font-size: 1.2rem; color: var(--charcoal); transition: background var(--anim); }
.th-pdp-qty-btn:hover { background: var(--cream-2); }
.th-pdp-qty-val { min-width: 36px; text-align: center; font-weight: 600; }
.th-pdp-atc { width: 100%; padding: 1.05rem; font-size: 0.88rem; }
.th-pdp-atc:disabled { opacity: 0.5; pointer-events: none; }
.th-pdp-long { margin-top: 2.4rem; color: var(--text-muted); }
.th-pdp-long p { margin-bottom: 1rem; }
.th-pdp-brew { background: var(--cream-2); border-left: 3px solid var(--jade); border-radius: var(--radius-s); padding: 1.1rem 1.3rem; margin-top: 1.4rem; }
.th-pdp-brew-label { font-family: var(--ff-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jade-deep); margin-bottom: 0.4rem; }
.th-pdp-brew p { margin: 0; color: var(--text); font-size: 0.92rem; }
.th-related { padding: 0 0 clamp(3rem,5vw,5rem); }
.th-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }

/* ════════ ABOUT ════════ */
.th-about-hero { padding: clamp(2.5rem,5vw,4.5rem) 0 clamp(2rem,4vw,3rem); }
.th-about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.th-about-img { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-soft); }
.th-about-img img { width: 100%; height: 100%; object-fit: cover; }
.th-about-lead { font-family: var(--ff-display); font-size: clamp(1.3rem,2.2vw,1.8rem); line-height: 1.4; color: var(--charcoal); }
.th-about-text { color: var(--text-muted); }
.th-about-text p { margin-bottom: 1rem; }
.th-values { background: var(--cream-2); padding: clamp(3rem,5vw,5rem) 0; }
.th-values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.th-value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.8rem 1.6rem; }
.th-value-num { font-family: var(--ff-display); font-size: 2rem; color: var(--terracotta); margin-bottom: 0.6rem; }
.th-value-title { font-family: var(--ff-display); font-size: 1.3rem; color: var(--charcoal); margin-bottom: 0.6rem; }
.th-value-body { font-size: 0.92rem; color: var(--text-muted); }
.th-process { padding: clamp(3.5rem,6vw,6rem) 0; }
.th-process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; counter-reset: step; }
.th-process-step { padding: 1.6rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); position: relative; }
.th-process-step::before { counter-increment: step; content: '0' counter(step); font-family: var(--ff-display); font-size: 1.6rem; color: var(--jade); display: block; margin-bottom: 0.6rem; }
.th-process-step h3 { font-family: var(--ff-display); font-size: 1.2rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.th-process-step p { font-size: 0.88rem; color: var(--text-muted); }

/* ════════ CONTACT ════════ */
.th-contact-wrap { max-width: var(--max-w); margin: 0 auto; padding: clamp(2.5rem,5vw,4rem) var(--gutter) clamp(3.5rem,6vw,6rem); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem,4vw,4rem); }
.th-contact-meta { display: grid; gap: 1.4rem; align-content: start; }
.th-contact-meta-block h4 { font-family: var(--ff-display); font-size: 1.15rem; color: var(--charcoal); margin-bottom: 0.4rem; }
.th-contact-meta-block p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.th-form { display: grid; gap: 1.1rem; }
.th-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.th-form-group { display: grid; gap: 0.4rem; }
.th-form-label { font-family: var(--ff-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-muted); }
.th-form-input, .th-form-select, .th-form-textarea { background: var(--paper); border: 1.5px solid var(--line); color: var(--charcoal); padding: 0.8rem 1rem; border-radius: var(--radius-s); width: 100%; }
.th-form-input:focus, .th-form-select:focus, .th-form-textarea:focus { outline: none; border-color: var(--jade); }
.th-form-textarea { min-height: 150px; resize: vertical; }
.th-form-success { background: rgba(59,107,79,0.12); border: 1px solid var(--jade-soft); color: var(--jade-deep); padding: 1rem 1.2rem; border-radius: var(--radius-s); }

/* ════════ CART PAGE ════════ */
.th-cart-page { max-width: 980px; margin: 0 auto; padding: clamp(2rem,4vw,3.5rem) var(--gutter) clamp(3.5rem,6vw,6rem); }
.th-cart-page-title { font-size: clamp(1.8rem,3.4vw,2.6rem); color: var(--charcoal); margin-bottom: 1.6rem; }
.th-cart-table { display: grid; gap: 1rem; }
.th-cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 1.1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; }
.th-cart-item-img { width: 88px; height: 88px; border-radius: var(--radius-s); object-fit: cover; }
.th-cart-item-name { font-family: var(--ff-display); font-size: 1.1rem; color: var(--charcoal); }
.th-cart-item-meta { font-size: 0.8rem; color: var(--text-faint); }
.th-cart-totals { margin-top: 1.6rem; border-top: 2px solid var(--line); padding-top: 1.2rem; display: grid; gap: 0.6rem; max-width: 360px; margin-left: auto; }
.th-cart-total-row { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--text-muted); }
.th-cart-total-row.is-grand { font-family: var(--ff-display); font-size: 1.4rem; color: var(--charcoal); }
.th-cart-actions { display: flex; gap: 0.8rem; justify-content: flex-end; margin-top: 1.6rem; flex-wrap: wrap; }
.th-cart-empty { text-align: center; color: var(--text-muted); padding: 3rem 0; }

/* ════════ LEGAL ════════ */
.th-legal { max-width: 820px; margin: 0 auto; padding: clamp(2rem,4vw,3.5rem) var(--gutter) clamp(3.5rem,6vw,6rem); }
.th-legal h1 { font-size: clamp(1.9rem,3.6vw,2.8rem); color: var(--charcoal); margin-bottom: 0.5rem; }
.th-legal-sub { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 0.6rem; }
.th-legal-meta { color: var(--text-muted); font-size: 0.85rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.th-legal h2 { font-size: 1.35rem; color: var(--jade-deep); margin: 2rem 0 0.7rem; }
.th-legal p { color: var(--text-muted); margin-bottom: 1rem; }
.th-legal ul { display: grid; gap: 0.5rem; margin: 0 0 1rem 1.1rem; list-style: disc; color: var(--text-muted); }
.th-legal a { color: var(--jade-deep); text-decoration: underline; }

/* ════════ SEARCH OVERLAY ════════ */
.th-search-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(38,36,32,0.5); backdrop-filter: blur(4px); display: none; padding: 12vh 1rem 1rem; }
.th-search-overlay.is-open { display: block; }
.th-search-box { max-width: 600px; margin: 0 auto; background: var(--cream); border-radius: var(--radius-m); padding: 1.2rem; box-shadow: var(--shadow-lift); }
.th-search-input { width: 100%; background: var(--paper); border: 1.5px solid var(--line); color: var(--charcoal); padding: 0.95rem 1.1rem; border-radius: var(--radius-s); }
.th-search-input:focus { outline: none; border-color: var(--jade); }
.th-search-results { display: grid; gap: 0.5rem; margin-top: 0.8rem; max-height: 50vh; overflow-y: auto; }
.th-search-result { display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem; border-radius: var(--radius-s); transition: background var(--anim); }
.th-search-result:hover { background: var(--cream-2); }
.th-search-result img { width: 48px; height: 48px; border-radius: var(--radius-s); object-fit: cover; }
.th-search-result-name { font-size: 0.92rem; color: var(--charcoal); font-weight: 600; }
.th-search-result-meta { font-size: 0.78rem; color: var(--text-faint); }

/* ════════ CART DRAWER (rst- kept for cart.js) ════════ */
.rst-cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(38,36,32,0.45); opacity: 0; pointer-events: none; transition: opacity var(--anim); }
.rst-cart-overlay.is-visible { opacity: 1; pointer-events: auto; }
.rst-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); z-index: 95; background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s ease; box-shadow: var(--shadow-lift); }
.rst-drawer.is-open { transform: translateX(0); }
.rst-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.rst-drawer-title { font-family: var(--ff-display); font-size: 1.4rem; color: var(--charcoal); }
.rst-drawer-close { font-size: 1.6rem; color: var(--text-muted); width: 36px; height: 36px; border-radius: 50%; }
.rst-drawer-close:hover { background: var(--cream-2); }
.rst-drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
.rst-drawer-empty { color: var(--text-muted); text-align: center; padding: 2rem 0; }
.rst-drawer-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.8rem; align-items: start; }
.rst-drawer-item-img { width: 64px; height: 64px; border-radius: var(--radius-s); object-fit: cover; }
.rst-drawer-item-name { font-family: var(--ff-display); font-size: 1rem; color: var(--charcoal); line-height: 1.2; }
.rst-drawer-item-meta { font-size: 0.76rem; color: var(--text-faint); margin: 0.2rem 0 0.4rem; }
.rst-drawer-item-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.rst-drawer-item-price { font-family: var(--ff-display); font-size: 1rem; color: var(--charcoal); }
.rst-qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.rst-qty-btn { width: 28px; height: 28px; font-size: 1rem; color: var(--charcoal); }
.rst-qty-btn:hover { color: var(--jade-deep); }
.rst-qty-val { min-width: 26px; text-align: center; font-size: 0.85rem; }
.rst-drawer-remove { font-size: 1.2rem; color: var(--text-faint); width: 28px; height: 28px; }
.rst-drawer-remove:hover { color: var(--terracotta); }
.rst-drawer-foot { border-top: 1px solid var(--line); padding: 1.3rem 1.4rem; }
.rst-drawer-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.rst-drawer-subtotal span:first-child { font-size: 0.9rem; color: var(--text-muted); letter-spacing: 0.04em; }
.rst-drawer-subtotal-val { font-family: var(--ff-display); font-size: 1.5rem; color: var(--charcoal); }
.rst-drawer-foot .th-btn, .rst-drawer-foot .rst-pdp-atc { width: 100%; }
body.rst-drawer-lock { overflow: hidden; }

/* toast */
#rst-toast-container { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 0.5rem; }
.rst-toast { background: var(--charcoal); color: #f3ede0; padding: 0.8rem 1.3rem; border-radius: 999px; font-size: 0.88rem; box-shadow: var(--shadow-lift); opacity: 0; transform: translateY(10px); transition: opacity var(--anim), transform var(--anim); }
.rst-toast.is-visible { opacity: 1; transform: none; }
/* checkout button keeps rst-pdp-atc class -> style as primary */
.rst-pdp-atc { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--ff-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.95rem 1.7rem; border-radius: 999px; background: var(--jade); color: #f6f2e7; transition: background var(--anim), transform var(--anim); }
.rst-pdp-atc:hover { background: var(--jade-deep); transform: translateY(-2px); }

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 1024px) {
  .th-grid-4, .th-shop-grid, .th-related-grid { grid-template-columns: repeat(3, 1fr); }
  .th-foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .th-ritual-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  /* collapse centered masthead -> brand left, hamburger right */
  .th-head-inner { grid-template-columns: auto 1fr auto; }
  .th-nav { display: none; }
  .th-brandslot { grid-column: 1; align-items: flex-start; text-align: left; }
  .th-brandslot .th-brand-sub { letter-spacing: 0.3em; }
  .th-head-actions { grid-column: 3; }
  .th-hamburger { display: flex; }
  .th-hero-grid { grid-template-columns: 1fr; }
  .th-hero-right { min-height: 320px; order: -1; }
  .th-hero-right::after { background: linear-gradient(0deg, var(--cream) 0%, rgba(243,237,224,0) 30%); }
  .th-philosophy-grid, .th-steep-panel.is-active, .th-about-hero-grid, .th-contact-wrap { grid-template-columns: 1fr; }
  .th-pdp { grid-template-columns: 1fr; }
  .th-pdp-gallery { position: static; }
}
@media (max-width: 768px) {
  .th-grid-3, .th-grid-4, .th-cats-grid, .th-shop-grid, .th-related-grid, .th-values-grid, .th-process-steps { grid-template-columns: repeat(2, 1fr); }
  .th-foot-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .th-featured-head { flex-direction: column; align-items: flex-start; }
  .th-shop-toolbar { flex-direction: column; align-items: flex-start; }
  .th-cart-item { grid-template-columns: 64px 1fr; }
  .th-cart-item-img { width: 64px; height: 64px; }
}
@media (max-width: 560px) {
  .th-grid-3, .th-grid-4, .th-cats-grid, .th-shop-grid, .th-related-grid, .th-values-grid, .th-process-steps, .th-ritual-inner { grid-template-columns: 1fr; }
  .th-ritual-inner { gap: 0.8rem; }
  .th-foot-grid { grid-template-columns: 1fr 1fr; }
  .th-form-row { grid-template-columns: 1fr; }
  .th-newsletter-form { flex-direction: column; }
  .th-newsletter-form .th-btn { width: 100%; }
  .th-hero-headline { font-size: clamp(2.1rem, 9vw, 3rem); }
}
