/**
 * StayEasy — Central typography (single source of truth).
 *
 * Headings (h1–h6): Cormorant Garamond
 * Everything else: Outfit
 *
 * Change fonts here only — do not set font-family in portal CSS files.
 */

:root {
  --stayeasy-font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --stayeasy-font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Legacy aliases (use --stayeasy-font-* in new code) */
  --se-font-display: var(--stayeasy-font-heading);
  --se-font-ui: var(--stayeasy-font-body);
  --sup-font-display: var(--stayeasy-font-heading);
  --sup-font-ui: var(--stayeasy-font-body);
  --agent-font-display: var(--stayeasy-font-heading);
  --agent-font-body: var(--stayeasy-font-body);
}

html {
  font-family: var(--stayeasy-font-body);
}

body {
  font-family: var(--stayeasy-font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--stayeasy-font-heading);
}

p,
li,
dt,
dd,
figcaption,
label,
legend,
small,
.text-muted,
.lead,
blockquote,
input,
textarea,
select,
option,
button,
.btn,
.form-control,
.form-select,
.form-check-label,
.input-group-text,
.nav-link,
.navbar,
.breadcrumb,
.pagination,
.dropdown-menu,
.dropdown-item,
.offcanvas,
.modal,
.alert,
.badge,
.table,
.list-group-item,
.accordion-button,
.toast,
.popover,
.card-text,
.admin-nav .nav-link,
.admin-nav-section-toggle,
.admin-sidebar-meta,
.se-inbox-page {
  font-family: var(--stayeasy-font-body);
}

/* Title-like classes without heading markup (prefer h1–h6 when possible) */
.search-filter-panel__title,
.cart-hero-title,
.cart-hero .cart-hero-title,
.booking-voucher-card__title,
.navbar-brand,
.supplier-font-display,
.se-inbox-main__empty-title {
  font-family: var(--stayeasy-font-heading);
}

/* Icon fonts */
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  font-family: "bootstrap-icons" !important;
}
