/* ==================================================================
   ƬᏒΔꀤƬ — Storefront design system
   ------------------------------------------------------------------
   Loaded after the legacy stylesheet so the new storefront can borrow
   the existing commerce components (order sheet, bag, reviews) while
   owning the visual language. The palette is deliberately quiet: warm
   ivory, deep black, charcoal and a restrained taupe. No gold, no
   gradients, no decorative effects — hierarchy comes from type and space.
   ================================================================== */

/* ----------------------------------------------------------------
   1. TOKENS
--------------------------------------------------------------- */
:root {
  /* Core palette — the single source of truth for storefront colour.
     The collection-* tokens exist so future seasonal colours can be added
     in one place instead of being scattered through components. */
  --tf-ivory: #F4F0E7;
  --tf-chalk: #FBFAF6;
  --tf-black: #191A17;
  --tf-ink: #191A17;
  --tf-olive: #303B2F;
  --tf-brass: #A58B5E;
  --tf-taupe: #D8D1C5;
  --tf-stone: #77766E;
  --tf-sand: #D8D1C5;
  --tf-charcoal: #303B2F;
  --tf-border: #D8D1C5;
  --tf-white: #FFFFFF;

  /* Semantic aliases. --tf-muted is the accessible small-text tone;
     --tf-stone is reserved for secondary/meta text and decorative use. */
  --tf-muted: #6B6A62;
  --tf-accent: var(--tf-olive);
  --tf-accent-light: #D8D1C5;
  --tf-line: rgba(25, 26, 23, 0.14);
  --tf-line-strong: rgba(25, 26, 23, 0.28);
  --tf-line-light: rgba(244, 240, 231, 0.22);

  /* Collection tokens — add future colour stories here. */
  --tf-collection-olive: #303B2F;
  --tf-collection-brass: #A58B5E;
  --tf-collection-stone: #D8D1C5;

  /* Type */
  --tf-display: 'Cormorant Garamond', 'DM Serif Display', 'Iowan Old Style', Georgia, serif;
  --tf-body: 'Manrope', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tf-bengali: 'Noto Sans Bengali', 'Hind Siliguri', 'SolaimanLipi', sans-serif;

  /* Spacing scale (4px base) */
  --tf-s1: 4px;
  --tf-s2: 8px;
  --tf-s3: 12px;
  --tf-s4: 16px;
  --tf-s5: 24px;
  --tf-s6: 32px;
  --tf-s7: 48px;
  --tf-s8: 64px;
  --tf-s9: 96px;
  --tf-s10: 128px;

  --tf-page: 1360px;
  --tf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Override the runtime theme on <body> so every descendant — including
   the legacy cart, order sheet and review components — inherits this
   palette regardless of any older saved admin theme. */
body {
  --bg: var(--tf-ivory);
  --surface: var(--tf-white);
  --card: var(--tf-white);
  --text: var(--tf-ink);
  --muted: var(--tf-muted);
  --accent: var(--tf-charcoal);
  --accent-deep: var(--tf-black);
  --accent-soft: var(--tf-border);
  --cream: var(--tf-ivory);
  --on-cream: var(--tf-ink);
  --line: var(--tf-line);
  --serif: var(--tf-display);
  --sans: var(--tf-body);
  --ease-lux: var(--tf-ease);

  background: var(--tf-ivory);
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-weight: 400;
  line-height: 1.65;
}

body.tf-home { overflow-x: hidden; }

::selection { background: var(--tf-black); color: var(--tf-ivory); }

.tf-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--tf-black);
  color: var(--tf-ivory);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.tf-skip:focus { transform: translateY(0); }

img { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--tf-accent);
  outline-offset: 3px;
}

/* ----------------------------------------------------------------
   2. TYPOGRAPHY HELPERS
--------------------------------------------------------------- */
.tf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--tf-accent);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.tf-kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
}
.tf-kicker--light { color: var(--tf-accent-light); }

.tf-section-head h2,
.tf-hero-title,
.tf-promo-copy h2,
.tf-story-copy h2,
.tf-newsletter-copy h2 {
  font-family: var(--tf-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--tf-ink);
}
.tf-section-head h2 em,
.tf-promo-copy h2 em,
.tf-story-copy h2 em,
.tf-newsletter-copy h2 em,
.tf-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--tf-accent);
}
.tf-section-head h2 {
  margin: 0;
  font-size: clamp(2.9rem, 5vw, 4.9rem);
  line-height: 0.9;
}

.tf-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--tf-line-strong);
  color: var(--tf-ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}
.tf-link-arrow span { transition: transform 0.3s var(--tf-ease); }
.tf-link-arrow:hover { color: var(--tf-accent); border-color: var(--tf-accent); }
.tf-link-arrow:hover span { transform: translateX(4px); }
.tf-link-arrow--light {
  color: var(--tf-ivory);
  border-color: rgba(244, 240, 231, 0.35);
}
.tf-link-arrow--light:hover { color: #fff; border-color: var(--tf-accent-light); }

.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--tf-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--tf-ease);
}
.tf-btn:hover { transform: translateY(-2px); }
.tf-btn--light {
  background: var(--tf-ivory);
  border-color: var(--tf-ivory);
  color: var(--tf-black);
}
.tf-btn--light:hover { background: var(--tf-taupe); border-color: var(--tf-taupe); }
.tf-btn--ink {
  background: var(--tf-black);
  border-color: var(--tf-black);
  color: var(--tf-ivory);
}
.tf-btn--ink:hover { background: var(--tf-charcoal); border-color: var(--tf-charcoal); }
.tf-btn--outline {
  background: transparent;
  border-color: var(--tf-line-strong);
  color: var(--tf-ink);
}
.tf-btn--outline:hover { border-color: var(--tf-ink); }

/* ----------------------------------------------------------------
   3. ANNOUNCEMENT BAR
--------------------------------------------------------------- */
.tf-announce {
  position: relative;
  z-index: 1001;
  background: var(--tf-black);
  color: var(--tf-ivory);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
}
.tf-announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: 7px 40px;
}
.tf-announce p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.tf-announce strong { color: var(--tf-accent-light); font-weight: 700; }
.tf-announce-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tf-accent-light);
}
.tf-announce-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tf-announce-links a {
  border-bottom: 1px solid rgba(244, 240, 231, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
.tf-announce-links a:hover { border-color: var(--tf-accent-light); }
.tf-announce-close {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tf-ivory);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.7;
}
.tf-announce-close:hover { opacity: 1; }
.tf-announce.is-hidden { display: none; }

/* ----------------------------------------------------------------
   4. HEADER
--------------------------------------------------------------- */
.site-header.tf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 240, 231, 0.94);
  border-bottom: 1px solid var(--tf-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.tf-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(25, 26, 23, 0.06);
}
.tf-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: 0 40px;
}

.tf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--tf-ink);
  text-decoration: none;
}
.tf-brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  transition: transform 0.4s var(--tf-ease);
}
.tf-brand:hover .tf-brand-mark { transform: rotate(45deg); }
.tf-brand-word {
  font-family: var(--tf-display);
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  white-space: nowrap;
}
.tf-brand--light { color: var(--tf-ivory); }

.tf-nav { flex: 1 1 auto; }
.tf-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tf-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--tf-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.tf-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--tf-accent);
  transition: right 0.3s var(--tf-ease);
}
.tf-nav a:hover { color: var(--tf-ink); }
.tf-nav a:hover::after { right: 0; }

/* Category submenu — only rendered when the live catalogue has pieces. */
.tf-nav-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}
.tf-nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tf-muted);
  cursor: pointer;
}
.tf-nav-caret:hover,
.tf-nav-group.is-open .tf-nav-caret { color: var(--tf-ink); }
.tf-nav-caret svg { transition: transform 0.2s var(--tf-ease); }
.tf-nav-group.is-open .tf-nav-caret svg { transform: rotate(180deg); }
.tf-nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  z-index: 70;
  min-width: 196px;
  padding: 16px 20px 14px;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
  box-shadow: 0 24px 50px rgba(17, 17, 15, 0.14);
}
.tf-nav-sub[hidden] { display: none; }
.tf-nav-sub-eyebrow {
  margin: 0 0 8px;
  color: var(--tf-accent);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tf-nav-sub ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tf-nav-sub a {
  display: block;
  padding: 7px 0;
  color: var(--tf-ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
}
.tf-nav-sub a::after { display: none; }
.tf-nav-sub a:hover { color: var(--tf-accent); }

.tf-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.tf-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tf-ink);
  transition: color 0.2s ease, background 0.2s ease;
}
.tf-icon-btn:hover { color: var(--tf-accent); }
.tf-bag-btn { margin-left: 2px; }
.tf-header .cart-badge {
  top: 5px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--tf-accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 17px;
}
.tf-header .lang-toggle {
  min-width: 38px;
  height: 30px;
  margin: 0 2px;
  border-color: var(--tf-line-strong);
  color: var(--tf-muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}
.tf-header .lang-toggle:hover { color: var(--tf-ink); border-color: var(--tf-ink); }

.tf-header .menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: none;
}
.tf-header .menu-toggle span { background: var(--tf-ink); }

/* ----------------------------------------------------------------
   5. MOBILE MENU
--------------------------------------------------------------- */
.mobile-menu {
  z-index: 999;
  align-items: flex-start;
  background: var(--tf-ivory);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.tf-mobile-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 70px 30px 40px;
  text-align: left;
}
.tf-mobile-eyebrow {
  margin: 0 0 22px;
  color: var(--tf-accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.mobile-menu .tf-mobile-inner ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.mobile-menu .tf-mobile-inner li { width: 100%; }
.mobile-menu .tf-mobile-inner a {
  display: block;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid var(--tf-line);
  color: var(--tf-ink);
  font-family: var(--tf-display);
  font-size: clamp(1.9rem, 8vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.mobile-menu .tf-mobile-inner a:hover { color: var(--tf-accent); }
.tf-mobile-foot {
  margin-top: 36px;
  color: var(--tf-muted);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.tf-mobile-foot a { border-bottom: 1px solid var(--tf-line-strong); }
.tf-mobile-foot p { margin: 8px 0 0; }

/* Expandable Men / Women groups in the mobile menu. */
.mobile-menu .tf-mobile-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--tf-line);
}
.mobile-menu .tf-mobile-inner .tf-mobile-row a {
  flex: 1 1 auto;
  border-bottom: 0;
}
.mobile-menu .tf-mobile-caret {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--tf-line);
  border-radius: 50%;
  background: none;
  color: var(--tf-ink);
  cursor: pointer;
}
.mobile-menu .tf-mobile-caret svg { transition: transform 0.2s var(--tf-ease); }
.mobile-menu .tf-mobile-group.is-open .tf-mobile-caret svg { transform: rotate(180deg); }
.mobile-menu .tf-mobile-inner .tf-mobile-sub {
  margin: 0 0 8px;
  padding: 4px 0 8px 18px;
  border-bottom: 1px solid var(--tf-line);
}
.mobile-menu .tf-mobile-inner ul[hidden] { display: none; }
.mobile-menu .tf-mobile-inner .tf-mobile-sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 0;
  color: var(--tf-muted);
  font-family: var(--tf-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-menu .tf-mobile-inner .tf-mobile-sub a:hover { color: var(--tf-accent); }

/* ----------------------------------------------------------------
   6. HERO
--------------------------------------------------------------- */
.tf-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) max(40px, calc((100vw - 1320px) / 2 + 40px));
  background: var(--tf-black);
  color: var(--tf-ivory);
}
.tf-hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(164, 154, 138, 0.12), transparent 30%),
    radial-gradient(circle at 88% 80%, rgba(244, 240, 231, 0.05), transparent 36%),
    repeating-linear-gradient(90deg, rgba(244, 240, 231, 0.025) 0 1px, transparent 1px 96px);
}
.tf-hero-copy { position: relative; z-index: 1; max-width: 620px; }
.tf-hero-title {
  margin: 0 0 26px;
  color: var(--tf-ivory);
  font-size: clamp(4.6rem, 10.4vw, 9.6rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.03em;
}
.tf-hero-title em { color: var(--tf-taupe); }
.tf-hero-lede {
  max-width: 470px;
  margin: 0 0 34px;
  color: rgba(244, 240, 231, 0.7);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.72;
}
.tf-hero-bengali {
  margin: -18px 0 30px;
  color: rgba(244, 240, 231, 0.62);
  font-family: var(--tf-bengali);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.tf-hero-bengali[hidden] { display: none; }
.tf-hero-ctas {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.tf-hero-meta {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  margin: 62px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 240, 231, 0.18);
}
.tf-hero-meta div { display: grid; gap: 3px; }
.tf-hero-meta dt {
  color: rgba(244, 240, 231, 0.74);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tf-hero-meta dd {
  margin: 0;
  color: var(--tf-ivory);
  font-family: var(--tf-display);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.tf-hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 12px;
}
.tf-hero-main {
  position: relative;
  background: var(--tf-ivory);
  border: 1px solid rgba(244, 240, 231, 0.28);
  overflow: hidden;
}
.tf-hero-main > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--tf-ease);
}
.tf-hero-main:hover > img { transform: scale(1.025); }
.tf-hero-edition {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: rgba(25, 26, 23, 0.86);
  color: var(--tf-ivory);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tf-hero-card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  align-items: center;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--tf-ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease;
}
.tf-hero-card:hover { background: #fff; }
.tf-hero-card-label {
  grid-column: 1;
  color: var(--tf-accent);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tf-hero-card strong {
  grid-column: 1;
  font-family: var(--tf-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.tf-hero-card-price {
  grid-column: 1;
  color: var(--tf-muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}
.tf-hero-card-price s { margin-left: 6px; opacity: 0.65; }
.tf-hero-card-status {
  grid-column: 1;
  justify-self: start;
  margin-top: 4px;
  padding: 3px 6px;
  background: var(--tf-accent);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}
.tf-hero-card-status[hidden] { display: none; }
.tf-hero-card.is-soldout .tf-hero-card-price { color: var(--tf-accent); }
.tf-hero-card-arrow {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font-size: 1.2rem;
  color: var(--tf-accent);
  transition: transform 0.3s var(--tf-ease);
}
.tf-hero-card:hover .tf-hero-card-arrow { transform: translateX(4px); }

.tf-hero-aside {
  position: relative;
  margin-bottom: 42px;
  background: var(--tf-ivory);
  border: 1px solid rgba(244, 240, 231, 0.25);
  overflow: hidden;
}
.tf-hero-aside img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.72;
  object-fit: cover;
  display: block;
}
.tf-hero-aside-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 8px;
  background: rgba(25, 26, 23, 0.82);
  color: var(--tf-ivory);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

/* ----------------------------------------------------------------
   7. PROMISES STRIP
--------------------------------------------------------------- */
.tf-promises {
  border-top: 1px solid var(--tf-line);
  border-bottom: 1px solid var(--tf-line);
  background: var(--tf-chalk);
}
.tf-promises-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: 0 40px;
  list-style: none;
}
.tf-promises li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 26px;
  border-right: 1px solid var(--tf-line);
  color: var(--tf-ink);
}
.tf-promises li:first-child { padding-left: 0; }
.tf-promises li:last-child { border-right: 0; padding-right: 0; }
.tf-promises svg { flex: 0 0 auto; color: var(--tf-accent); }
.tf-promises span { display: grid; gap: 1px; }
.tf-promises strong {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.tf-promises small {
  color: var(--tf-muted);
  font-size: 0.63rem;
  letter-spacing: 0.02em;
}
/* Inline rate placeholders must not inherit the grid display above. */
.tf-promises [data-delivery-inside],
.tf-promises [data-delivery-outside],
[data-delivery-inside],
[data-delivery-outside] { display: inline; }

/* ----------------------------------------------------------------
   8. SECTIONS + HEADINGS
--------------------------------------------------------------- */
.tf-section {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(74px, 9vw, 118px) 40px;
}
.tf-section-head { margin-bottom: 46px; }
.tf-section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  gap: 40px;
  align-items: end;
}
.tf-section-head-side {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding-bottom: 6px;
}
.tf-section-head-side p {
  margin: 0;
  color: var(--tf-muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

/* ----------------------------------------------------------------
   9. EDITS / CATEGORY TILES
--------------------------------------------------------------- */
.tf-edits { padding-bottom: clamp(60px, 7vw, 90px); }
.tf-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tf-edit {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.tf-edit-media {
  position: relative;
  overflow: hidden;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
}
.tf-edit-media--sand { background: var(--tf-sand); }
.tf-edit-media--ink { background: var(--tf-charcoal); }
.tf-edit-media img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--tf-ease);
}
.tf-edit:hover .tf-edit-media img { transform: scale(1.035); }
.tf-edit-meta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 17px 2px 0;
  border-top: 1px solid var(--tf-line-strong);
  margin-top: 12px;
}
.tf-edit-num {
  position: absolute;
  top: -10px;
  right: 0;
  padding-left: 10px;
  background: var(--tf-ivory);
  color: var(--tf-accent);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.tf-edit-meta h3 {
  grid-column: 1;
  margin: 0;
  font-family: var(--tf-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.tf-edit-meta p {
  grid-column: 1;
  margin: 1px 0 0;
  color: var(--tf-muted);
  font-size: 0.7rem;
  line-height: 1.55;
  max-width: 230px;
}
.tf-edit-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--tf-accent);
  font-size: 1.05rem;
  transition: transform 0.3s var(--tf-ease);
}
.tf-edit:hover .tf-edit-arrow { transform: translateX(4px); }

/* ----------------------------------------------------------------
   10. PRODUCT CARDS
--------------------------------------------------------------- */
.tf-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 20px;
  max-width: none;
}
.product-card.tf-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  cursor: default;
  transition: none;
}
.product-card.tf-product-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}
.product-card.tf-product-card::before { display: none; }

.tf-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
}
.tf-card-media-link { display: block; }
.tf-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--tf-ease), opacity 0.4s ease;
}
.tf-product-card:hover .tf-card-media img { transform: scale(1.035); }
.tf-product-card.is-soldout .tf-card-media img { opacity: 0.5; }

.tf-card-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  pointer-events: none;
}
.tf-card-tag {
  padding: 5px 8px;
  background: var(--tf-black);
  color: var(--tf-ivory);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}
.tf-card-tag--sale {
  background: var(--tf-accent);
  color: #fff;
}
.tf-card-tag--sold {
  background: rgba(25, 26, 23, 0.72);
}

.tf-card-bag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(25, 26, 23, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--tf-ink);
  box-shadow: 0 6px 16px rgba(25, 26, 23, 0.08);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s var(--tf-ease), background 0.2s ease;
}
.tf-product-card:hover .tf-card-bag,
.tf-card-bag:focus-visible { opacity: 1; transform: translateY(0); }
.tf-card-bag:hover { background: var(--tf-black); color: var(--tf-ivory); border-color: var(--tf-black); }

/* Touch devices have no hover state — keep the quick-add control visible. */
@media (hover: none) {
  .tf-card-bag { opacity: 1; transform: none; }
}

/* Floating quick-view trigger. It sits on the image beside the bag icon and
   appears on hover or whenever anything in the card has keyboard focus. */
.tf-card-quick {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(25, 26, 23, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s var(--tf-ease),
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tf-product-card:hover .tf-card-quick,
.tf-product-card:focus-within .tf-card-quick,
.tf-card-quick:focus-visible {
  opacity: 1;
  transform: translateY(0);
}
.tf-card-quick:hover {
  background: var(--tf-black);
  border-color: var(--tf-black);
  color: var(--tf-ivory);
}
.tf-card-quick:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
@media (hover: none) {
  .tf-card-quick { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .tf-card-quick { min-height: 44px; opacity: 1; transform: none; }
}
@media (max-width: 420px) {
  .tf-card-quick { min-height: 44px; padding: 0 9px; font-size: 0.5rem; letter-spacing: 0.1em; }
}

/* ----------------------------------------------------------------
   10b. FLOATING QUICK VIEW
--------------------------------------------------------------- */
.tf-qv {
  /* The global reset zeroes every margin, including the UA `margin: auto`
     that centres a modal dialog, so state it explicitly here. */
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(880px, calc(100vw - 32px));
  max-width: 880px;
  max-height: min(88vh, 760px);
  padding: 0;
  border: 1px solid var(--tf-line-strong);
  background: var(--tf-chalk);
  color: var(--tf-ink);
  overflow: hidden;
}
.tf-qv::backdrop {
  background: rgba(18, 26, 21, 0.46);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
body.tf-quickview-open .whatsapp-fab { opacity: 0; visibility: hidden; pointer-events: none; }
.tf-qv-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  max-height: inherit;
}
.tf-qv-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--tf-line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--tf-ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tf-qv-close:hover { background: var(--tf-black); color: var(--tf-ivory); border-color: var(--tf-black); }
.tf-qv-close:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-qv-media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  background: var(--tf-ivory);
  border-right: 1px solid var(--tf-line);
}
.tf-qv-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.tf-qv-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 42px 38px 30px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--tf-line-strong) transparent;
}
.tf-qv-kicker {
  margin: 0 0 8px;
  color: var(--tf-accent);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tf-qv-name {
  margin: 0 0 8px;
  font-family: var(--tf-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.tf-qv-price {
  margin: 0 0 4px;
  color: var(--tf-ink);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tf-qv-price s { margin-left: 8px; color: var(--tf-muted); font-weight: 400; }
.tf-qv-off {
  margin-left: 8px;
  padding: 2px 6px;
  background: var(--tf-accent);
  color: #fff;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.tf-qv-group { margin-top: 20px; }
.tf-qv-label {
  margin: 0 0 9px;
  color: var(--tf-muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tf-qv-swatches,
.tf-qv-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-qv-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 12px 4px 7px;
  border: 1px solid var(--tf-line);
  background: var(--tf-white);
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tf-qv-swatch i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(25, 26, 23, 0.22);
  flex: 0 0 auto;
}
.tf-qv-swatch:hover { border-color: var(--tf-line-strong); }
.tf-qv-swatch.is-active {
  border-color: var(--tf-ink);
  box-shadow: inset 0 0 0 1px var(--tf-ink);
}
.tf-qv-swatch:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-qv-size {
  min-width: 46px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--tf-line);
  background: var(--tf-white);
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tf-qv-size:hover { border-color: var(--tf-ink); }
.tf-qv-size.is-active {
  background: var(--tf-black);
  border-color: var(--tf-black);
  color: var(--tf-ivory);
}
.tf-qv-size:disabled {
  color: var(--tf-muted);
  text-decoration: line-through;
  opacity: 0.65;
  cursor: not-allowed;
}
.tf-qv-size:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-qv-stock {
  margin: 18px 0 0;
  color: var(--tf-muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tf-qv-stock.is-in { color: var(--tf-accent); }
.tf-qv-stock.is-out { color: #8a3f34; }
.tf-qv-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}
.tf-qv-add { width: 100%; min-height: 48px; }
.tf-qv-add:disabled { opacity: 0.55; cursor: not-allowed; }
.tf-qv-link {
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--tf-line-strong);
  color: var(--tf-ink);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tf-qv-link:hover { color: var(--tf-accent); border-color: var(--tf-accent); }
.tf-qv-link:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
@media (max-width: 760px) {
  .tf-qv {
    width: 100%;
    max-width: none;
    max-height: 92vh;
    margin: auto 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .tf-qv-panel { display: flex; flex-direction: column; max-height: 92vh; }
  .tf-qv-media { flex: 0 0 auto; border-right: 0; border-bottom: 1px solid var(--tf-line); }
  .tf-qv-media img {
    width: 100%;
    max-height: 32vh;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .tf-qv-body { padding: 24px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .tf-qv-name { font-size: 1.5rem; }
  .tf-qv-close { top: 10px; right: 10px; }
  .tf-qv-swatch { min-height: 44px; }
  .tf-qv-size { min-height: 44px; min-width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-card-quick { transition: none; }
}

.tf-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 1px 0;
}
.tf-card-collection {
  margin: 0;
  color: var(--tf-accent);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tf-card-name {
  margin: 0;
  font-family: var(--tf-display);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.tf-card-name a { transition: color 0.2s ease; }
.tf-card-name a:hover { color: var(--tf-accent); }
.tf-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}
.tf-card-price {
  margin: 0;
  color: var(--tf-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tf-card-price s {
  margin-left: 6px;
  color: var(--tf-muted);
  font-weight: 400;
}
.tf-card-price--request {
  color: var(--tf-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.tf-card-color {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--tf-muted);
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tf-card-color i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(25, 26, 23, 0.2);
  flex: 0 0 auto;
}
.tf-card-link {
  align-self: flex-start;
  margin-top: 7px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--tf-line-strong);
  color: var(--tf-muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tf-card-link:hover { color: var(--tf-accent); border-color: var(--tf-accent); }

/* ----------------------------------------------------------------
   11. PROMOTIONAL COLLECTION
--------------------------------------------------------------- */
.tf-promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: center;
  max-width: var(--tf-page);
  margin: clamp(20px, 3vw, 40px) auto;
  padding: clamp(46px, 6vw, 82px);
  background: var(--tf-black);
  color: var(--tf-ivory);
  overflow: hidden;
}
.tf-promo::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 240, 231, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.tf-promo-copy { position: relative; z-index: 1; }
.tf-promo-copy h2 {
  margin: 0 0 22px;
  color: var(--tf-ivory);
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  line-height: 0.93;
  font-weight: 300;
}
.tf-promo-copy h2 em { color: var(--tf-accent-light); }
.tf-promo-copy > p {
  max-width: 430px;
  margin: 0 0 24px;
  color: rgba(244, 240, 231, 0.7);
  font-size: 0.92rem;
  line-height: 1.75;
}
.tf-promo-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px !important;
  color: rgba(244, 240, 231, 0.7) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tf-promo-price strong {
  color: var(--tf-ivory);
  font-family: var(--tf-display);
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.tf-promo-note {
  max-width: 430px;
  margin: -10px 0 28px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 240, 231, 0.18);
  color: rgba(244, 240, 231, 0.7) !important;
  font-size: 0.72rem !important;
  line-height: 1.65 !important;
}
.tf-promo-note a {
  color: var(--tf-accent-light);
  border-bottom: 1px solid rgba(164, 154, 138, 0.5);
}
.tf-promo-note[hidden] { display: none; }
.tf-promo-media {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr);
  align-items: end;
  gap: 12px;
}
.tf-promo-image {
  margin: 0;
  background: var(--tf-ivory);
  border: 1px solid rgba(244, 240, 231, 0.24);
  overflow: hidden;
}
.tf-promo-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s var(--tf-ease);
}
.tf-promo-image--main img { aspect-ratio: 0.78; }
.tf-promo-image--small { margin-bottom: 34px; }
.tf-promo-image--small img { aspect-ratio: 0.72; }
.tf-promo-media:hover .tf-promo-image img { transform: scale(1.025); }
.tf-promo-stamp {
  position: absolute;
  left: -28px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(244, 240, 231, 0.35);
  border-radius: 50%;
  background: var(--tf-black);
  color: var(--tf-accent-light);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-9deg);
}

/* ----------------------------------------------------------------
   12. STORY
--------------------------------------------------------------- */
.tf-story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(74px, 9vw, 120px) 40px;
}
.tf-story-media {
  position: relative;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
  overflow: hidden;
}
.tf-story-media img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  display: block;
}
.tf-story-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--tf-muted);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tf-story-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(2.7rem, 4.8vw, 4.4rem);
  line-height: 0.96;
  font-weight: 300;
}
.tf-story-copy > p {
  max-width: 520px;
  margin: 0 0 16px;
  color: var(--tf-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}
.tf-story-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0 30px;
  padding-top: 20px;
  border-top: 1px solid var(--tf-line);
}
.tf-story-facts div { display: grid; gap: 3px; }
.tf-story-facts dt {
  color: var(--tf-muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tf-story-facts dd {
  margin: 0;
  color: var(--tf-ink);
  font-family: var(--tf-display);
  font-size: 0.98rem;
  font-weight: 400;
}

/* ----------------------------------------------------------------
   13. THE DETAILS — real catalogue fields
--------------------------------------------------------------- */
.tf-details {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 40px;
  border-top: 1px solid var(--tf-line);
}
.tf-details[hidden] { display: none; }
.tf-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--tf-line-strong);
}
.tf-detail {
  padding: 28px 30px 26px 0;
  border-right: 1px solid var(--tf-line);
}
.tf-detail + .tf-detail { padding-left: 30px; }
.tf-detail:nth-child(3n) { border-right: 0; }
.tf-detail-num {
  color: var(--tf-muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.tf-detail h3 {
  margin: 12px 0 8px;
  font-family: var(--tf-display);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
}
.tf-detail p {
  max-width: 340px;
  margin: 0;
  color: var(--tf-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}
.tf-details-source {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--tf-line);
  color: var(--tf-muted);
  font-size: 0.72rem;
  line-height: 1.7;
}
.tf-details-source a {
  color: var(--tf-ink);
  border-bottom: 1px solid var(--tf-line-strong);
}

/* ----------------------------------------------------------------
   14. REAL REVIEWS (hidden until approved reviews exist)
--------------------------------------------------------------- */
.tf-reviews {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(60px, 7vw, 96px) 40px;
  border-top: 1px solid var(--tf-line);
}
.tf-reviews[hidden] { display: none; }
.tf-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tf-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 26px 26px 24px;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
}
.tf-review-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--tf-accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.tf-review blockquote {
  margin: 0;
  color: var(--tf-ink);
  font-family: var(--tf-display);
  font-size: 1.16rem;
  font-weight: 300;
  line-height: 1.5;
}
.tf-review figcaption {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--tf-line);
}
.tf-review figcaption strong {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tf-review figcaption span {
  color: var(--tf-muted);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
}

/* ----------------------------------------------------------------
   14. NEWSLETTER
--------------------------------------------------------------- */
.tf-newsletter {
  background: var(--tf-taupe);
  border-top: 1px solid rgba(25, 26, 23, 0.08);
}
.tf-newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 84px) 40px;
}
.tf-newsletter-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 0.94;
  font-weight: 300;
}
.tf-newsletter-copy p:last-child {
  max-width: 380px;
  margin: 0;
  color: var(--tf-charcoal);
  font-size: 0.86rem;
  line-height: 1.7;
}
/* The stone band needs darker text than the ivory sections. */
.tf-newsletter .tf-kicker { color: var(--tf-charcoal); }
.tf-newsletter-form { padding-bottom: 4px; }
.tf-newsletter-field {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(25, 26, 23, 0.45);
}
.tf-newsletter-field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 4px;
  border: 0;
  background: transparent;
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  outline: none;
}
.tf-newsletter-field input::placeholder { color: rgba(25, 26, 23, 0.5); }
.tf-newsletter-field .tf-btn { flex: 0 0 auto; margin-bottom: 8px; padding-inline: 22px; }
.tf-newsletter-note {
  margin: 12px 0 0;
  color: var(--tf-charcoal);
  font-size: 0.64rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.tf-newsletter-note a { border-bottom: 1px solid var(--tf-line-strong); color: var(--tf-charcoal); }
.tf-newsletter-note.success { color: var(--tf-charcoal); }
.tf-newsletter-note.error { color: #9B3E2E; }

/* ----------------------------------------------------------------
   15. FOOTER
--------------------------------------------------------------- */
.tf-footer {
  background: var(--tf-black);
  color: var(--tf-ivory);
}
.tf-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: clamp(28px, 4vw, 60px);
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 80px) 40px 48px;
}
.tf-footer-brand p {
  max-width: 300px;
  margin: 18px 0 22px;
  color: rgba(244, 240, 231, 0.68);
  font-size: 0.76rem;
  line-height: 1.7;
}
.tf-brand--light .tf-brand-word { color: var(--tf-ivory); }
.tf-socials { display: flex; gap: 8px; }
.tf-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 240, 231, 0.22);
  border-radius: 50%;
  color: rgba(244, 240, 231, 0.8);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tf-socials a:hover {
  color: var(--tf-black);
  border-color: var(--tf-accent-light);
  background: var(--tf-accent-light);
}
.tf-footer-col h3 {
  margin: 2px 0 18px;
  color: var(--tf-accent-light);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.tf-footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tf-footer-col li,
.tf-footer-col a {
  color: rgba(244, 240, 231, 0.74);
  font-size: 0.74rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.tf-footer-col a { transition: color 0.2s ease; }
.tf-footer-col a:hover { color: var(--tf-ivory); }
.tf-placeholder {
  color: rgba(244, 240, 231, 0.58) !important;
  font-style: italic;
}
.tf-footer-small {
  max-width: 250px;
  margin: 18px 0 0;
  color: rgba(244, 240, 231, 0.64);
  font-size: 0.64rem;
  line-height: 1.65;
}
.tf-footer-small a { border-bottom: 1px solid rgba(244, 240, 231, 0.3); }
.tf-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: 18px 40px;
  border-top: 1px solid rgba(244, 240, 231, 0.12);
  color: rgba(244, 240, 231, 0.62);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}
.tf-footer-bottom p { margin: 0; }

/* ----------------------------------------------------------------
   16. SEARCH + ACCOUNT DIALOGS
--------------------------------------------------------------- */
.tf-dialog {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.tf-dialog.is-open { opacity: 1; visibility: visible; }
.tf-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 15, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tf-search-panel,
.tf-account-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 84vh;
  overflow: auto;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
  box-shadow: 0 30px 80px rgba(17, 17, 15, 0.28);
  transform: translateY(16px);
  transition: transform 0.35s var(--tf-ease);
}
.tf-dialog.is-open .tf-search-panel,
.tf-dialog.is-open .tf-account-panel { transform: translateY(0); }
.tf-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--tf-line-strong);
  border-radius: 50%;
  background: var(--tf-chalk);
  color: var(--tf-ink);
  font-size: 1.2rem;
  line-height: 1;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tf-dialog-close:hover { border-color: var(--tf-accent); transform: rotate(90deg); }
.tf-search-head {
  padding: 34px 34px 18px;
}
.tf-search-label {
  display: block;
  margin-bottom: 10px;
  color: var(--tf-accent);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tf-search-input {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--tf-line-strong);
  background: transparent;
  color: var(--tf-ink);
  font-family: var(--tf-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  outline: none;
}
.tf-search-input::placeholder { color: rgba(25, 26, 23, 0.35); }
.tf-search-hint {
  margin: 10px 0 0;
  color: var(--tf-muted);
  font-size: 0.62rem;
  line-height: 1.5;
}
.tf-search-recent { padding: 0 34px 20px; }
.tf-search-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--tf-muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tf-search-clear {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--tf-muted);
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tf-search-clear:hover { color: var(--tf-ink); }
.tf-search-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tf-search-chip {
  padding: 7px 12px;
  border: 1px solid var(--tf-line);
  background: none;
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tf-search-chip:hover { border-color: var(--tf-accent); color: var(--tf-accent); }
.tf-search-recent-note {
  margin: 10px 0 0;
  color: var(--tf-muted);
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}
.tf-search-results {
  display: grid;
  gap: 1px;
  padding: 0 34px 30px;
}
.tf-search-result {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 9px 6px;
  border-top: 1px solid var(--tf-line);
  transition: background 0.2s ease;
}
.tf-search-result:hover { background: var(--tf-ivory); }
.tf-search-result img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  background: var(--tf-ivory);
}
.tf-search-result-info { min-width: 0; }
.tf-search-result-info strong {
  display: block;
  overflow: hidden;
  color: var(--tf-ink);
  font-family: var(--tf-display);
  font-size: 0.98rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tf-search-result-info span {
  display: block;
  color: var(--tf-muted);
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}
.tf-search-result-price {
  color: var(--tf-accent);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.tf-search-empty {
  padding: 26px 0;
  color: var(--tf-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.tf-search-all {
  display: block;
  padding: 16px 34px;
  border-top: 1px solid var(--tf-line);
  color: var(--tf-ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tf-search-all:hover { color: var(--tf-accent); }

.tf-account-panel {
  width: min(480px, 100%);
  padding: 40px 36px 36px;
}
.tf-account-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border: 1px solid var(--tf-line-strong);
  border-radius: 50%;
  color: var(--tf-accent);
}
.tf-account-panel h2 {
  margin: 0 0 10px;
  font-family: var(--tf-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.tf-account-panel p {
  margin: 0 0 22px;
  color: var(--tf-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}
.tf-account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tf-account-note {
  margin: 22px 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid var(--tf-line);
  font-size: 0.66rem !important;
}

/* Toast */
.tf-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2000;
  max-width: calc(100vw - 40px);
  padding: 12px 20px;
  background: var(--tf-black);
  color: var(--tf-ivory);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--tf-ease);
}
.tf-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ----------------------------------------------------------------
   17. SHOP PAGE
--------------------------------------------------------------- */
.tf-shop-hero {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 90px) 40px 34px;
}
.tf-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 24px;
  color: var(--tf-muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tf-breadcrumb a:hover { color: var(--tf-accent); }
.tf-breadcrumb span[aria-hidden] { opacity: 0.45; }
.tf-shop-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.tf-shop-hero h1 {
  margin: 0;
  font-family: var(--tf-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.tf-shop-hero h1 em { font-style: italic; color: var(--tf-accent); }
.tf-shop-hero p {
  max-width: 420px;
  margin: 0;
  color: var(--tf-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   17b. CATEGORY PAGE HERO
--------------------------------------------------------------- */
.tf-category-hero {
  background: var(--tf-olive);
  color: var(--tf-ivory);
}
.tf-category-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 40px;
}
.tf-category-hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--tf-line-light);
  background: var(--tf-ivory);
}
.tf-category-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tf-category-hero-copy { max-width: 680px; min-width: 0; }
.tf-breadcrumb--light { color: rgba(244, 240, 231, 0.62); }
.tf-breadcrumb--light a:hover { color: var(--tf-ivory); }
.tf-category-hero .tf-kicker {
  margin-bottom: 12px;
  color: var(--tf-accent-light);
}
.tf-category-hero h1 {
  margin: 0 0 18px;
  color: var(--tf-ivory);
  font-family: var(--tf-display);
  font-size: clamp(2.9rem, 5.8vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.tf-category-hero h1 em {
  font-style: italic;
  color: var(--tf-accent-light);
}
.tf-category-hero-lede {
  max-width: 470px;
  margin: 0;
  color: rgba(244, 240, 231, 0.74);
  font-size: 0.84rem;
  line-height: 1.75;
}
.tf-category-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--tf-line-light);
}
.tf-category-count {
  margin: 0;
  color: var(--tf-ivory);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.tf-category-hero-link {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(244, 240, 231, 0.42);
  color: var(--tf-ivory);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tf-category-hero-link:hover {
  color: var(--tf-accent-light);
  border-color: var(--tf-accent-light);
}
.tf-category-hero-link:focus-visible {
  outline: 2px solid var(--tf-ivory);
  outline-offset: 3px;
}

/* The category name sits in the toolbar as context, not as a filter that can
   be removed. The second chip is the way back to the whole collection. */
.tf-chip { text-decoration: none; }
a.tf-chip,
span.tf-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
a.tf-chip:hover { border-color: var(--tf-line-strong); }
.tf-filter-scope {
  margin: 14px 0 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tf-line);
  color: var(--tf-muted);
  font-size: 0.62rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .tf-category-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-inline: 28px;
  }
  .tf-category-hero-media {
    width: 100%;
    max-width: 480px;
  }
}

@media (max-width: 760px) {
  .tf-category-hero-inner {
    gap: 22px;
    padding: 30px 20px 34px;
  }
  .tf-category-hero-media { max-width: none; }
  .tf-category-hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .tf-category-hero-lede { font-size: 0.8rem; }
  .tf-category-hero-meta { margin-top: 22px; }
}

/* ----------------------------------------------------------------
   17a. COLLECTION & CATEGORY CARDS
--------------------------------------------------------------- */
.tf-collection {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: 0 40px clamp(26px, 3.4vw, 38px);
}
.tf-collection-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tf-line);
}
.tf-collection-head .tf-kicker { margin: 0 0 7px; }
.tf-collection-head h2 {
  margin: 0;
  font-family: var(--tf-display);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.tf-collection-head h2 em { font-style: italic; color: var(--tf-accent); }
.tf-collection-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.tf-collection-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: var(--tf-muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tf-collection-links a:hover,
.tf-collection-links a:focus-visible { color: var(--tf-ink); border-color: var(--tf-ink); }
.tf-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
  max-width: 1080px;
}
.tf-collection-grid--collections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}
.tf-collection-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  color: var(--tf-ink);
}
.tf-collection-media {
  display: block;
  overflow: hidden;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.tf-collection-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s var(--tf-ease);
}
.tf-collection-card:hover .tf-collection-media img { transform: scale(1.03); }
.tf-collection-card:focus-visible { outline: none; }
.tf-collection-card:focus-visible .tf-collection-media {
  outline: 2px solid var(--tf-ink);
  outline-offset: 3px;
}
.tf-collection-card.is-active .tf-collection-media {
  border-color: var(--tf-ink);
  box-shadow: inset 0 0 0 1px var(--tf-ink);
}
.tf-collection-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tf-collection-name {
  font-family: var(--tf-display);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.tf-collection-card.is-active .tf-collection-name { color: var(--tf-accent); }
.tf-collection-meta {
  color: var(--tf-muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.tf-collection-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--tf-ink);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tf-collection-card:hover .tf-collection-shop,
.tf-collection-card:focus-visible .tf-collection-shop {
  color: var(--tf-accent);
  border-color: var(--tf-accent);
}

/* Every real category, grouped by collection. The cards are the same
   components as the collection cards, so their links, images and
   keyboard behaviour stay identical. */
.tf-category-discovery {
  margin-top: clamp(26px, 3vw, 38px);
}
.tf-category-discovery-head { margin-bottom: 16px; }
.tf-category-discovery-head .tf-kicker { margin: 0 0 7px; }
.tf-category-discovery-title {
  margin: 0;
  font-family: var(--tf-display);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.tf-category-discovery-title em { font-style: italic; color: var(--tf-accent); }
.tf-category-group-block + .tf-category-group-block {
  margin-top: clamp(20px, 2.4vw, 28px);
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--tf-line);
}
.tf-category-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tf-category-group-title {
  margin: 0;
  font-family: var(--tf-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.tf-category-group-all {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--tf-muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tf-category-group-all:hover,
.tf-category-group-all:focus-visible { color: var(--tf-ink); border-color: var(--tf-ink); }
.tf-collection-grid--discovery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tf-collection-note {
  margin: 14px 0 0;
  color: var(--tf-muted);
  font-size: 0.68rem;
  line-height: 1.65;
}
.tf-shop-toolbar {
  position: sticky;
  top: 78px;
  z-index: 90;
  background: rgba(244, 240, 231, 0.96);
  border-top: 1px solid var(--tf-line);
  border-bottom: 1px solid var(--tf-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tf-shop-toolbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: 12px 40px;
}
.tf-chip-row {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}
.tf-chip-row::-webkit-scrollbar { display: none; }
.tf-chip-dynamic { display: contents; }
.tf-chip {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--tf-muted);
  font-family: var(--tf-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tf-chip:hover { color: var(--tf-ink); border-color: var(--tf-line-strong); }
.tf-chip.is-active {
  background: var(--tf-black);
  border-color: var(--tf-black);
  color: var(--tf-ivory);
}
.tf-shop-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.tf-shop-search {
  position: relative;
  display: flex;
  align-items: center;
}
.tf-shop-search svg {
  position: absolute;
  left: 10px;
  color: var(--tf-muted);
  pointer-events: none;
}
.tf-shop-search input {
  width: 172px;
  padding: 9px 10px 9px 32px;
  border: 1px solid var(--tf-line);
  border-radius: 0;
  background: var(--tf-chalk);
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.68rem;
  outline: none;
}
.tf-shop-search input:focus { border-color: var(--tf-accent); }
.tf-shop-sort {
  padding: 9px 28px 9px 10px;
  border: 1px solid var(--tf-line);
  border-radius: 0;
  background-color: var(--tf-chalk);
  background-image: linear-gradient(45deg, transparent 50%, var(--tf-ink) 50%), linear-gradient(135deg, var(--tf-ink) 50%, transparent 50%);
  background-position: calc(100% - 13px) 50%, calc(100% - 8px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.tf-shop-count {
  margin: 0;
  color: var(--tf-muted);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tf-shop-results {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: 34px 40px 90px;
}
.tf-empty {
  padding: 60px 20px;
  border: 1px solid var(--tf-line);
  background: var(--tf-chalk);
  text-align: center;
}
.tf-empty h2 {
  margin: 0 0 8px;
  font-family: var(--tf-display);
  font-size: 1.8rem;
  font-weight: 400;
}
.tf-empty p { margin: 0 0 20px; color: var(--tf-muted); font-size: 0.82rem; }

/* ----------------------------------------------------------------
   18. PRODUCT PAGE
--------------------------------------------------------------- */
.product-page {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(30px, 4vw, 48px) 40px clamp(50px, 6vw, 76px);
}
.pd-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(34px, 5vw, 72px);
  max-width: none;
}
.pd-media { min-width: 0; }
.pd-main-frame {
  position: relative;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
  border-radius: 0;
}
.pd-main-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: none;
  object-fit: cover;
}
.pd-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(25, 26, 23, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: zoom-in;
  transition: background 160ms ease, border-color 160ms ease;
}
.pd-zoom:hover { background: var(--tf-white); border-color: var(--tf-ink); }
.pd-zoom:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.pd-stock {
  border-radius: 0;
  font-size: 0.54rem;
  letter-spacing: 0.14em;
}
.pd-stock.is-in {
  background: var(--tf-black);
  color: var(--tf-ivory);
  border-color: transparent;
}
.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.pd-thumb {
  width: 68px;
  height: 68px;
  padding: 0;
  border: 1px solid var(--tf-line);
  border-radius: 0;
  background: var(--tf-chalk);
  overflow: hidden;
}
.pd-thumb.is-active { border-color: var(--tf-accent); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 40px;
}
.pd-lightbox[hidden] { display: none; }
.pd-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 26, 23, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pd-lightbox-inner {
  position: relative;
  max-width: min(1080px, 100%);
  max-height: 88dvh;
}
.pd-lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: 82dvh;
  object-fit: contain;
  background: var(--tf-chalk);
}
.pd-lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244, 240, 231, 0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--tf-ivory);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.pd-lightbox-close:hover { background: rgba(244, 240, 231, 0.12); }
.pd-lightbox-close:focus-visible { outline: 2px solid var(--tf-ivory); outline-offset: 2px; }
.pd-info {
  position: sticky;
  top: 106px;
  min-width: 0;
}
.tf-product-breadcrumb { margin-bottom: 20px; }
.pd-info .eyebrow {
  margin: 0 0 12px;
  color: var(--tf-accent);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}
.pd-info .eyebrow::before { display: none; }
.pd-name {
  margin: 0 0 12px;
  text-wrap: balance;
  font-family: var(--tf-display);
  font-size: clamp(2.3rem, 4.3vw, 3.7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--tf-ink);
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tf-line);
}
.pd-price {
  font-family: var(--tf-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  color: var(--tf-ink);
}
.pd-regular {
  color: var(--tf-muted);
  font-size: 0.82rem;
  text-decoration: line-through;
}
.pd-discount {
  padding: 3px 7px;
  background: var(--tf-accent);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pd-desc {
  max-width: 500px;
  margin: 0 0 20px;
  color: var(--tf-muted);
  font-size: 0.86rem;
  line-height: 1.8;
}
.pd-strap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  color: var(--tf-muted);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}
.pd-strap-key {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.pd-strap-dot { width: 10px; height: 10px; }
.pd-variants { margin-top: 16px; }
.pd-variants-label {
  color: var(--tf-muted);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}
.pd-swatch-face { border-radius: 50%; }
.pd-swatch-name { font-size: 0.58rem; }
.pd-buy-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--tf-line);
}
.pd-buy-row .order-qty {
  display: grid;
  gap: 6px;
  flex: 0 0 92px;
  color: var(--tf-muted);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}
.pd-buy-row .order-qty select {
  width: 100%;
  padding: 13px 10px;
  border: 1px solid var(--tf-line);
  border-radius: 0;
  background: var(--tf-chalk);
  color: var(--tf-ink);
  font-size: 0.76rem;
}
.pd-buy,
.pd-addcart {
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 0;
  font-size: 0.62rem;
}
.pd-buy {
  flex: 1 1 170px;
  background: var(--tf-black);
  color: var(--tf-ivory);
  border: 1px solid var(--tf-black);
}
.pd-buy:hover { background: var(--tf-charcoal); box-shadow: none; }
.pd-addcart {
  flex: 1 1 170px;
  border: 1px solid var(--tf-line-strong);
  background: transparent;
  color: var(--tf-ink);
}
.pd-addcart:hover { border-color: var(--tf-ink); background: transparent; }
.pd-back {
  margin-top: 22px;
  color: var(--tf-muted);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}
.pd-back:hover { color: var(--tf-accent); }
.tf-product-info {
  margin-top: 28px;
  border-top: 1px solid var(--tf-line);
}
.tf-product-info details {
  border-bottom: 1px solid var(--tf-line);
}
.tf-product-info summary {
  position: relative;
  padding: 15px 26px 15px 0;
  color: var(--tf-ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.tf-product-info summary::-webkit-details-marker { display: none; }
.tf-product-info summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tf-accent);
  font-size: 1rem;
  font-weight: 400;
}
.tf-product-info details[open] summary::after { content: '−'; }
.tf-product-info .tf-info-body {
  padding: 0 0 16px;
  color: var(--tf-muted);
  font-size: 0.76rem;
  line-height: 1.7;
}
.tf-product-info .tf-info-body p { margin: 0 0 8px; }
.tf-product-info .tf-info-body a { border-bottom: 1px solid var(--tf-line-strong); }
.tf-price-request {
  padding: 14px 16px;
  border: 1px solid var(--tf-line);
  background: var(--tf-chalk);
  color: var(--tf-muted);
  font-size: 0.74rem;
  line-height: 1.6;
}
.tf-price-request a { color: var(--tf-ink); border-bottom: 1px solid var(--tf-line-strong); }

/* Related section */
#relatedSection {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 62px) 40px clamp(70px, 8vw, 100px);
  background: transparent;
  border-top: 1px solid var(--tf-line);
}
#relatedSection .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  text-align: left;
}
#relatedSection .eyebrow {
  margin: 0;
  color: var(--tf-accent);
  font-size: 0.6rem;
}
#relatedSection .section-title {
  margin: 0;
  font-family: var(--tf-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
#relatedSection .section-title span { color: var(--tf-ink); }

/* Product reviews */
.reviews-section {
  padding: clamp(60px, 7vw, 92px) 40px;
  background: var(--tf-chalk);
  border-top: 1px solid var(--tf-line);
}
.reviews-layout { max-width: var(--tf-page); gap: 60px; }
.reviews-summary .section-title {
  font-family: var(--tf-display);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 300;
}
.reviews-summary .eyebrow { color: var(--tf-accent); font-size: 0.6rem; }
.rev-item {
  background: #fff;
  border: 1px solid var(--tf-line);
  border-radius: 0;
}
.rev-form-card {
  background: #fff;
  border: 1px solid var(--tf-line);
  border-radius: 0;
}
.rev-form-card h3 { color: var(--tf-accent); }
.rev-avg-num { font-family: var(--tf-display); font-weight: 400; }
.stars span { color: rgba(25, 26, 23, 0.18); }
.stars span.is-on { color: var(--tf-accent); }
.rev-stars-input button.is-on,
.rev-stars-input button:hover { color: var(--tf-accent); }
.rev-bar-track { background: rgba(25, 26, 23, 0.1); }
.rev-bar-fill { background: var(--tf-accent); }
.rev-form input,
.rev-form textarea,
.shop-search,
.shop-select {
  border-radius: 0;
  background: #fff;
  border-color: var(--tf-line);
}
.rev-submit-row .btn {
  background: var(--tf-black);
  color: var(--tf-ivory);
}

/* ----------------------------------------------------------------
   19. LEGACY COMMERCE COMPONENTS — re-skinned
--------------------------------------------------------------- */
.order-panel,
.cart-drawer {
  border-radius: 0;
}
.order-panel { max-width: 540px; padding: 38px 34px 34px; }
.order-close { border-color: var(--tf-line-strong); }
.order-close span { background: var(--tf-ink); }
.order-image img { background: var(--tf-ivory); }
.order-info .product-cat { color: var(--tf-accent); }
.order-name, .order-info h3 { font-family: var(--tf-display); font-weight: 400; }
.order-price { font-family: var(--tf-display); color: var(--tf-ink); }
.order-form input,
.order-form textarea,
.order-form select {
  border-radius: 0;
  background: #fff;
  border-color: var(--tf-line);
}
.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
  border-color: var(--tf-accent);
  box-shadow: 0 0 0 1px rgba(111, 102, 88, 0.25);
}
.order-form .btn-solid,
.order-submit.btn-solid,
.cart-foot .btn-solid,
#cartCheckout {
  background: var(--tf-black);
  color: var(--tf-ivory);
  border: 1px solid var(--tf-black);
  border-radius: 0;
}
.order-form .btn-solid:hover,
.cart-foot .btn-solid:hover { background: var(--tf-charcoal); box-shadow: none; }
.pay-option { border-radius: 0; }
.pay-option:hover { border-color: var(--tf-accent); }
.pay-option.is-active { border-color: var(--tf-black); background: rgba(25, 26, 23, 0.04); }

/* The legacy order-form input rule is broad (48px, padding, white fill); make
   the payment radios a real radio again instead of a filled square. */
.order-form .pay-option input[type="radio"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0;
  margin: 3px 0 0;
  flex: 0 0 16px;
  border: 1px solid var(--tf-line-strong);
  border-radius: 50%;
  background: transparent;
}
.order-form .pay-option input[type="radio"]:checked { border-color: var(--tf-black); }
.order-form .pay-option input[type="radio"]:checked::after {
  inset: 3px;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: var(--tf-black);
}
.order-confirmbar { border-radius: 0; border-color: var(--tf-line-strong); background: var(--tf-ivory); }
.order-confirm .confirm-welcome {
  border-radius: 0;
  border-color: rgba(111, 102, 88, 0.35);
  background: rgba(111, 102, 88, 0.06);
  color: var(--tf-ink);
  font-family: var(--tf-display);
  font-weight: 400;
}
.order-confirm .confirm-welcome::before {
  border-radius: 0;
  border-color: rgba(111, 102, 88, 0.5);
  color: var(--tf-accent);
}
.order-confirm .confirm-title { font-family: var(--tf-display); font-weight: 400; color: var(--tf-ink); }
.order-confirm { border-radius: 0; }
.ot-row.ot-total span:last-child { color: var(--tf-black); }
.cart-head h3 { color: var(--tf-ink); font-weight: 700; }
.cart-item img { border-radius: 0; background: var(--tf-ivory); }
.cart-item-price { color: var(--tf-black); }
.cart-total-row span:last-child { color: var(--tf-black); }
.cart-coupon .btn { border-radius: 0; }
.cart-drawer .btn { border-radius: 0; }
.cart-drawer .btn-outline { border-color: var(--tf-line-strong); color: var(--tf-ink); }
.cart-drawer .btn-outline:hover { border-color: var(--tf-black); }
.cart-item-ctrl button { border-radius: 0; }
.cart-drawer .order-qty select,
.cart-coupon input {
  border-radius: 0;
  background: #fff;
  border-color: var(--tf-line);
}

/* ----------------------------------------------------------------
   20. PAGES: TRACK, POLICIES
--------------------------------------------------------------- */
.tf-page-hero {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 82px) 40px 26px;
}
.tf-page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--tf-display);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tf-page-hero p {
  max-width: 560px;
  margin: 0;
  color: var(--tf-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}
.tf-track-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 40px 90px;
}
.tf-track-form {
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--tf-line-strong);
}
.tf-track-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 15px 4px;
  border: 0;
  background: transparent;
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.9rem;
  outline: none;
}
.tf-track-form .tf-btn { margin-bottom: 8px; }
.tf-track-note {
  margin: 0 0 26px;
  color: var(--tf-muted);
  font-size: 0.68rem;
  line-height: 1.6;
}
.track-page { min-height: 0; padding: 0; max-width: none; }
.track-head { text-align: left; margin-bottom: 24px; }
.track-title { font-family: var(--tf-display); font-weight: 300; letter-spacing: -0.02em; }
.track-sub { color: var(--tf-muted); font-size: 0.8rem; }
.track-form { max-width: none; }
.track-form input {
  border-radius: 0;
  background: var(--tf-chalk);
  border-color: var(--tf-line);
}
.track-card {
  border-radius: 0;
  background: var(--tf-chalk);
  border-color: var(--tf-line);
}
.track-total { color: var(--tf-black); }
.track-badge.paid { color: #2C5B3A; border-color: rgba(44, 91, 58, 0.35); background: rgba(44, 91, 58, 0.07); }
.track-badge.awaiting { color: #8A5A1E; border-color: rgba(138, 90, 30, 0.3); background: rgba(138, 90, 30, 0.07); }
.track-tracking {
  border-radius: 0;
  border-color: rgba(111, 102, 88, 0.3);
  background: rgba(111, 102, 88, 0.05);
}
.track-step.done .dot,
.track-step.done::before { border-color: var(--tf-black); background: var(--tf-black); }
.track-step.done .lbl { color: var(--tf-black); }
.track-step.now .lbl { color: var(--tf-ink); }

.tf-policy-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 54px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 40px 100px;
}
.tf-policy-nav {
  position: sticky;
  top: 108px;
  align-self: start;
}
.tf-policy-nav ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tf-policy-nav a {
  color: var(--tf-muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tf-policy-nav a:hover { color: var(--tf-accent); }
.tf-policy {
  padding: 28px 0;
  border-top: 1px solid var(--tf-line);
}
.tf-policy:first-child { border-top: 0; padding-top: 0; }
.tf-policy h2 {
  margin: 0 0 12px;
  font-family: var(--tf-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.tf-policy p, .tf-policy li {
  color: var(--tf-muted);
  font-size: 0.84rem;
  line-height: 1.8;
}
.tf-policy ul { margin: 10px 0 0; padding-left: 18px; list-style: disc; }
.tf-policy p { margin: 0 0 12px; }
.tf-draft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 12px;
  background: rgba(111, 102, 88, 0.1);
  border: 1px solid rgba(111, 102, 88, 0.3);
  color: #7C5326;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tf-policy a { color: var(--tf-ink); border-bottom: 1px solid var(--tf-line-strong); }
.tf-placeholder-inline {
  padding: 1px 6px;
  background: rgba(111, 102, 88, 0.12);
  color: #7C5326;
  font-style: italic;
}

/* ----------------------------------------------------------------
   21. LEGACY HEADER/FOOTER FALLBACKS (shop/product/track pages)
--------------------------------------------------------------- */
.tf-site-header-legacy .nav { max-width: var(--tf-page); padding: 0 40px; }
.tf-site-header-legacy .brand { font-family: var(--tf-display); }
.site-footer:not(.tf-footer) {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 44px 24px;
  background: var(--tf-black);
  color: var(--tf-ivory);
  text-align: center;
}

/* ----------------------------------------------------------------
   22. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1180px) {
  .tf-nav ul { gap: 20px; }
  .tf-header-inner { gap: 22px; padding-inline: 28px; }
  .tf-change { display: none; }
  .tf-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
  .tf-hero-meta { gap: 30px; }
  .tf-promises li { padding-inline: 18px; }
  .tf-promises small { font-size: 0.58rem; }
}

@media (max-width: 1100px) {
  .tf-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tf-collection-grid--discovery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .tf-nav { display: none; }
  .tf-header .menu-toggle { display: block; }
  .tf-header-inner { min-height: 68px; }
  .tf-hero { grid-template-columns: 1fr; gap: 0; padding-block: 40px 38px; }
  .tf-hero-copy { max-width: 640px; }
  .tf-hero-title { font-size: clamp(3.2rem, 9vw, 5rem); line-height: 0.86; }
  .tf-hero-lede { margin-bottom: 22px; }
  .tf-hero-ctas { gap: 16px 22px; }
  .tf-hero-meta { margin-top: 26px; padding-top: 16px; gap: 20px; }
  .tf-hero-meta dt { font-size: 0.52rem; }
  .tf-hero-meta dd { font-size: 0.96rem; }
  .tf-hero-visual { max-width: 640px; margin-top: 26px; }
  .tf-promises-inner { grid-template-columns: repeat(2, 1fr); padding: 0 28px; }
  .tf-promises li { border-bottom: 1px solid var(--tf-line); padding: 18px 20px; }
  .tf-promises li:nth-child(2) { border-right: 0; }
  .tf-promises li:nth-child(3) { padding-left: 0; }
  .tf-promises li:nth-child(4) { border-right: 0; }
  .tf-promises li:nth-last-child(-n + 2) { border-bottom: 0; }
  .tf-section { padding-inline: 28px; }
  .tf-section-head--split { grid-template-columns: 1fr; gap: 18px; }
  .tf-section-head-side { max-width: 520px; }
  .tf-edit-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .tf-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tf-promo { margin-inline: 28px; }
  .tf-story { grid-template-columns: 1fr; }
  .tf-story-media { max-width: 560px; }
  .tf-story-copy { max-width: 620px; }
  .tf-review-grid { grid-template-columns: repeat(2, 1fr); }
  .tf-newsletter-inner { grid-template-columns: 1fr; gap: 30px; }
  .tf-footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); padding-inline: 28px; }
  .tf-footer-contact { grid-column: 2 / span 2; }
  .tf-footer-bottom { padding-inline: 28px; }
  .pd-info { position: static; }
  .tf-shop-toolbar-inner { flex-wrap: wrap; padding-inline: 28px; }
  .tf-chip-row { order: 1; flex-basis: 100%; }
  .tf-shop-tools { order: 2; flex: 1 1 auto; }
  .tf-shop-count { order: 3; margin-left: auto; }
  .tf-shop-results { padding-inline: 28px; }
  .tf-shop-hero { padding-inline: 28px; }
  .tf-collection { padding-inline: 28px; }
  .tf-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tf-collection-grid--collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-page { padding-inline: 28px; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-media { max-width: 620px; }
  #relatedSection { padding-inline: 28px; }
  .reviews-section { padding-inline: 28px; }
  .tf-policy-wrap { grid-template-columns: 1fr; gap: 26px; padding-inline: 28px; }
  .tf-policy-nav { position: static; }
  .tf-policy-nav ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .tf-track-wrap { padding-inline: 28px; }
  .tf-page-hero { padding-inline: 28px; }
}

@media (max-width: 760px) {
  .tf-announce-inner { padding: 7px 20px; min-height: 34px; font-size: 0.58rem; }
  .tf-announce-links { display: none; }
  .tf-announce p { gap: 8px; }
  .tf-announce-dot { display: none; }
  .tf-header-inner { padding-inline: 20px; gap: 12px; }
  .tf-brand-word { font-size: 1.16rem; }
  .tf-brand-mark { width: 34px; height: 34px; }
  .tf-header .lang-toggle { display: none; }
  .tf-icon-btn { width: 38px; height: 38px; }
  .tf-hero { padding-inline: 20px; }
  .tf-hero-title { font-size: clamp(3.6rem, 16vw, 6rem); }
  .tf-hero-lede { font-size: 0.9rem; }
  .tf-hero-meta { gap: 24px; flex-wrap: wrap; }
  .tf-hero-visual { grid-template-columns: 1fr 0.52fr; }
  .tf-hero-aside { margin-bottom: 24px; }
  .tf-hero-card { right: 8px; bottom: 8px; left: 8px; padding: 10px 12px; }
  .tf-hero-card strong { font-size: 0.95rem; }
  .tf-promises-inner { padding-inline: 20px; }
  .tf-promises li { padding: 15px 12px; gap: 10px; }
  .tf-promises li:first-child { padding-left: 0; }
  .tf-promises strong { font-size: 0.62rem; }
  .tf-promises small { font-size: 0.55rem; }
  .tf-section { padding-inline: 20px; }
  .tf-section-head { margin-bottom: 32px; }
  .tf-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .tf-card-bag { opacity: 1; transform: none; width: 44px; height: 44px; }
  .tf-card-link { display: none; }
  .tf-edit-grid { gap: 22px 10px; }
  .tf-edit-meta p { display: none; }
  .tf-promo { margin-inline: 20px; padding: 36px 22px 30px; grid-template-columns: 1fr; gap: 30px; }
  .tf-promo-copy h2 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .tf-promo-media { grid-template-columns: 1.2fr 0.8fr; }
  .tf-promo-stamp { display: none; }
  .tf-story { padding-inline: 20px; }
  .tf-story-facts { grid-template-columns: 1fr; gap: 12px; }
  .tf-story-facts div { grid-template-columns: 80px 1fr; align-items: baseline; }
  .tf-details { padding-inline: 20px; }
  .tf-details-grid { grid-template-columns: 1fr; }
  .tf-detail { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--tf-line); }
  .tf-detail + .tf-detail { padding-left: 0; }
  .tf-detail:nth-child(3n) { border-right: 0; }
  .tf-reviews { padding-inline: 20px; }
  .tf-review-grid { grid-template-columns: 1fr; }
  .tf-newsletter-inner { padding: 48px 20px; }
  .tf-newsletter-field { flex-wrap: wrap; border-bottom: 0; }
  .tf-newsletter-field input {
    flex-basis: 100%;
    border-bottom: 1px solid rgba(25, 26, 23, 0.45);
  }
  .tf-newsletter-field .tf-btn { flex: 1 1 100%; margin-top: 12px; }
  .tf-footer-top { grid-template-columns: 1fr 1fr; padding-inline: 20px; }
  .tf-footer-brand { grid-column: 1 / -1; }
  .tf-footer-contact { grid-column: 1 / -1; }
  .tf-footer-bottom { flex-direction: column; padding-inline: 20px; }
  .tf-dialog { padding: 0; align-items: stretch; }
  .tf-search-panel, .tf-account-panel { width: 100%; max-height: none; min-height: 100%; border: 0; }
  .tf-search-head { padding: 60px 20px 16px; }
  .tf-search-results { padding: 0 20px 24px; }
  .tf-search-recent { padding: 0 20px 20px; }
  .tf-search-all { padding-inline: 20px; }
  .tf-account-panel { padding: 60px 24px 30px; }
  .tf-shop-hero { padding-inline: 20px; }
  .tf-shop-hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .tf-collection { padding-inline: 20px; }
  .tf-collection-head { align-items: flex-start; }
  .tf-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-collection-grid--collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-collection-grid--discovery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-shop-toolbar { top: 68px; }
  .tf-shop-toolbar-inner { padding: 10px 20px; gap: 10px; }
  .tf-shop-tools { flex: 1 1 100%; }
  .tf-shop-search { flex: 1 1 auto; }
  .tf-shop-search input { width: 100%; }
  .tf-shop-sort { flex: 0 0 auto; }
  .tf-shop-count { order: 0; flex: 0 0 auto; }
  .tf-shop-results { padding: 24px 20px 70px; }
  .product-page { padding-inline: 20px; }
  .pd-name { font-size: clamp(2.1rem, 9vw, 3rem); }
  .pd-lightbox { padding: 16px; }
  .pd-lightbox-close { top: 8px; right: 8px; background: rgba(25, 26, 23, 0.6); }
  .pd-buy-row .order-qty { flex-basis: 100%; }
  .pd-buy, .pd-addcart { flex-basis: calc(50% - 5px); }
  #relatedSection { padding-inline: 20px; }
  #relatedSection .section-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .reviews-section { padding-inline: 20px; }
  .order-panel { padding: 34px 20px 26px; }
  .cart-drawer { width: 100%; }
  .tf-track-wrap { padding-inline: 20px; }
  .tf-page-hero { padding-inline: 20px; }
  .tf-policy-wrap { padding-inline: 20px; }
}

@media (max-width: 420px) {
  .tf-actions .tf-account-btn { display: none; }
  .tf-hero-visual { grid-template-columns: 1fr; }
  .tf-hero-aside { display: none; }
  .tf-hero-card-arrow { display: none; }
  .tf-hero-card { grid-template-columns: 1fr; }
  .tf-promises-inner { grid-template-columns: 1fr; }
  .tf-promises li { border-right: 0 !important; padding-inline: 0; }
  .tf-promises li:nth-last-child(2) { border-bottom: 1px solid var(--tf-line); }
  .tf-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .tf-card-body { padding-top: 10px; gap: 2px; }
  .tf-card-name { font-size: 0.94rem; line-height: 1.2; }
  .tf-card-collection { font-size: 0.5rem; letter-spacing: 0.13em; }
  .tf-card-price { font-size: 0.68rem; }
  .tf-card-price s { display: block; margin-left: 0; font-size: 0.62rem; }
  .tf-card-color { display: none; }
  .tf-card-bag { width: 44px; height: 44px; right: 7px; bottom: 7px; }
  .tf-card-link { display: none; }
  .tf-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .tf-edit-media img { aspect-ratio: 0.88; }
  .tf-edit-meta h3 { font-size: 1.02rem; }
  .tf-edit-meta p { display: none; }
  .tf-footer-top { grid-template-columns: 1fr; }
  .tf-footer-contact { grid-column: auto; }
  .pd-buy, .pd-addcart { flex-basis: 100%; }
}

/* Very narrow phones get one comfortable column rather than two cramped
   cards that would force product names and prices to wrap awkwardly. */
@media (max-width: 339px) {
  .tf-product-grid { grid-template-columns: 1fr; }
  .tf-collection-grid,
  .tf-collection-grid--collections,
  .tf-collection-grid--discovery { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
    23. SHARED PAGE DETAILS — shop help, product specs, track, policy
--------------------------------------------------------------- */
body.tf-shop-page,
body.tf-product-page,
body.tf-track-page,
body.tf-policy-page { overflow-x: hidden; }

.tf-page-hero h1 em,
#shopTitle em {
  font-style: italic;
  font-weight: 300;
  color: var(--tf-accent);
}
#shopTitle { max-width: 760px; }

.tf-shop-help {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) 40px clamp(70px, 8vw, 100px);
  border-top: 1px solid var(--tf-line);
}
.tf-shop-help h2 {
  margin: 0;
  font-family: var(--tf-display);
  font-size: clamp(2.2rem, 3.7vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
}
.tf-shop-help h2 em { color: var(--tf-accent); font-style: italic; }
.tf-shop-help p {
  max-width: 520px;
  margin: 0;
  color: var(--tf-muted);
  font-size: 0.85rem;
  line-height: 1.75;
}
.tf-shop-help-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Product page refinements */
.tf-product-breadcrumb { margin-bottom: 22px; }
.pd-price-row--request {
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}
.pd-price--request {
  font-family: var(--tf-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--tf-accent);
}
.tf-price-request {
  margin: 0 0 18px;
}
.tf-price-request strong { color: var(--tf-ink); font-weight: 600; }
.tf-product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--tf-line);
}
.tf-product-specs[hidden] { display: none; }
.tf-product-specs div { display: grid; gap: 2px; }
.tf-product-specs dt {
  color: var(--tf-muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tf-product-specs dd {
  margin: 0;
  color: var(--tf-ink);
  font-size: 0.74rem;
  line-height: 1.5;
}
.pd-buy-row[hidden],
.tf-product-enquire[hidden],
.pd-thumbs[hidden] { display: none; }
.pd-pattern[hidden] { display: none; }
.tf-product-enquire {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--tf-line);
}
.tf-reviews-note {
  max-width: 330px;
  margin: 22px 0 0;
  color: var(--tf-muted);
  font-size: 0.68rem;
  line-height: 1.65;
}
#relatedSection[hidden] { display: none; }

/* Track page */
.tf-track-form .tf-btn { flex: 0 0 auto; margin-left: 14px; }
.tf-track-note {
  max-width: 620px;
}
.tf-track-note code {
  padding: 1px 5px;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
  font-size: 0.68rem;
}
.tf-track-help {
  margin-top: 62px;
  padding-top: 34px;
  border-top: 1px solid var(--tf-line);
}
.tf-track-help h2 {
  margin: 0 0 14px;
  font-family: var(--tf-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
}
.tf-track-help h2 em { color: var(--tf-accent); font-style: italic; }
.tf-track-help > p:not(.tf-kicker) {
  max-width: 520px;
  margin: 0 0 18px;
  color: var(--tf-muted);
  font-size: 0.82rem;
  line-height: 1.75;
}
.track-msg.err { color: #9B3E2E; }
.track-msg.ok { color: var(--tf-muted); }

/* Policies */
.tf-policy-updated {
  margin-top: 16px !important;
  color: var(--tf-accent) !important;
  font-size: 0.6rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tf-contact-list {
  list-style: none !important;
  padding-left: 0 !important;
}
.tf-contact-list li { margin-bottom: 7px; }
.tf-policy code {
  padding: 1px 5px;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
  font-size: 0.7rem;
}

/* Search / account / bag while a storefront dialog is open */
body.tf-lock { overflow: hidden; }

/* Legacy WhatsApp FAB, brought into the storefront palette. */
.whatsapp-fab {
  background: var(--tf-black);
  color: var(--tf-ivory);
  border: 1px solid rgba(244, 240, 231, 0.22);
  box-shadow: 0 10px 26px rgba(25, 26, 23, 0.28);
}
.whatsapp-fab:hover {
  background: var(--tf-charcoal);
  box-shadow: 0 14px 30px rgba(25, 26, 23, 0.36);
}
@media (max-width: 760px) {
  .whatsapp-fab { width: 48px; height: 48px; right: 14px; bottom: 14px; }
}

@media (max-width: 980px) {
  .tf-shop-help { grid-template-columns: 1fr; gap: 22px; padding-inline: 28px; }
  .tf-shop-help p { max-width: 620px; }
}

@media (max-width: 760px) {
  .tf-shop-help { padding-inline: 20px; }
  .tf-product-specs { grid-template-columns: 1fr; }
  .tf-product-enquire .tf-btn { width: 100%; }
  .tf-track-form { display: grid; grid-template-columns: 1fr; border-bottom: 0; gap: 10px; }
  .tf-track-form input { border-bottom: 1px solid var(--tf-line-strong); }
  .tf-track-form .tf-btn { margin-left: 0; width: 100%; }
  .tf-track-help { margin-top: 44px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tf-brand:hover .tf-brand-mark { transform: none; }
  .tf-product-card:hover .tf-card-media img,
  .tf-edit:hover .tf-edit-media img,
  .tf-hero-main:hover > img,
  .tf-promo-media:hover .tf-promo-image img { transform: none; }
}

/* --------------------------------------------------------------
   CLOTHING VARIANTS — colour swatches, size buttons, size guide
-------------------------------------------------------------- */
.pd-variant {
  margin: 0 0 18px;
}
.pd-variant[hidden] { display: none; }
.pd-variant-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.pd-variant-key {
  color: var(--tf-ink);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.pd-variant-value {
  color: var(--tf-muted);
  font-size: 0.72rem;
}
.pd-size-guide-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--tf-line-strong);
  background: none;
  color: var(--tf-muted);
  font: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.pd-size-guide-link:hover,
.pd-size-guide-link:focus-visible { color: var(--tf-ink); }
.pd-colouropts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.pd-coloropt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 3px;
  border: 1px solid var(--tf-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.pd-coloropt:hover { border-color: var(--tf-ink); }
.pd-coloropt:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.pd-coloropt.is-active { border-color: var(--tf-ink); box-shadow: inset 0 0 0 1px var(--tf-ink); }
.pd-coloropt-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(25, 26, 23, 0.16);
}
.pd-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-size {
  min-width: 46px;
  padding: 10px 12px;
  border: 1px solid var(--tf-line);
  border-radius: 0;
  background: var(--tf-chalk);
  color: var(--tf-ink);
  font: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.pd-size:hover:not(:disabled) { border-color: var(--tf-ink); }
.pd-size:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.pd-size.is-active {
  border-color: var(--tf-ink);
  background: var(--tf-ink);
  color: var(--tf-chalk);
}
.pd-size.is-disabled,
.pd-size:disabled {
  color: var(--tf-muted);
  background: transparent;
  border-style: dashed;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.55;
}
.pd-variant-error {
  margin: 10px 0 0;
  color: #8a2b1d;
  font-size: 0.72rem;
  line-height: 1.5;
}
.pd-variant-error[hidden] { display: none; }

.cart-item-variant {
  margin-top: 2px;
  color: var(--tf-muted);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
}
.tf-card-swatches {
  display: inline-flex;
  gap: 3px;
}
.tf-card-swatches i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(25, 26, 23, 0.2);
}
.confirm-variant { color: var(--tf-muted); font-size: 0.72rem; }

/* Size guide dialog */
.sizemodal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sizemodal.is-open { display: flex; }
.sizemodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 15, 0.55);
  backdrop-filter: blur(2px);
}
.sizemodal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(82vh, 720px);
  overflow-y: auto;
  padding: 28px;
  background: var(--tf-chalk);
  border: 1px solid var(--tf-line);
}
.sizemodal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
}
.sizemodal-head h2 {
  margin: 0;
  font-family: var(--tf-serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.sizemodal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--tf-line);
  background: transparent;
  color: var(--tf-ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.sizemodal-close:hover { border-color: var(--tf-ink); }
.sizemodal-note {
  margin: 0 0 18px;
  color: var(--tf-muted);
  font-size: 0.74rem;
  line-height: 1.6;
}
.sizemodal-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}
.sizemodal-table th,
.sizemodal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--tf-line);
  text-align: left;
}
.sizemodal-table th {
  color: var(--tf-muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sizemodal-empty {
  margin: 0;
  color: var(--tf-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}
.sizemodal-help { margin-top: 22px; }
.sizemodal-help h3 {
  margin: 0 0 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sizemodal-help ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.sizemodal-help li {
  color: var(--tf-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}
.sizemodal-help strong { color: var(--tf-ink); font-weight: 600; }

@media (max-width: 640px) {
  .sizemodal-panel { padding: 22px 18px; }
  .sizemodal-table { overflow-x: auto; }
  .pd-colouropts, .pd-sizes { gap: 8px; }
}

/* Touch-sized variant controls: 44px keeps every size and colour reachable
   without shrinking the label or making the row scroll sideways. */
@media (max-width: 980px) {
  .pd-coloropt { width: 44px; height: 44px; }
  .pd-size { min-width: 44px; min-height: 44px; padding: 10px 12px; }
  .pd-size-guide-link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Shop filters: a compact desktop sidebar that becomes a modal bottom
   sheet below 1100px. The same controls are used in both layouts. */
.tf-shop-browse {
  max-width: var(--tf-page);
  margin: 0 auto;
  padding: 30px 40px 90px;
}
.tf-shop-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.tf-shop-results {
  min-width: 0;
  max-width: none;
  padding: 0;
}
.tf-shop-gridhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tf-line);
}
.tf-shop-sort-field {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--tf-muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tf-shop-sort-field .tf-shop-sort { min-height: 44px; }
.tf-shop-count { order: 0; margin: 0; white-space: normal; }

.tf-filter-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 124px);
  border: 1px solid var(--tf-line);
  background: var(--tf-chalk);
}
.tf-filter-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 18px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--tf-line-strong) transparent;
}
.tf-filter-drawer-head,
.tf-filter-drawer-foot { display: none; }
.tf-filter-group { border-bottom: 1px solid var(--tf-line); }
.tf-filter-group:last-of-type { border-bottom: 0; }
.tf-filter-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 0 11px;
  color: var(--tf-ink);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}
.tf-filter-group > summary::-webkit-details-marker { display: none; }
.tf-filter-group > summary::after {
  content: '+';
  color: var(--tf-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
}
.tf-filter-group[open] > summary::after { content: '−'; }
.tf-filter-group > summary:hover { color: var(--tf-accent); }
.tf-filter-group > summary:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-filter-options {
  display: grid;
  gap: 1px;
  padding: 0 0 13px;
}
.tf-filter-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 34px;
  padding: 5px 0;
  border: 0;
  background: none;
  color: var(--tf-muted);
  font-family: var(--tf-body);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.tf-filter-opt:hover { color: var(--tf-ink); }
.tf-filter-opt:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-filter-opt.is-active { color: var(--tf-ink); }
.tf-filter-opt.is-active .tf-filter-opt-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tf-filter-opt:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}
.tf-filter-opt:disabled .tf-filter-opt-label { text-decoration: none; }
.tf-filter-opt-label { flex: 1 1 auto; min-width: 0; }
.tf-filter-opt-count {
  flex: 0 0 auto;
  min-width: 16px;
  color: var(--tf-muted);
  font-size: 0.56rem;
  text-align: right;
}
.tf-filter-opt.is-active .tf-filter-opt-count { color: var(--tf-ink); }
.tf-swatch {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tf-swatch, transparent);
  box-shadow: inset 0 0 0 1px rgba(22, 36, 29, 0.24);
}
.tf-filter-options--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 14px;
}
.tf-filter-options--chips .tf-filter-opt {
  width: auto;
  min-width: 34px;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid var(--tf-line);
  justify-content: center;
  gap: 6px;
}
.tf-filter-options--chips .tf-filter-opt.is-active {
  border-color: var(--tf-black);
  background: var(--tf-black);
  color: var(--tf-ivory);
}
.tf-filter-options--chips .tf-filter-opt.is-active .tf-filter-opt-label { text-decoration: none; }
.tf-filter-options--chips .tf-filter-opt.is-active .tf-filter-opt-count { color: var(--tf-ivory); }
.tf-filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 0 4px;
  color: var(--tf-ink);
  font-size: 0.7rem;
  cursor: pointer;
}
.tf-filter-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--tf-ink);
}
.tf-filter-hint {
  margin: 4px 0 6px;
  color: var(--tf-muted);
  font-size: 0.56rem;
  line-height: 1.55;
}
.tf-filter-reset {
  width: 100%;
  min-height: 44px;
  margin: 2px 0 10px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--tf-line-strong);
  background: none;
  color: var(--tf-muted);
  font-family: var(--tf-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}
.tf-filter-reset:hover { color: var(--tf-ink); }
.tf-filter-reset:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-filter-count { color: var(--tf-ink); font-weight: 700; letter-spacing: 0; }
.tf-filter-open {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid var(--tf-line-strong);
  background: none;
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.tf-filter-open:hover { color: var(--tf-accent); }
.tf-filter-open:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-filter-title {
  margin: 0;
  font-family: var(--tf-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.1;
}
.tf-filter-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--tf-line-strong);
  background: none;
  color: var(--tf-ink);
  font-family: var(--tf-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.tf-filter-close:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-filter-apply {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}
.tf-filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1099;
  background: rgba(22, 36, 29, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
body.tf-filters-open { overflow: hidden; }

/* The toolbar is a browsing strip, not a sticky overlay; the filter sidebar
   carries the refining tools from here. */
.tf-shop-toolbar {
  position: static;
  top: auto;
  z-index: auto;
}
.tf-shop-toolbar-inner {
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 40px;
}
.tf-chip-row {
  flex: 1 1 100%;
  flex-wrap: wrap;
  overflow: visible;
  padding: 0;
}
.tf-shop-tools {
  flex: 1 1 100%;
  justify-content: space-between;
  gap: 14px;
}
.tf-shop-search {
  flex: 1 1 auto;
  max-width: 320px;
}
.tf-shop-search input {
  width: 100%;
  min-height: 44px;
}
.tf-shop-sort { min-height: 44px; }
.tf-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.tf-empty-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--tf-ink);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--tf-line-strong);
}
.tf-empty-link:hover { color: var(--tf-accent); border-color: var(--tf-accent); }

/* Below the desktop breakpoint the sidebar becomes an off-canvas drawer that
   opens from the right. The grid keeps its width; the drawer floats above it
   with a backdrop so the product cards never get squeezed. */
@media (max-width: 1099px) {
  .tf-shop-browse { padding: 24px 28px 80px; }
  .tf-shop-toolbar-inner { padding-inline: 28px; }
  .tf-shop-layout { display: block; }
  .tf-shop-results { padding: 0; }
  .tf-filter-open { display: inline-flex; }
  .tf-filter-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    width: min(400px, 92vw);
    max-height: none;
    align-self: stretch;
    border: 0;
    border-left: 1px solid var(--tf-line);
    box-shadow: -18px 0 46px rgba(22, 36, 29, 0.16);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.32s var(--tf-ease), visibility 0.32s;
  }
  .tf-filter-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .tf-filter-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex: 0 0 auto;
    padding: 20px 20px 14px;
    border-bottom: 1px solid var(--tf-line);
  }
  .tf-filter-drawer-head .tf-kicker { margin: 0 0 4px; }
  .tf-filter-drawer-foot {
    display: block;
    flex: 0 0 auto;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--tf-line);
    background: var(--tf-chalk);
  }
  .tf-filter-scroll { padding: 0 20px 18px; }
  .tf-chip { min-height: 44px; padding: 10px 14px; }
  .tf-filter-opt { min-height: 44px; }
  .tf-filter-options--chips .tf-filter-opt { min-height: 44px; padding: 8px 11px; }
  .tf-filter-group > summary { padding: 16px 0 12px; }
}

@media (max-width: 760px) {
  .tf-shop-browse { padding: 20px 20px 70px; }
  .tf-shop-toolbar-inner { padding: 10px 20px; }
  .tf-filter-sidebar { width: 100%; border-left: 0; }
  .tf-shop-gridhead { align-items: center; }
  .tf-shop-sort-field { flex: 0 0 auto; }
}

/* Active filters stay visible outside the collapsed panel, so the current
   edit is always legible and each refinement can be removed on its own. */
.tf-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  width: 100%;
  padding: 4px 0 14px;
}
.tf-active-label {
  margin: 0 2px 0 0;
  color: var(--tf-muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tf-active-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.tf-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 10px 5px 12px;
  border: 1px solid var(--tf-line-strong);
  border-radius: 999px;
  background: var(--tf-chalk);
  color: var(--tf-ink);
  font: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tf-active-chip:hover { border-color: var(--tf-ink); }
.tf-active-chip:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }
.tf-active-chip-x { font-size: 0.9rem; line-height: 1; color: var(--tf-muted); }
.tf-active-chip:hover .tf-active-chip-x { color: var(--tf-ink); }
.tf-active-clear {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--tf-line-strong);
  background: none;
  color: var(--tf-muted);
  font: inherit;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.tf-active-clear:hover { color: var(--tf-ink); }
.tf-active-clear:focus-visible { outline: 2px solid var(--tf-ink); outline-offset: 2px; }

@media (max-width: 760px) {
  .tf-active-chip { min-height: 44px; }
  .tf-active-clear { min-height: 44px; padding-block: 10px; }
  .tf-active-label { flex-basis: 100%; }
}
