
/* ================================================================
   GROWDEN — Full Design System CSS
   Young Serif (display) · Bitter (heading) · Hanken Grotesk (body)
   IBM Plex Mono (mono) · #2F3E24 green · #CAA34C gold · #F1EDEA cream
================================================================ */
@import url("https://fonts.googleapis.com/css2?family=Young+Serif&family=Bitter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Hanken+Grotesk:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  /* Fonts */
  --font-display: "Young Serif", "Bitter", Georgia, serif;
  --font-heading: "Bitter", Georgia, serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;

  /* Colors */
  --green-900: #1E2916;
  --green-800: #2F3E24;
  --green-700: #3C4F2E;
  --gold-600:  #A6792F;
  --gold-500:  #BE8F3A;
  --gold-400:  #CAA34C;
  --gold-300:  #DBBC76;
  --gold-200:  #E8D29B;
  --gold-100:  #F2E6C6;
  --clay-600:  #A1532F;
  --clay-500:  #BE6B43;
  --clay-400:  #CD8462;
  --clay-200:  #EBC9B6;
  --sage-400:  #8A9A78;
  --sage-300:  #AEBB9D;
  --sage-200:  #D0D8C3;
  --sage-100:  #E4E9DA;
  --cream-50:  #FBF8F4;
  --cream-100: #F1EDEA;
  --cream-200: #E8E2DA;
  --cream-300: #D8CFC3;
  --ink-900:   #22251C;
  --ink-700:   #3D4035;
  --ink-500:   #6B6E62;
  --ink-400:   #8C8F82;
  --color-bg:  var(--cream-100);
  --color-border: var(--cream-300);
  --color-border-strong: var(--sage-300);
}

html, body {
  background-color: var(--cream-100) !important;
  font-family: var(--font-body);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
}

/* ---- Apply correct fonts to Elementor headings ---- */
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-xpro-heading .xpro-heading-title {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
}

/* ---- Body text widgets use Hanken Grotesk ---- */
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  font-family: var(--font-body);
}

/* ---- Buttons use Hanken Grotesk bold ---- */
.elementor-button,
.xpro-button { font-family: var(--font-body) !important; }

/* ---- Mono labels ---- */
.gd-mono { font-family: var(--font-mono); }

/* ================================================================
   HEADER — Xpro sticky glass header
================================================================ */
.xpro-theme-builder-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.xtb-header-sticky {
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.xtb-header-sticky.is-sticky {
  background: rgba(241,237,234,0.95) !important;
  box-shadow: 0 1px 0 rgba(47,62,36,0.10) !important;
}

/* ================================================================
   HERO — Rotating badge
================================================================ */
.gd-badge-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  flex-shrink: 0;
}
.gd-badge-wrap svg.gd-badge-ring {
  width: 100%;
  height: 100%;
  animation: gd-spin 16s linear infinite;
}
.gd-badge-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
}
.gd-badge-core svg { width: 28px; height: 28px; animation: none !important; }
@keyframes gd-spin { to { transform: rotate(360deg); } }

/* ================================================================
   HERO H1 italic gold accent ("picked")
================================================================ */
.elementor-widget-xpro-heading em,
.elementor-widget-heading .elementor-heading-title em {
  font-style: italic;
  color: var(--gold-400);
  font-family: var(--font-heading);
}

/* ================================================================
   STATS — border-top divider cards
================================================================ */
.gd-stat-wrap {
  border-top: 1px solid var(--cream-300);
  padding-top: 18px;
}

/* ================================================================
   MARQUEE — scrolling strip
================================================================ */
.gd-marquee-outer {
  overflow: hidden;
  background: var(--green-800);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.gd-marquee-track {
  display: flex;
  width: max-content;
  animation: gd-scrollx 28s linear infinite;
  will-change: transform;
}
.gd-marquee-outer:hover .gd-marquee-track {
  animation-play-state: paused;
}
@keyframes gd-scrollx {
  to { transform: translateX(-50%); }
}
.gd-marquee-item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--cream-100);
  white-space: nowrap;
}
.gd-marquee-star {
  color: var(--gold-400);
  font-size: 16px;
  padding: 0 26px;
}

/* ================================================================
   WPFORMS — Growden brand styling
================================================================ */
.wpforms-container .wpforms-form .wpforms-field input,
.wpforms-container .wpforms-form .wpforms-field textarea,
.wpforms-container .wpforms-form .wpforms-field select {
  border: 1px solid var(--cream-300);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-700);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.wpforms-container .wpforms-form .wpforms-field input:focus,
.wpforms-container .wpforms-form .wpforms-field textarea:focus {
  border-color: var(--gold-400);
  outline: none;
  box-shadow: 0 0 0 3px rgba(202,163,76,0.15);
}
.wpforms-container .wpforms-form label.wpforms-field-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  display: block;
}
.wpforms-container .wpforms-form .wpforms-submit-container button[type=submit],
.wpforms-container .wpforms-form button[type=submit] {
  background: var(--green-800) !important;
  color: var(--cream-100) !important;
  border: none;
  border-radius: 999px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-block;
}
.wpforms-container .wpforms-form .wpforms-submit-container button[type=submit]:hover {
  background: var(--green-900) !important;
}

/* ================================================================
   XPRO COUNTER — gold suffix
================================================================ */
.xpro-counter-suffix { color: var(--gold-400) !important; }
.xpro-counter-number { font-family: var(--font-display) !important; font-weight: 400 !important; }



/* ================================================================
   GROWDEN — Hero badge overlap v2
   Badge sits at the top-right corner of the product image.
   Both widgets stay fully separate & editable in Elementor.
================================================================ */
.elementor-element-gh_visual_col {
  position: relative;
}
.elementor-element-gh_badge {
  position: absolute !important;
  top: -16px;
  right: 0;
  width: 110px !important;
  height: 110px !important;
  z-index: 5;
  pointer-events: none;
}
.elementor-element-gh_badge .elementor-widget-container {
  width: 100%;
  height: 100%;
}
.elementor-element-gh_hero_image {
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .elementor-element-gh_badge { width: 90px !important; height: 90px !important; top: -10px; right: 4%; }
}
@media (max-width: 600px) {
  .elementor-element-gh_badge { width: 64px !important; height: 64px !important; top: -8px; right: 6%; }
  .elementor-element-gh_badge .ring-text { font-size: 10px !important; }
}


/* GROWDEN — mobile hero image size fix v1 */
@media (max-width: 767px) {
  .elementor-element-gh_visual_col { width: 92% !important; max-width: 92% !important; }
}
