.fg-wrap, .fg-teaser {
  --ant-teal: #128a97;
  --ant-teal-deep: #0c6871;
  --ant-orange: #f2994a;
  --ant-coral: #ff7a5c;
  --ant-ink: #12181b;
  --ant-muted: #5a6068;
  --ant-paper: #f6f9f9;
  --ant-line: #e6ebeb;
}
.fg-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.fg-intro { color: var(--ant-muted); margin: 0 0 24px; max-width: 640px; }
.fg-group-heading { font-size: 20px; font-weight: 800; color: var(--ant-ink); margin: 32px 0 4px; }
.fg-group-heading:first-of-type { margin-top: 8px; }
.fg-group-sub { color: var(--ant-muted); margin: 0 0 20px; font-size: 13px; }
.fg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .fg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .fg-grid { grid-template-columns: repeat(3, 1fr); }
}
.fg-breadcrumb { margin-bottom: 16px; font-size: 13px; color: var(--ant-muted); }
.fg-breadcrumb a { color: var(--ant-teal-deep); text-decoration: none; }
.fg-breadcrumb a:hover { text-decoration: underline; }
.fg-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ant-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(18, 24, 27, .06);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
  color: inherit;
}
.fg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(18, 24, 27, .14);
}
@media (prefers-reduced-motion: reduce) {
  .fg-card { transition: none; }
  .fg-card:hover { transform: none; }
}
.fg-head {
  background: linear-gradient(115deg, #0f8a95 0%, #4f9a7f 55%, #e8934a 100%);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
  min-height: 56px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fg-body { padding: 14px 16px 16px; color: var(--ant-ink); }
.fg-best-for {
  font-size: 13px;
  font-weight: 700;
  color: var(--ant-ink);
  margin: 0 0 10px;
  line-height: 1.4;
}
.fg-best-for-label {
  display: block;
  color: var(--ant-teal-deep);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .06em;
  font-weight: 700;
  margin-bottom: 2px;
}
.fg-meta-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.fg-color-range { font-size: 12px; font-weight: 700; color: var(--ant-teal-deep); }
.fg-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--ant-muted);
  background: var(--ant-paper);
  border: 1px solid var(--ant-line);
  padding: 2px 9px;
  border-radius: 999px;
}
.fg-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.fg-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  padding: 5px 4px 5px 7px;
  border-radius: 999px;
  background: var(--ant-paper);
  color: var(--ant-ink);
  border: 1px solid var(--ant-line);
  border-left-width: 3px;
}
.fg-badge.hi { border-left-color: var(--ant-teal); }
.fg-badge.mid { border-left-color: var(--ant-orange); }
.fg-badge.lo { border-left-color: var(--ant-coral); }
.fg-badge.warn { background: var(--ant-ink); color: #fff; border-color: var(--ant-ink); }
.fg-tagline {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ant-ink);
  border-top: 1px dashed var(--ant-line);
  padding-top: 8px;
  margin: 0;
}
.fg-hero-wrap { position: relative; margin-bottom: 24px; border-radius: 22px; overflow: hidden; max-height: 160px; }
.fg-hero { width: 100%; height: 160px; object-fit: cover; display: block; }
.fg-shop-links { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ant-line); }
.fg-shop-links h3 { font-size: 16px; margin: 0 0 12px; color: var(--ant-ink); }
.fg-shop-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fg-shop-links .fg-shop-pill {
  background: var(--ant-teal);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background .15s ease;
}
.fg-shop-links .fg-shop-pill:hover { background: var(--ant-teal-deep); color: #fff; }
.fg-teaser { background: var(--ant-paper, #f6f9f9); padding: 0 16px 32px; }
/* Reuses Elementor's OWN animation classes/keyframes (elementor-invisible,
   animated, zoomIn - see homepage-teaser.php for why zoomIn specifically:
   Elementor only enqueues the CSS for animations actually used by a real
   Elementor element on the page, one file per animation
   (assets/lib/animations/styles/<name>.min.css) - bounceInUp was tried
   first and produced literally zero animation (not just "too subtle") since
   its stylesheet was never loaded; zoomIn's is, because "Explore Our
   Categories" already uses it. No duration override here - Elementor's own
   `.animated.animated-slow` rule (2s) applies as-is, so this is genuinely
   byte-identical to a native Elementor entrance animation, not an
   approximation of one. Triggered by this plugin's own IntersectionObserver
   (homepage-teaser.php), since Elementor's JS handler only manages elements
   it registered from the page's own saved data, not externally injected
   DOM. */
/* min-height was 380px, sized well above what either rotating card actually needs - measured
   with the constraint removed: ~272px for the denser filament card (Best For + badges +
   tagline), ~178px for the simpler points card (one number + one line). Reduced to 300px
   (comfortable margin over the longest real content, e.g. TPU's 2-line tagline) after it read
   as visibly oversized, especially on the points side. */
.fg-teaser-card { margin: 0 auto; transition: box-shadow .15s ease; height: 100%; min-height: 300px; display: flex; flex-direction: column; }
.fg-teaser-stage:hover .fg-teaser-card,
.fg-teaser-stage:focus-within .fg-teaser-card {
  box-shadow: 0 0 0 3px rgba(18, 138, 151, .35), 0 10px 28px rgba(18, 24, 27, .14);
}
.fg-teaser-card .fg-badges { grid-template-columns: repeat(3, 1fr); }
.fg-teaser-head {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 16px;
  text-align: center;
}
/* Matches the "About Us" heading elsewhere on the homepage: Montserrat,
   38px, weight 600, near-black base text with a teal accent word. */
.fg-teaser-head h2 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: #010002;
}
/* font-weight:300 specifically on the accent word (not just the color) is required to actually
   match "About Us"/"Latest Product" - both use a deliberate bold-black + light-cyan contrast on
   their accent span (confirmed by reading their raw heading widget HTML directly). Missing this
   originally left the accent word inheriting the heading's 600 weight, a mismatch caught by the
   owner comparing the two side by side. */
.fg-teaser-head h2 .fg-teaser-title-accent { color: #1da7b3; font-weight: 300; }
.fg-teaser-link { color: var(--ant-teal-deep, #0c6871); font-weight: 700; text-decoration: none; }
.fg-teaser-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
}
.fg-teaser-col { width: 320px; max-width: 100%; display: flex; flex-direction: column; }
.fg-teaser-col-title { margin: 0 0 6px; font-size: 18px; color: var(--ant-ink); }
.fg-teaser-col-sub { margin: 0 0 14px; color: var(--ant-muted); font-size: 16px; line-height: 1.5; min-height: 96px; }
.fg-teaser-stage { flex: 1; }
/* align-items/text-align: center (points card only) - the filament card's left alignment
   suits its structured multi-row content (Best For, badges), but the points card is just a
   big number + one line, so left-aligned it floated oddly with empty space to its right. */
.fg-body-points { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.fg-points-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--ant-teal-deep);
  margin: 0 0 8px;
}
