/* ============================================================
   Section header — eyebrow → heading → subtitle (+ view-all link).
   Shared across home sections. Tokens only.
   ============================================================ */

.lh-section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--section-head-gap);
}

.lh-section-head__eyebrow {
  display: block;
  margin-bottom: var(--space-2);
}

.lh-section-head__heading {
  margin: 0;
  font-size: var(--section-title-size, var(--font-h2));
}
/* Title-size modifiers (set per-section or via the global theme setting) */
.lh-section-head--title-sm { --section-title-size: var(--font-h4); }
.lh-section-head--title-md { --section-title-size: var(--font-h3); }
.lh-section-head--title-lg { --section-title-size: var(--font-h2); }
.lh-section-head--title-xl { --section-title-size: var(--font-h1); }

.lh-section-head__subtitle {
  margin: var(--space-2) 0 0;
  max-width: 56ch;
  font-size: var(--font-body-md);
  line-height: var(--leading-body);
  color: var(--text-muted);
}

.lh-section-head__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: var(--font-body-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  white-space: nowrap;
  transition: gap var(--duration-fast) var(--ease-standard);
}
.lh-section-head__link:hover { gap: var(--space-3); }

/* ---- Center alignment ---- */
.lh-section-head--center {
  align-items: center;
  text-align: center;
}
.lh-section-head--center .lh-section-head__subtitle { margin-inline: auto; }

/* ---- Header + view-all on one row (all viewports) ----
   The view-all link sits flush to the right edge of the title block,
   vertically centred against it (matches shop-by-style-1.webp). Applies
   on mobile too so the link never drops below the heading. */
.lh-section-head--with-link {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.lh-section-head--with-link .lh-section-head__text { min-width: 0; }
.lh-section-head--with-link .lh-section-head__link {
  align-self: center;
  flex-shrink: 0;
}
