/*
 * base.css — TCB Elementor Theme
 * Design tokens, reset, base typography, and utility classes.
 * Scoped to avoid conflicts with Elementor and WooCommerce.
 */

/* ─── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --green:          #344536;
  --muted:          #71766d;
  --line:           #dddfd6;

  /* Semantic backgrounds */
  --bg:             #fafaf7;
  --bg-hero:        #efeee6;
  --bg-story:       #e9ecdf;
  --bg-footer:      #eaece4;
  --bg-order-summary: #f0f1e9;

  /* Text */
  --text:           #262d26;

  /* Layout */
  --content-width:  1440px;

  /* Font families */
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

/* ─── Box Model Reset ────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ─── HTML / Body ────────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
}

/* ─── Form Elements ──────────────────────────────────────────────────────── */
button,
input,
select {
  font: inherit;
}

/* ─── Interactive Element Resets ─────────────────────────────────────────── */
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Focus Visible ──────────────────────────────────────────────────────── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #72834b;
  outline-offset: 5px;
}

/* ─── SVG Defaults ───────────────────────────────────────────────────────── */
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* ─── Media ──────────────────────────────────────────────────────────────── */
img {
  display: block;
  max-width: 100%;
}

/* ─── Typography Reset ───────────────────────────────────────────────────── */
h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* ─── Heading Typography ─────────────────────────────────────────────────── */
h1,
h2 {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  letter-spacing: -2.4px;
}

h1 {
  font-size: clamp(45px, 4.5vw, 70px);
  line-height: 1.1;
  margin: 30px 0 24px;
  letter-spacing: -3.5px;
}

h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #556447;
}

h1 em {
  white-space: nowrap;
}

/* ─── Link & Button Transitions ──────────────────────────────────────────── */
button,
a {
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

a:hover {
  opacity: 0.75;
}

/* ─── Utility: Hidden ────────────────────────────────────────────────────── */
[hidden] {
  display: none !important;
}

/* ─── Button Base ────────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  padding: 17px 23px;
  font-size: 12px;
  font-weight: 500;
  min-height: 51px;
}

.button span {
  font-size: 21px;
  line-height: 1;
}

/* ─── Button Variants ────────────────────────────────────────────────────── */
.dark {
  background: var(--green);
  color: white;
}

.dark:hover {
  background: #233426;
  opacity: 1;
}

.outline {
  border: 1px solid #a5ac99;
}

.outline:hover {
  background: #e9ecdf;
}

/* ─── Eyebrow / Label ────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.9px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.little-line {
  width: 25px;
  height: 1px;
  background: var(--green);
}

/* ─── Page Eyebrow / Description ─────────────────────────────────────────── */
.page-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.9px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-description {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 520px;
}

/* ─── Text Link ──────────────────────────────────────────────────────────── */
.text-link {
  font-size: 11px;
  display: inline-flex;
  gap: 40px;
  border-bottom: 1px solid #87917b;
  padding: 10px 0;
  margin-top: 9px;
}

.text-link span {
  font-size: 18px;
}
