/* ============================================================
   Garden Gate Flowers — botanical-boutique design system
   Palette keyed to the brand logo (berry-plum + fresh green +
   blush) on warm off-white paper. Mobile-first.
   ============================================================ */

:root {
  /* core tokens (overridable by Tweaks) */
  --bg: #FBF8F5;
  --surface: #FFFFFF;
  --text: #2C2230;
  --muted: #7A6F78;
  --primary: #8A2B57;       /* berry-plum wordmark */
  --primary-deep: #6E2145;
  --secondary: #5C8A4A;     /* fresh green tulip glyph */
  --secondary-deep: #4A7339;
  --accent: #E8A0A8;        /* blush rose — the logo pink dot */
  --accent-soft: #F6E4E6;
  --border: #EEE2E9;
  --focus: #8A2B57;
  --wa: #25D366;            /* WhatsApp brand green, CTA only */

  --paper-tint: #F4ECE4;    /* alternating band */

  /* type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  /* radii + shadow */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(44,34,48,.05), 0 2px 8px rgba(44,34,48,.04);
  --shadow: 0 4px 12px rgba(44,34,48,.06), 0 12px 32px rgba(44,34,48,.07);
  --shadow-lg: 0 8px 24px rgba(44,34,48,.10), 0 24px 60px rgba(44,34,48,.10);

  /* layout */
  --maxw: 1180px;
  --nav-h: 64px;
  --accent-strength: 1;     /* tweakable 0–1 multiplier for blush flourishes */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html { overflow-x: hidden; }

img { display: block; max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent-soft); color: var(--primary-deep); }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }

.band-tint { background: var(--paper-tint); }
.band-plum { background: var(--primary-deep); color: #FBEFF4; }
.band-plum h1, .band-plum h2, .band-plum h3 { color: #FFFFFF; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--secondary);
  display: inline-block;
}
.band-plum .eyebrow { color: var(--accent); }
.band-plum .eyebrow::before { background: var(--accent); }

.h-display { font-size: clamp(2.4rem, 7vw, 4.6rem); }
.h-section { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); line-height: 1.5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 0.97rem;
  padding: 13px 22px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(138,43,87,.22); }
.btn-primary:hover { background: var(--primary-deep); box-shadow: 0 8px 22px rgba(138,43,87,.30); transform: translateY(-1px); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.28); }
.btn-wa:hover { filter: brightness(.96); transform: translateY(-1px); }

.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }

.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-line:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- tags / chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--primary-deep);
  text-transform: uppercase;
}
.tag-green { background: #E9F0E4; color: var(--secondary-deep); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all .18s ease; white-space: nowrap;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

/* ---------- product card ---------- */
.product { display: flex; flex-direction: column; height: 100%; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product .ph {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--paper-tint);
}
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product:hover .ph img { transform: scale(1.045); }
.product .pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .ptags { display: flex; flex-wrap: wrap; gap: 6px; }
.product h3 { font-size: 1.45rem; line-height: 1.1; }
.product .pdesc { font-size: 0.9rem; color: var(--muted); flex: 1; }
.product .price-note { font-size: 0.82rem; color: var(--secondary-deep); font-weight: 600; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-products { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid-products { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- placeholder (images / map to be supplied) ---------- */
.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-color: var(--paper-tint);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(138,43,87,.05) 9px, rgba(138,43,87,.05) 18px);
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem; letter-spacing: 0.02em;
  border: 1px dashed var(--border);
  border-radius: var(--r);
  padding: 24px; line-height: 1.5;
}

/* ---------- divider flourish ---------- */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ---------- reveal on scroll (transform-only: content always visible) ---------- */
.reveal { transform: translateY(16px); transition: transform .7s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; transition: none; } }

/* ============================================================ */
