:root {
  --tf-primary: #b91c1c;
  --tf-secondary: #1c1917;
  --tf-accent: #b45309;
  --tf-bg: #ffffff;
  --tf-text: #292524;
  --tf-radius: 8px;
  --tf-shadow: 0 2px 12px rgba(28, 25, 23, 0.08);
  --tf-header-h: 72px;
  --tf-section-space: 4.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--tf-font-body, Inter, system-ui, sans-serif);
  color: var(--tf-text);
  background: #fff;
  line-height: 1.6;
}
.tf-main, .tf-home { background: #fff; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--tf-primary); }
img { max-width: 100%; height: auto; display: block; }
.tf-container { width: min(1280px, 100% - 2.5rem); margin: 0 auto; }
.tf-header { background: var(--tf-secondary); color: #fff; min-height: var(--tf-header-h); }
.tf-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 0; }
.tf-logo { font-family: var(--tf-font-heading, "Playfair Display", Georgia, serif); font-size: 1.5rem; font-weight: 700; color: #fff; }
.tf-announcement { flex: 1; text-align: center; font-size: 0.85rem; margin: 0; opacity: 0.9; }
.tf-nav { display: flex; gap: 1rem; align-items: center; margin-left: auto; }
.tf-nav a, .tf-cart { color: #fff; font-weight: 600; font-size: 0.9rem; }
.tf-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}
.tf-cart__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--tf-accent, #f59e0b);
  color: #111;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}
.tf-cart__count.is-empty {
  display: none;
}
.tf-section { padding: var(--tf-section-space) 0; }
.tf-eyebrow { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tf-accent); margin-bottom: 0.5rem; }
.tf-section-title { font-family: var(--tf-font-heading, "Playfair Display", Georgia, serif); color: var(--tf-secondary); margin: 0 0 1.5rem; }
.tf-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tf-product-card { background: #fff; border-radius: var(--tf-radius); box-shadow: var(--tf-shadow); overflow: hidden; border: none; }
.tf-product-card h3,
.tf-product-card a h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.tf-shop-card__title a {
  font-size: 0.95rem;
  margin: 0.75rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  max-height: 2.7em;
}

.tf-shop-card__title {
  margin: 0.75rem 0.75rem 0;
}

.tf-shop-card__title a {
  margin: 0;
  color: inherit;
}
.tf-price { display: block; margin: 0 0.75rem 0.75rem; font-weight: 700; color: var(--tf-primary); }
.tf-footer { background: var(--tf-secondary); color: #d6d3d1; margin-top: var(--tf-section-space); }
.tf-footer__grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; }
@media (min-width: 768px) { .tf-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.tf-footer h2, .tf-footer h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.tf-footer__brand > p { margin: 0.5rem 0 0; font-size: 0.875rem; opacity: 0.85; max-width: 28rem; }
.tf-footer__contact { margin-top: 1.5rem; }
.tf-footer__contact-grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .tf-footer__contact-grid { grid-template-columns: repeat(2, 1fr); }
}
.tf-footer__contact-item {
  padding: 1rem 1.125rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--tf-radius);
}
.tf-footer__contact-item--wide { grid-column: 1 / -1; }
.tf-footer__contact-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6d3d1;
  margin-bottom: 0.45rem;
  font-weight: 700;
}
.tf-footer__contact-item a,
.tf-footer__contact-value {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}
.tf-footer__contact-item a:hover { color: var(--tf-accent); }
.tf-footer__links a { display: block; margin-bottom: 0.5rem; }
.tf-footer__bottom { border-top: 1px solid #44403c; padding: 1rem 0; font-size: 0.8rem; text-align: center; }
.btn, .button, button[type=submit] {
  display: inline-block; padding: 0.75rem 1.5rem; background: var(--tf-primary); color: #fff;
  border: none; border-radius: var(--tf-radius); font-weight: 600; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover, .button:hover, button[type=submit]:hover { opacity: 0.92; transform: translateY(-1px); color: #fff; }

/* ── Homepage ── */
.tf-home .tf-section { padding: 3rem 0; }
.tf-section-header { margin-bottom: 1.5rem; }
.tf-section-header__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 1.5rem; }
.tf-section-header__row .tf-section-title { margin-bottom: 0; }
.tf-view-all { font-size: 0.875rem; font-weight: 600; color: var(--tf-primary); white-space: nowrap; }
.tf-view-all:hover { text-decoration: underline; }

/* Hero */
.tf-hero {
  background: linear-gradient(135deg, var(--tf-secondary) 0%, color-mix(in srgb, var(--tf-secondary) 55%, var(--tf-primary)) 100%);
  color: #fff; text-align: center; padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.tf-hero__title { font-family: var(--tf-font-heading, "Playfair Display", Georgia, serif); font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 0.75rem; line-height: 1.15; color: #fff; }
.tf-hero__subtitle { font-size: 1.05rem; max-width: 36rem; margin: 0 auto; opacity: 0.92; line-height: 1.6; }
.tf-hero .button { margin-top: 1.5rem; }

/* Mood / wave cards */
.tf-waves__grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .tf-waves__grid { grid-template-columns: 1fr; } }
.tf-waves__card {
  display: flex; align-items: flex-end; min-height: 10rem; padding: 1.25rem 1.5rem;
  border-radius: var(--tf-radius); color: #fff; font-size: 1.125rem; font-weight: 700;
  background: linear-gradient(145deg, var(--tf-primary), color-mix(in srgb, var(--tf-primary) 50%, var(--tf-secondary)));
  box-shadow: var(--tf-shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.tf-waves__card:nth-child(2) { background: linear-gradient(145deg, color-mix(in srgb, var(--tf-primary) 75%, #fff), var(--tf-secondary)); }
.tf-waves__card:nth-child(3) { background: linear-gradient(145deg, var(--tf-secondary), var(--tf-primary)); }
.tf-waves__card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); color: #fff; }

/* Category showcase */
.tf-showcase__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 768px) { .tf-showcase__grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.tf-showcase__item {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--tf-radius);
  overflow: hidden; box-shadow: var(--tf-shadow); font-weight: 600; transition: transform 0.2s, box-shadow 0.2s;
}
.tf-showcase__item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); color: inherit; }
.tf-showcase__thumb { aspect-ratio: 4/5; background: color-mix(in srgb, var(--tf-primary) 12%, #fff); overflow: hidden; }
.tf-showcase__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.tf-showcase__item:hover .tf-showcase__thumb img { transform: scale(1.04); }
.tf-showcase__label { padding: 0.875rem 1rem; text-align: center; font-size: 0.9rem; }

/* Trust strip */
.tf-trust { background: #fff; border-block: 1px solid color-mix(in srgb, var(--tf-text) 10%, transparent); padding: 2rem 0; }
.tf-trust__grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .tf-trust__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.tf-trust__item { display: flex; gap: 1rem; align-items: flex-start; }
.tf-trust__icon {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: color-mix(in srgb, var(--tf-primary) 15%, #fff); color: var(--tf-primary); font-size: 1.1rem; font-weight: 700;
}
.tf-trust__text strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--tf-secondary); }
.tf-trust__text span { display: block; font-size: 0.85rem; opacity: 0.75; line-height: 1.45; }

/* Product cards on homepage */
.tf-product-card a { display: block; color: inherit; }
.tf-product-card a:hover h3 { color: var(--tf-primary); }
.tf-product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f5f5f4; }
@media (min-width: 768px) {
  .tf-home .tf-products { grid-template-columns: repeat(4, 1fr); }
}

/* Spotlight split */
.tf-spotlight__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .tf-spotlight__grid { grid-template-columns: 1fr 1.1fr; } }
.tf-spotlight h2 { font-family: var(--tf-font-heading, "Playfair Display", Georgia, serif); font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 0.75rem; color: var(--tf-secondary); }
.tf-spotlight p { margin: 0 0 1.25rem; opacity: 0.85; max-width: 28rem; }
.tf-spotlight__products .tf-products { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* Masonry / featured product rows */
.tf-masonry .tf-products { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .tf-masonry .tf-products { grid-template-columns: repeat(3, 1fr); } }

/* Promo banners */
.tf-promo__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tf-promo__grid { grid-template-columns: 1fr 1fr; } }
.tf-promo__card {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 10rem; padding: 1.5rem;
  border-radius: var(--tf-radius); background: color-mix(in srgb, var(--tf-primary) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--tf-primary) 25%, #fff); transition: transform 0.2s;
}
.tf-promo__card--dark { background: var(--tf-secondary); color: #fff; border-color: var(--tf-secondary); }
.tf-promo__card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.tf-promo__card span { font-size: 0.875rem; font-weight: 600; color: var(--tf-primary); }
.tf-promo__card--dark span { color: var(--tf-accent); }
.tf-promo__card:hover { transform: translateY(-3px); color: inherit; }
.tf-promo__card--dark:hover { color: #fff; }

/* Category tabs / pills */
.tf-tabs__labels { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tf-tabs__pill {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 600;
  background: #fff; border: 1px solid color-mix(in srgb, var(--tf-text) 15%, transparent); transition: all 0.2s;
}
.tf-tabs__pill:hover, .tf-tabs__pill.is-active { background: var(--tf-primary); color: #fff; border-color: var(--tf-primary); }

/* Featured horizontal strip */
.tf-featured-strip .tf-products { grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.tf-featured-strip .tf-product-card { scroll-snap-align: start; }

/* Testimonials */
.tf-testimonials__grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .tf-testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
.tf-testimonials__grid blockquote {
  margin: 0; padding: 1.25rem; background: #fff; border-radius: var(--tf-radius);
  border: 1px solid color-mix(in srgb, var(--tf-text) 10%, transparent); font-size: 0.9rem; line-height: 1.55;
}

/* Guides list */
.tf-guides__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .tf-guides__list { grid-template-columns: repeat(3, 1fr); } }
.tf-guides__list a {
  display: block; padding: 1rem 1.25rem; background: #fff; border-radius: var(--tf-radius);
  border: 1px solid color-mix(in srgb, var(--tf-text) 10%, transparent); font-weight: 600; transition: border-color 0.2s;
}
.tf-guides__list a:hover { border-color: var(--tf-primary); color: var(--tf-primary); }

/* Editorial banner */
.tf-editorial { text-align: center; padding: 4rem 0; background: color-mix(in srgb, var(--tf-secondary) 6%, #fff); }
.tf-editorial__title { font-family: var(--tf-font-heading, "Playfair Display", Georgia, serif); font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 0.75rem; color: var(--tf-secondary); }

/* Gear / mood icon grid */
.tf-gear__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .tf-gear__grid { grid-template-columns: repeat(4, 1fr); } }
.tf-gear__grid a {
  padding: 1.25rem 1rem; background: #fff; border: 1px solid color-mix(in srgb, var(--tf-text) 12%, transparent);
  border-radius: var(--tf-radius); text-align: center; font-weight: 700; transition: all 0.2s;
}
.tf-gear__grid a:hover { border-color: var(--tf-primary); color: var(--tf-primary); transform: translateY(-2px); }

/* Color blocks — same clean card style as rest of storefront */
.tf-color-blocks .tf-product-card { border: none; }

/* Alternating section backgrounds on white */
.tf-home .tf-section:nth-child(even):not(.tf-hero):not(.tf-trust) {
  background: #fff;
}

/* ── Mobile (site-wide) ── */
@media (max-width: 767px) {
  :root {
    --tf-header-h: 64px;
    --tf-section-space: 3rem;
  }

  .tf-container {
    width: min(1280px, 100% - 1.25rem);
  }

  .tf-header__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 0;
  }

  .tf-logo {
    font-size: 1.15rem;
    flex: 1;
    min-width: 0;
  }

  .tf-nav {
    order: 2;
    margin-left: auto;
    max-width: 62%;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.1rem;
  }

  .tf-nav::-webkit-scrollbar {
    display: none;
  }

  .tf-nav a,
  .tf-cart {
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .tf-announcement {
    order: 3;
    flex: 1 1 100%;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.4;
    padding-top: 0.45rem;
    margin-top: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tf-home .tf-section {
    padding: 2.25rem 0;
  }

  .tf-section-header__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .tf-footer__grid {
    padding: 2rem 0 1.5rem;
    gap: 1.5rem;
  }

  .tf-spotlight__products .tf-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .tf-featured-strip .tf-products {
    grid-auto-columns: minmax(140px, 72vw);
  }
}
