/**
 * Hovet Homepage — Consolidated Styles
 * Scope: .hv-home wrapper (Elementor HTML widgets + shortcode output)
 * Fonts: enqueue Playfair Display + DM Sans via theme or Elementor Custom Fonts
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap');

.hv-home {
  --hv-green-dark: #1e5631;
  --hv-green-accent: #12d362;
  --hv-bg-neutral: #fcfbf7;
  --hv-text-primary: #2c2c2c;
  --hv-text-muted: #6a6a6a;
  --hv-border-light: #eaeaea;
  --hv-rose: #fdf0ec;
  --hv-cream: #fdf2e2;
  --hv-mint: #ecf7ed;
  --hv-purple: #f4effd;
  --hv-coral: #e86a4a;
  --hv-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --hv-sans: 'DM Sans', 'Inter', system-ui, sans-serif;
  color: var(--hv-text-primary);
  font-family: var(--hv-sans);
  line-height: 1.55;
  letter-spacing: 0.01em;
  background: var(--hv-bg-neutral);
}

.hv-home *,
.hv-home *::before,
.hv-home *::after {
  box-sizing: border-box;
}

.hv-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hv-home a {
  color: inherit;
  text-decoration: none;
}

/* Shared section rhythm */
.hv-section {
  padding: 1.5rem 1rem;
}

.hv-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hv-kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a8b6f;
  margin-bottom: 0.5rem;
}

.hv-heading {
  font-family: var(--hv-serif) !important;
  font-weight: 700;
  line-height: 1.15;
  color: var(--hv-text-primary);
  margin: 0;
}

.hv-heading em {
  font-style: italic;
  font-weight: 700;
}

/* Native horizontal scroll (zero JS) */
.hv-scroll-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0.875rem;
  margin: 0 -1rem;
  padding: 0.25rem 1rem 0.75rem;
  list-style: none;
}

.hv-scroll-row::-webkit-scrollbar {
  display: none;
}

/* ─── 1. HERO ─── */
.hv-hero {
  padding: 2rem 1rem 1.5rem;
  background: linear-gradient(180deg, #f5faf6 0%, var(--hv-bg-neutral) 100%);
}

.hv-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1.25rem;
  background: rgba(30, 86, 49, 0.08);
  border-radius: 50px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hv-text-muted);
}

.hv-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hv-green-dark);
  flex-shrink: 0;
}

.hv-hero__title {
  font-size: clamp(1.85rem, 6vw, 2.75rem);
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hv-hero__desc {
  font-size: 0.9375rem;
  color: var(--hv-text-muted);
  max-width: 34ch;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.hv-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 52px;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 50px;
  font-family: var(--hv-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hv-btn:active {
  transform: scale(0.98);
}

.hv-btn--primary {
  background: var(--hv-green-dark);
  color: #fff;
}

.hv-btn--accent {
  background: var(--hv-green-accent);
  color: #fff;
}

.hv-hero__stats {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(30, 86, 49, 0.1);
  padding-top: 1.25rem;
}

.hv-hero__stat {
  flex: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.hv-hero__stat+.hv-hero__stat {
  border-left: 1px solid rgba(44, 44, 44, 0.08);
}

.hv-hero__stat-value {
  display: block;
  font-family: var(--hv-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hv-text-primary);
  margin-bottom: 0.2rem;
}

.hv-hero__stat-label {
  font-size: 0.6875rem;
  color: var(--hv-text-muted);
  letter-spacing: 0.04em;
  line-height: 1.35;
}

/* ─── 2. BROWSE BY SPECIES ─── */
.hv-species__header {
  margin-bottom: 1.25rem;
}

.hv-species__title {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
}

.hv-species-card {
  scroll-snap-align: start;
  flex: 0 0 35%;
  border-radius: 24px;
  padding: 12px 10px 14px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hv-species-card--rose {
  background: var(--hv-rose);
}

.hv-species-card--cream {
  background: var(--hv-cream);
}

.hv-species-card--mint {
  background: var(--hv-mint);
}

.hv-species-card--purple {
  background: var(--hv-purple);
}

.hv-species-card__icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
  text-align: center;
}

.hv-species-card__title {
  font-family: var(--hv-serif);
  font-size: 0.85rem !important;
  font-weight: 700;
  margin: 0 0 0.15rem;
  text-align: center;
}

.hv-species-card--rose .hv-species-card__title {
  color: #7a3b2e;
}

.hv-species-card--cream .hv-species-card__title {
  color: #9a6b1a;
}

.hv-species-card--mint .hv-species-card__title {
  color: var(--hv-green-dark);
}

.hv-species-card--purple .hv-species-card__title {
  color: #5a4a7a;
}

.hv-species-card__sub {
  font-size: 0.75rem;
  color: var(--hv-text-muted);
  margin: 0;
  text-align: center;
}

/* ─── 3. FEATURED PRODUCTS (shortcode) ─── */
.hv-featured__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hv-featured__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hv-green-dark);
  white-space: nowrap;
  padding-bottom: 0.15rem;
}

.hv-featured__link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hv-featured__link:hover span {
  transform: translateX(3px);
}

.hv-product-card {
  scroll-snap-align: start;
  flex: 0 0 72%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hv-border-light);
  border-radius: 20px;
  overflow: hidden;
  min-height: 100%;
}

.hv-product-card__media {
  position: relative;
  aspect-ratio: 1 / 0.88;
  background: #f3f6f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.hv-product-card__media--rose {
  background: var(--hv-rose);
}

.hv-product-card__media--cream {
  background: var(--hv-cream);
}

.hv-product-card__media--mint {
  background: var(--hv-mint);
}

.hv-product-card__media--purple {
  background: var(--hv-purple);
}

.hv-product-card__media img {
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

.hv-product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 50px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
}

.hv-product-card__badge--bestseller {
  background: var(--hv-green-dark);
}

.hv-product-card__badge--new {
  background: var(--hv-coral);
}

.hv-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.875rem 1rem 1rem;
}

.hv-product-card__cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hv-text-muted);
  margin-bottom: 0.35rem;
}

.hv-product-card__title {
  font-family: var(--hv-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hv-product-card__title a:hover {
  color: var(--hv-green-dark);
}

.hv-product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--hv-text-muted);
  margin-bottom: 0.5rem;
}

.hv-product-card__rating-stars {
  color: #d4a017;
  letter-spacing: -0.05em;
}

.hv-product-card__excerpt {
  font-size: 0.8125rem;
  color: var(--hv-text-muted);
  line-height: 1.45;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hv-product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.hv-product-card__price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--hv-text-primary);
  line-height: 1.2;
}

.hv-product-card__price .woocommerce-Price-amount {
  font-weight: 700;
}

.hv-product-card__unit {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--hv-text-muted);
}

.hv-product-card__add {
  flex-shrink: 0;
  min-width: 72px;
  min-height: 38px;
  padding: 0.5rem 0.875rem;
  border-radius: 50px;
  background: var(--hv-green-dark);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.hv-product-card__add.loading {
  opacity: 0.65;
  pointer-events: none;
}

.hv-featured__empty {
  font-size: 0.875rem;
  color: var(--hv-text-muted);
  padding: 1rem 0;
}

/* ─── 4. TESTIMONIALS ─── */
.hv-voices__title {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  margin-bottom: 1.25rem;
}

.hv-voice-card {
  scroll-snap-align: start;
  flex: 0 0 82%;
  background: #fff;
  border: 1px solid var(--hv-border-light);
  border-radius: 24px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.hv-voice-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.75rem;
  border-radius: 50px;
  background: rgba(30, 86, 49, 0.08);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hv-green-dark);
}

.hv-voice-card__quote-mark {
  font-family: var(--hv-serif);
  font-size: 2.5rem;
  line-height: 0.6;
  color: rgba(18, 211, 98, 0.45);
  margin-bottom: 0.5rem;
}

.hv-voice-card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hv-text-primary);
  margin: 0 0 1.25rem;
  flex: 1;
}

.hv-voice-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.hv-voice-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ecf7ed, #d4ead8);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hv-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--hv-green-dark);
}

.hv-voice-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.1rem;
}

.hv-voice-card__role {
  font-size: 0.75rem;
  color: var(--hv-text-muted);
  margin: 0;
}

/* ─── 5. HELPLINE CTA ─── */
.hv-helpline {
  background: var(--hv-green-dark);
  padding: 2rem 1rem;
}

.hv-helpline__title {
  font-family: var(--hv-serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.hv-helpline__desc {
  font-size: 0.9375rem;
  color: rgba(252, 251, 247, 0.88);
  margin: 0 0 0.35rem;
  line-height: 1.5;
}

.hv-helpline__hours {
  font-size: 0.8125rem;
  color: rgba(252, 251, 247, 0.65);
  margin: 0 0 1.5rem;
}

.hv-helpline__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
}

.hv-helpline__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  min-height: 52px;
  padding: 0.875rem 1.25rem;
  border-radius: 50px;
  font-family: var(--hv-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hv-helpline__btn:active {
  transform: scale(0.98);
}

.hv-helpline__btn--white {
  background: #fff;
  color: var(--hv-green-dark);
}

.hv-helpline__btn--accent {
  background: var(--hv-green-accent);
  color: #fff;
}

.hv-helpline__btn--ghost {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}

.hv-helpline__btn svg {
  flex-shrink: 0;
}

/* ─── 6. TRUST RIBBON ─── */
.hv-trust {
  padding: 1.25rem 0 1.5rem;
  background: var(--hv-bg-neutral);
  border-top: 1px solid rgba(44, 44, 44, 0.06);
}

.hv-trust-item {
  scroll-snap-align: start;
  flex: 0 0 38%;
  text-align: center;
  padding: 0 0.75rem;
  position: relative;
}

.hv-trust-item+.hv-trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(44, 44, 44, 0.1);
}

.hv-trust-item__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hv-green-dark);
}

.hv-trust-item__icon svg {
  width: 28px;
  height: 28px;
}

.hv-trust-item__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--hv-text-primary);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.hv-trust-item__sub {
  font-size: 0.6875rem;
  color: var(--hv-text-muted);
  line-height: 1.35;
  margin: 0;
}

/* ─── Responsive ─── */
@media (min-width: 640px) {
  .hv-section {
    padding: 2rem 1.5rem;
  }

  .hv-hero {
    padding: 3rem 1.5rem 2rem;
  }

  .hv-hero__actions {
    flex-direction: row;
    max-width: 520px;
  }

  .hv-hero__actions .hv-btn {
    width: auto;
    flex: 1;
  }

  .hv-species-card {
    flex: 0 0 30%;
  }

  .hv-product-card {
    flex: 0 0 45%;
  }

  .hv-voice-card {
    flex: 0 0 55%;
  }

  .hv-trust-item {
    flex: 0 0 22%;
  }

  .hv-scroll-row {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 992px) {
  .hv-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
  }

  .hv-hero__stats {
    grid-column: 1 / -1;
  }

  .hv-species-card {
    flex: 0 0 22%;
  }

  .hv-product-card {
    flex: 0 0 28%;
  }

  .hv-voice-card {
    flex: 0 0 32%;
  }

  .hv-trust-item {
    flex: 1;
  }

  .hv-trust .hv-scroll-row {
    overflow-x: visible;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}