/* Feed Finder Styles
   ========================================
   Prefixed with 'ff-' to avoid conflicts with Webflow
   Product cards use existing Webflow classes

   Updated to match Saracen Brand Guidelines
   - Colors from "Colour Palette / Buttons"
   - Symbol colors from "Brand symbols and colours"
*/

/* =====================
   FEED FINDER VARIABLES
   ===================== */

.ff-feed-finder {
  /* Saracen Brand Colors */
  --ff-red: #D3415B;
  --ff-red-btn: #c34d5c;
  --ff-red-dark: #B8354D;
  --ff-oat: #FEF5F5;
  --ff-slate: #2A303F;
  --ff-slate-dark: #1E232E;

  /* Neutrals (from Colour Palette) */
  --ff-white: #FFFFFF;
  --ff-neutral-lightest: #FAFAFA;
  --ff-neutral-lighter: #F1F1F1;
  --ff-neutral-light: #AAAAAA;
  --ff-neutral: #626161;
  --ff-neutral-dark: #444444;
  --ff-neutral-darker: #222222;
  --ff-neutral-darkest: #1A1A1A;
  --ff-border: #E5E5E5;

  /* Brand Symbol Colors (from Brand symbols and colours) */
  --ff-leisure: #283041;
  --ff-performance: #013f5b;
  --ff-stud: #004846;
  --ff-veteran: #868b92;
  --ff-breeding: #8b303e;
  --ff-youngstock: #7864ac;
  --ff-gold: #c5a800;
  --ff-brown: #715845;

  /* Shadows */
  --ff-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --ff-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --ff-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Typography */
  --ff-font-heading: 'URW DIN Cond', 'URW DIN SemiCond', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-font-primary: 'URW DIN SemiCond', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-font-body:    'URW DIN', 'URW DIN SemiCond', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-letter-spacing: 0.24px;

  /* Border Radius */
  --ff-radius-sm: 4px;
  --ff-radius-md: 10px;
  --ff-radius-lg: 12px;
  --ff-radius-xl: 16px;

  /* Easing */
  --ff-ease: cubic-bezier(.2,.7,.2,1);

  /* Soft warm background (progress dot resting fill) */
  --ff-bg-soft: #f4f2ec;
}

/* =====================
   FEED FINDER CONTAINER
   ===================== */

.ff-feed-finder {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
  font-family: var(--ff-font-primary);
  letter-spacing: var(--ff-letter-spacing);
}

/* Belt-and-braces: every descendant should respect the component's bounds. */
.ff-feed-finder *,
.ff-feed-finder *::before,
.ff-feed-finder *::after {
  box-sizing: border-box;
}

.ff-header {
  text-align: center;
  margin-bottom: 3rem;
}

.ff-title {
  font-family: var(--ff-font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ff-neutral-darkest);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ff-subtitle {
  font-family: var(--ff-font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ff-neutral);
  letter-spacing: normal;
}

/* =====================
   QUESTIONNAIRE STYLES
   ===================== */

.ff-questionnaire {
  max-width: 960px;
  margin: 0 auto 4rem;
  background: var(--ff-white);
  border-radius: var(--ff-radius-xl);
  padding: 40px;
}

/* Stepped Progress */
.ff-progress-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.ff-progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  cursor: default;
}

.ff-progress-step .ff-progress-step_dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ff-bg-soft);
  border: 2px solid var(--ff-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ff-neutral);
  transition: all 0.25s var(--ff-ease);
  position: relative;
  z-index: 2;
  font-family: var(--ff-font-primary);
}

.ff-progress-step.is-done .ff-progress-step_dot {
  background: var(--ff-red);
  border-color: var(--ff-red);
  color: var(--ff-white);
}

.ff-progress-step.is-current .ff-progress-step_dot {
  background: var(--ff-white);
  border-color: var(--ff-red);
  color: var(--ff-red);
  box-shadow: 0 0 0 4px rgba(211, 65, 91, 0.12);
}

.ff-progress-step .ff-progress-step_label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ff-neutral);
  transition: color 0.2s var(--ff-ease);
  text-align: center;
  white-space: nowrap;
}

.ff-progress-step.is-current .ff-progress-step_label,
.ff-progress-step.is-done .ff-progress-step_label {
  color: var(--ff-neutral-darkest);
}

/* Connector line between dots */
.ff-progress-step + .ff-progress-step::before {
  content: '';
  position: absolute;
  top: 14px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: var(--ff-border);
  z-index: 1;
  transition: background 0.3s var(--ff-ease);
}

.ff-progress-step.is-done + .ff-progress-step::before,
.ff-progress-step.is-done + .ff-progress-step.is-current::before {
  background: var(--ff-red);
}

/* Question Container */
.ff-question-container {
  position: relative;
  min-height: 400px;
}

.ff-question-step {
  display: none;
  animation: ffFadeIn 0.3s ease;
}

.ff-question-step.ff-active {
  display: block;
}

@keyframes ffFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Question Header Container - groups title + subtitle with tighter spacing */
.ff-question-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.75rem;
  width: 100%;
}

.ff-question-title {
  font-family: var(--ff-font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0;
  color: var(--ff-neutral-darkest);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ff-question-subtitle {
  font-family: var(--ff-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ff-neutral-darkest);
  text-align: center;
  margin-bottom: 0;
  letter-spacing: normal;
}

/* Option Grid */
.ff-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.ff-option-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ff-option-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Option Button */
.ff-option-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 32px 24px;
  background: var(--ff-neutral-lighter);
  border: 2px solid transparent;
  border-radius: var(--ff-radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: var(--ff-font-primary);
  gap: 18px;
  width: 100%;
}

.ff-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.ff-option-btn:hover {
  background: rgba(211, 65, 91, 0.08);
  border-color: var(--ff-red);
}

.ff-option-btn:focus {
  outline: none;
  border-color: var(--ff-red);
  box-shadow: 0 0 0 3px rgba(211, 65, 91, 0.15);
}

.ff-option-btn.ff-selected {
  border-color: var(--ff-red);
  background: rgba(211, 65, 91, 0.08);
}

.ff-option-btn--large {
  padding: 40px 28px;
}

.ff-option-btn--selectable {
  position: relative;
}

.ff-option-btn--selectable.ff-selected {
  border-color: var(--ff-red);
  background: rgba(211, 65, 91, 0.08);
}

.ff-option-btn--selectable.ff-selected::after {
  content: '';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 20px;
  height: 20px;
  background: var(--ff-slate);
  border-radius: var(--ff-radius-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27white%27%3E%3Cpath d=%27M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z%27/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Option Icon - Base */
.ff-option-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ff-slate);
  border-radius: var(--ff-radius-md);
  color: var(--ff-white);
  transition: all 0.2s ease;
}

.ff-option-icon svg {
  width: 26px;
  height: 26px;
}

/* Option Icon - Brand Colors for Horse Types */
.ff-option-btn[data-value="leisure"] .ff-option-icon {
  background: var(--ff-leisure);
}

.ff-option-btn[data-value="performance"] .ff-option-icon {
  background: var(--ff-performance);
}

.ff-option-btn[data-value="stud"] .ff-option-icon {
  background: var(--ff-stud);
}

.ff-option-btn[data-value="veteran"] .ff-option-icon {
  background: var(--ff-veteran);
}

/* Option Icon - Stud Types */
.ff-option-btn[data-value="broodmare"] .ff-option-icon {
  background: var(--ff-breeding);
}

.ff-option-btn[data-value="stallion"] .ff-option-icon {
  background: var(--ff-performance);
}

.ff-option-btn[data-value="youngstock"] .ff-option-icon {
  background: var(--ff-youngstock);
}

/* Option Icon - Condition Types */
.ff-option-btn[data-value="good-doer"] .ff-option-icon {
  background: var(--ff-gold);
}

.ff-option-btn[data-value="poor-doer"] .ff-option-icon {
  background: var(--ff-brown);
}

.ff-option-btn[data-value="just-right"] .ff-option-icon {
  background: var(--ff-stud);
}

/* Option Icon - Medical Yes/No */
.ff-option-btn[data-value="no"] .ff-option-icon {
  background: var(--ff-stud);
}

.ff-option-btn[data-value="yes"] .ff-option-icon {
  background: var(--ff-breeding);
}

/* Option Icon - Energy Levels */
.ff-option-btn[data-value="too-much"] .ff-option-icon {
  background: var(--ff-gold);
}

.ff-option-btn[data-value="not-enough"] .ff-option-icon {
  background: var(--ff-brown);
}

/* Hover states - keep icon color */
.ff-option-btn:hover .ff-option-icon {
  transform: scale(1.05);
}

.ff-option-btn.ff-selected .ff-option-icon {
  transform: scale(1.05);
}

.ff-option-label {
  font-family: var(--ff-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--ff-neutral-darkest);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ff-option-desc {
  font-family: var(--ff-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ff-neutral);
  letter-spacing: normal;
}

/* Back Button */
.ff-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  color: var(--ff-neutral);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--ff-font-primary);
  letter-spacing: var(--ff-letter-spacing);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: 0.5rem;
}

.ff-back-btn:hover {
  border-color: var(--ff-neutral-light);
  color: var(--ff-neutral-dark);
}

.ff-back-btn svg {
  width: 16px;
  height: 16px;
}

/* Continue Button */
.ff-continue-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 1rem;
  padding: 14px 32px;
  background: var(--ff-red-btn);
  color: var(--ff-white);
  border: 1px solid var(--ff-red);
  border-radius: var(--ff-radius-sm);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--ff-font-primary);
  letter-spacing: var(--ff-letter-spacing);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-continue-btn:hover:not(:disabled) {
  background: var(--ff-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--ff-shadow-md);
}

.ff-continue-btn:disabled {
  background: var(--ff-neutral-light);
  border-color: var(--ff-neutral-light);
  cursor: not-allowed;
}

.ff-condition-not-listed-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  margin: 0 0 8px;
  background: transparent;
  border: 1px dashed var(--ff-border);
  border-radius: var(--ff-radius-sm);
  font-family: var(--ff-font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ff-red);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
}

.ff-condition-not-listed-btn:hover {
  background: var(--ff-bg-light);
  border-color: var(--ff-red);
}

/* Restart Button */
.ff-restart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  color: var(--ff-neutral);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--ff-font-primary);
  letter-spacing: var(--ff-letter-spacing);
  cursor: pointer;
  transition: all 0.15s ease;
}

.ff-restart-btn:hover {
  border-color: var(--ff-neutral-light);
  color: var(--ff-neutral-dark);
}

.ff-restart-btn svg {
  width: 16px;
  height: 16px;
}

/* Selection Summary */
.ff-selection-summary {
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--ff-white);
  border-radius: var(--ff-radius-lg);
  box-shadow: var(--ff-shadow-sm);
  margin-top: 2rem;
  flex-wrap: wrap;
}

.ff-selection-summary.ff-visible {
  display: flex;
}

.ff-summary-label {
  font-size: 14px;
  color: var(--ff-neutral);
  white-space: nowrap;
  letter-spacing: var(--ff-letter-spacing);
}

.ff-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
}

.ff-summary-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--ff-slate);
  color: var(--ff-white);
  border-radius: 9999px;
  font-size: 14px;
  letter-spacing: var(--ff-letter-spacing);
}

.ff-summary-tag_remove {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ff-summary-tag_remove:hover {
  background: rgba(255, 255, 255, 0.4);
}

.ff-summary-tag_remove svg {
  width: 10px;
  height: 10px;
}

.ff-clear-btn {
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  color: var(--ff-neutral);
  font-size: 14px;
  font-family: var(--ff-font-primary);
  letter-spacing: var(--ff-letter-spacing);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ff-clear-btn:hover {
  border-color: var(--ff-red);
  color: var(--ff-red);
}

/* Contact CTA */
.ff-contact-cta {
  text-align: center;
  padding: 3rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  max-width: 500px;
  margin: 0 auto;
}

.ff-contact-cta_icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ff-oat);
  border-radius: var(--ff-radius-md);
  margin: 0 auto 1.5rem;
  color: var(--ff-red);
}

.ff-contact-cta_icon svg {
  width: 32px;
  height: 32px;
}

.ff-contact-cta_title {
  font-family: var(--ff-font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ff-neutral-darkest);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.ff-contact-cta_text {
  font-family: var(--ff-font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ff-neutral-darkest);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: normal;
}

.ff-contact-cta_conditions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ff-condition-tag {
  padding: 0.25rem 0.5rem;
  background: var(--ff-neutral-lighter);
  border-radius: 9999px;
  font-size: 14px;
  color: var(--ff-neutral-dark);
  letter-spacing: var(--ff-letter-spacing);
}

.ff-contact-cta_btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  background: var(--ff-red-btn);
  color: var(--ff-white);
  border: 1px solid var(--ff-red);
  border-radius: var(--ff-radius-sm);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--ff-font-primary);
  letter-spacing: var(--ff-letter-spacing);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-contact-cta_btn:hover {
  background: var(--ff-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--ff-shadow-md);
}

.ff-contact-cta_btn svg {
  width: 20px;
  height: 20px;
}

.ff-contact-cta_hours {
  font-size: 14px;
  color: var(--ff-neutral);
  margin-top: 1rem;
  letter-spacing: var(--ff-letter-spacing);
}

/* =====================
   RESULTS SECTION
   ===================== */

.ff-results-section {
  animation: ffFadeIn 0.3s ease;
}

.ff-results-header {
  text-align: center;
  margin-bottom: 2rem;
}

.ff-results-title {
  font-family: var(--ff-font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ff-neutral-darkest);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ff-results-subtitle {
  font-family: var(--ff-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ff-neutral-darkest);
  letter-spacing: normal;
}

.ff-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ff-neutral-lighter);
}

.ff-results-count {
  font-size: 14px;
  color: var(--ff-neutral);
  letter-spacing: var(--ff-letter-spacing);
}

/* No Results State */
.ff-no-results {
  text-align: center;
  padding: 4rem;
}

.ff-no-results_icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ff-neutral-lighter);
  border-radius: var(--ff-radius-md);
  margin: 0 auto 1.5rem;
  color: var(--ff-neutral);
}

.ff-no-results_icon svg {
  width: 32px;
  height: 32px;
}

.ff-no-results_title {
  font-family: var(--ff-font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ff-neutral-darkest);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.ff-no-results_text {
  font-family: var(--ff-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ff-neutral-darkest);
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: normal;
}

/* =====================
   PRODUCT GRID
   ===================== */

.ff-product-grid {
  display: grid;
  /* 3-column grid with a max card width of 380px so cards don't stretch
     huge when there are only 1-2 results. auto-fit collapses unused tracks. */
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 380px));
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}


/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 768px) {
  /* Defer horizontal spacing to the host page's global padding on mobile.
     Keep vertical padding for breathing room above/below the questionnaire. */
  .ff-feed-finder {
    padding: 1rem 0;
  }

  .ff-questionnaire {
    padding: 24px 0;
    border-radius: 0;
    background: transparent;
  }

  .ff-title {
    font-size: 1.5rem;
  }

  .ff-option-grid {
    grid-template-columns: 1fr;
  }

  .ff-option-grid--3 {
    grid-template-columns: 1fr;
  }

  .ff-option-grid--2 {
    grid-template-columns: 1fr;
  }

  .ff-question-title,
  .ff-results-title {
    font-size: 28px;
  }

  .ff-option-btn {
    padding: 32px 18px;
    gap: 14px;
  }

  .ff-option-btn--large {
    padding: 40px 20px;
  }

  .ff-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }

  .ff-results-info {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .ff-selection-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hide step labels on mobile, keep dots visible */
  .ff-progress-step .ff-progress-step_label {
    display: none;
  }

  .ff-contact-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 16px;
  }

  .ff-contact-bar_icon {
    align-self: flex-start;
  }

  .ff-contact-bar_actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .ff-contact-bar_btn {
    flex: none;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ff-product-grid {
    grid-template-columns: 1fr;
  }

  .ff-contact-cta {
    padding: 1.5rem;
  }

  .ff-option-btn {
    padding: 28px 16px;
    gap: 12px;
  }

  .ff-option-btn--large {
    padding: 32px 16px;
  }
}

/* =====================
   CMS INTEGRATION
   ===================== */

/* Hidden CMS source - never visible */
[data-feed-finder="collection-wrapper"] {
  display: none !important;
  visibility: hidden;
  position: absolute;
  pointer-events: none;
}

/* Filter tags on product cards */
.ff-filter-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--ff-neutral-lighter);
  border-radius: 9999px;
  font-size: 12px;
  color: var(--ff-neutral-dark);
  margin-left: 0.5rem;
  letter-spacing: var(--ff-letter-spacing);
}

/* =====================
   CONTACT BAR (results page)
   ===================== */

.ff-contact-bar {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-lg);
  padding: 24px 28px;
  margin: 40px auto 0;
  max-width: 1280px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.ff-contact-bar_icon {
  width: 56px;
  height: 56px;
  border-radius: var(--ff-radius-md);
  background: var(--ff-oat);
  color: var(--ff-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ff-contact-bar_icon svg {
  width: 28px;
  height: 28px;
}

.ff-contact-bar_body {
  flex: 1;
  min-width: 240px;
}

.ff-contact-bar_eyebrow {
  font-family: var(--ff-font-primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ff-red);
}

.ff-contact-bar_title {
  font-family: var(--ff-font-heading);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 4px;
  color: var(--ff-neutral-darkest);
}

.ff-contact-bar_meta {
  font-family: var(--ff-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ff-neutral);
  margin-top: 4px;
}

.ff-contact-bar_actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ff-contact-bar_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: var(--ff-font-primary);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ff-contact-bar_btn:hover {
  transform: translateY(-1px);
}

.ff-contact-bar_btn--primary {
  background: var(--ff-red);
  color: var(--ff-white);
}

.ff-contact-bar_btn--primary:hover {
  background: var(--ff-red-dark);
}

.ff-contact-bar_btn--outline {
  background: transparent;
  color: var(--ff-neutral-darkest);
  border-color: var(--ff-neutral-darkest);
}

.ff-contact-bar_btn--outline:hover {
  background: var(--ff-neutral-darkest);
  color: var(--ff-white);
}

.ff-contact-bar_btn svg {
  width: 16px;
  height: 16px;
}

/* =========================================================================
   PRODUCT CARDS
   =========================================================================
   Clean, self-contained card styles. URW DIN font family is loaded by the
   parent Webflow site. Brand-colour modifier classes (.u-brand-*) preserve
   the per-category tag colour from Saracen's design system.
   ========================================================================= */

/* — Brand colour swatches scoped to component — */
.ff-feed-finder {
  --swatch--brand--performance:    #223d56;
  --swatch--brand--active-leisure: #004745;
  --swatch--brand--conditioning:   #7565a7;
  --swatch--brand--veteran:        #666666;
  --swatch--brand--breeding:       #8a2432;
  --swatch--brand--racing:         #ef1a2d;
  --swatch--brand--specialist:     #3f4552;
  --swatch--brand--straights:      #c5a800;
  --swatch--brand--feed-room:      #715845;
  --swatch--brand--ker-supplements:#041e41;
  --swatch--brand--middle-east:    #2a303f;
  --swatch--brand--other:          #444444;

  --ff-card-font: "URW DIN Cond", "URW DIN", Arial, sans-serif;
}

/* — Card structure — */
.product-card_wrap {
  width: 100%;
  position: relative;
}

.product-card_inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card_content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #f0f0f0;
  border-radius: 1rem;
  height: 100%;
  position: relative;
  z-index: 1;
}

.product-card_top {
  width: 100%;
}

.product-card_asset {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.product-card_image {
  width: 100%;
  height: 100%;
  max-width: 22rem;
  object-fit: contain;
  transition: transform 400ms ease;
}

.product-card_wrap:hover .product-card_image {
  transform: scale(1.03);
}

.product-card_bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card_title {
  font-family: var(--ff-card-font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
}

.product-card_text {
  font-family: var(--ff-card-font);
  font-size: 1rem;
  line-height: 1.5;
  color: #6b6b6b;
  margin: 0;
}

/* Whole-card click overlay */
.product-card_link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-decoration: none;
}

.product-card_link_text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* — Category tag — */
.product-tag_wrap {
  display: inline-flex;
  background-color: var(--swatch--brand--other);
  color: #ffffff;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  width: max-content;
  max-width: 100%;
}

.product-tag_layout {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.product-tag_icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  object-fit: contain;
}

.product-tag_text {
  font-family: var(--ff-card-font);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  line-height: 1;
}

/* — Brand colour modifiers — */
.u-brand-performance    { background-color: var(--swatch--brand--performance); }
.u-brand-active-leisure { background-color: var(--swatch--brand--active-leisure); }
.u-brand-conditioning   { background-color: var(--swatch--brand--conditioning); }
.u-brand-veteran        { background-color: var(--swatch--brand--veteran); }
.u-brand-breeding       { background-color: var(--swatch--brand--breeding); }
.u-brand-racing         { background-color: var(--swatch--brand--racing); }
.u-brand-specialist     { background-color: var(--swatch--brand--specialist); }
.u-brand-straights      { background-color: var(--swatch--brand--straights); color: #1a1a1a; }
.u-brand-feed-room      { background-color: var(--swatch--brand--feed-room); }
.u-brand-ker-supplements{ background-color: var(--swatch--brand--ker-supplements); }
.u-brand-middle-east    { background-color: var(--swatch--brand--middle-east); }
.u-brand-other          { background-color: var(--swatch--brand--other); }

/* =====================
   ADD-ON CARD (Re-Covery Mash etc.) — inline in grid
   ===================== */

/* Dark slate fill with brand-shape watermark behind the contents.
   Distinctive vs the lighter recommendation cards next to it. */
.product-card_wrap.is-addon .product-card_content {
  background-color: #283041;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

/* SVG watermark — sits behind everything else inside the card */
.product-card_addon-watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Lift content above the watermark */
.product-card_wrap.is-addon .product-card_top,
.product-card_wrap.is-addon .product-card_asset,
.product-card_wrap.is-addon .product-card_bottom {
  position: relative;
  z-index: 1;
}

/* "Recommended add-on" title above the eyebrow */
.product-card_addon-title {
  font-family: var(--ff-card-font);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ff-red);
  margin: 0 0 8px;
}

/* Two-line marketing eyebrow replacing the category tag */
.product-card_addon-eyebrow {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0;
}

.product-card_addon-eyebrow_line {
  font-family: var(--ff-card-font);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.product-card_addon-eyebrow_line--white {
  color: #ffffff;
}

.product-card_addon-eyebrow_line--red {
  color: var(--ff-red);
}

/* Title + body in white over the slate */
.product-card_wrap.is-addon .product-card_title {
  color: #ffffff;
}

.product-card_wrap.is-addon .product-card_text {
  color: rgba(255, 255, 255, 0.85);
}

