/* Terpene card */
.terpene-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}
.terpene-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Card hero (colored gradient top) */
.card-hero {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.card-hero-citrus { background: linear-gradient(160deg, #F5A523 0%, #C8700A 100%); }
.card-hero-floral  { background: linear-gradient(160deg, #C8A8E0 0%, #9B6BAB 100%); }
.card-hero-herbal  { background: linear-gradient(160deg, #A8D8A0 0%, #58BB48 100%); }
.card-hero-earthy  { background: linear-gradient(160deg, #E0C0A0 0%, #C8905A 100%); }
.card-hero-hoppy   { background: linear-gradient(160deg, #A0D8F0 0%, #45B8E6 100%); }
.card-hero-spicy   { background: linear-gradient(160deg, #F0A0B0 0%, #E04D6B 100%); }
.card-hero-flask { color: rgba(255,255,255,0.5); }

/* Heart on card (top-right overlay) */
.card-heart {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  transition: background 0.15s;
}
.card-heart:hover { background: white; }
.card-heart.favorited { color: #E04D6B; }
.card-heart svg { width: 14px; height: 14px; }

/* Card body */
.card-body { padding: 14px 16px 12px; }
.card-name {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 16px; font-weight: 900;
  text-transform: uppercase; color: #1C1C1C;
  letter-spacing: 0.01em; margin-bottom: 4px;
}
.card-prop-row {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; color: #9CA3AF;
  margin-bottom: 2px; line-height: 1.4;
}
.card-prop-value { color: #374151; }

/* Card footer */
.card-footer {
  padding: 8px 16px 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #F3F4F6;
  margin-top: 8px;
}
.card-learn-link {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  color: #C8700A; text-decoration: none;
}
.card-learn-link:hover { text-decoration: underline; }
.card-icon-btns { display: flex; gap: 8px; }
.card-icon-btn {
  width: 26px; height: 26px;
  border: 1px solid #E5E7EB; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: #9CA3AF; cursor: pointer; background: none;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.card-icon-btn:hover { border-color: #C8700A; color: #C8700A; }

/* Filter bar */
.filter-select {
  font-family: 'Outfit', sans-serif;
  font-size: 13px; color: #1C1C1C;
  background: white; border: 1px solid #E5E7EB;
  border-radius: 6px; padding: 7px 28px 7px 10px;
  appearance: none; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
}
.filter-select:focus { border-color: #F5A523; box-shadow: 0 0 0 3px rgba(245,165,35,0.12); }

.search-input {
  font-family: 'Outfit', sans-serif;
  font-size: 13px; color: #1C1C1C;
  background: white; border: 1px solid #E5E7EB;
  border-radius: 6px; padding: 7px 10px 7px 32px;
  outline: none; flex: 1; min-width: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-input::placeholder { color: #9CA3AF; }
.search-input:focus { border-color: #F5A523; box-shadow: 0 0 0 3px rgba(245,165,35,0.12); }

/* Favorites only checkbox */
.fav-checkbox-label {
  display: flex; align-items: center; gap-6px;
  font-family: 'Outfit', sans-serif; font-size: 13px; color: #374151;
  cursor: pointer; white-space: nowrap;
}

/* Pagination */
.page-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  border: 1px solid #E5E7EB; border-radius: 6px;
  color: #374151; text-decoration: none; transition: all 0.15s;
}
.page-btn:hover { border-color: #C8700A; color: #C8700A; }
.page-btn.active { background: #C8700A; border-color: #C8700A; color: white; font-weight: 600; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }
