/* ─── Tokens ──────────────────────────────────────────────── */
:root {
  --background: 220 20% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --primary: 216 100% 22%;
  --primary-foreground: 0 0% 100%;
  --primary-light: 216 45% 94%;
  --primary-tint: 205 70% 72%;
  --accent: 140 59% 28%; /* #1D7239 dark green (was 196 100% 46% / #00ACEB) */
  --accent-foreground: 0 0% 100%;
  --muted: 220 20% 96%;
  --muted-foreground: 220 10% 46%;
  --destructive: 0 75% 48%;
  --destructive-soft: 0 80% 96%;
  --border: 220 15% 90%;
  --info: 199 88% 50%;
  --warning: 42 95% 55%;
  --surface: 220 30% 96%;
  --surface-warm: 38 40% 97%;
  --radius: 8px;
  --shadow-sm: 0 1px 2px 0 hsl(216 100% 22% / 0.05);
  --shadow-md: 0 4px 12px -2px hsl(216 100% 22% / 0.08);
  --shadow-lg: 0 14px 40px -12px hsl(216 100% 22% / 0.25);
  --shadow-menu: 0 24px 48px -16px hsl(216 100% 22% / 0.25);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  /* clip prevents horizontal scroll without creating a scroll container that breaks sticky */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ─── Font Awesome 7 Pro (Regular) ────────────────────────── */
@font-face {
  font-family: "FA Pro";
  src: url("../fonts/Font Awesome 7 Pro-Regular-400.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.fa {
  font-family: "FA Pro";
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cap-tabs__pane h3,
.cta-min__inner h2 {
  color: hsl(var(--primary-foreground));
}

/* NHL site header */
.nhl-site-header {
  position: relative;
  z-index: 60;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 1px 0 hsl(var(--foreground) / 0.03);
}

.nhl-header__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 0 200px 0 180px;
}

.nhl-header__logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 148px;
}

.nhl-header__logo img {
  display: block;
  width: auto;
}

.nhl-header__nav {
  min-width: 0;
}

.nhl-utility-panel__item {
  font-size: 14.5px;
  font-weight: 600;
}

.nhl-header__top {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  border-bottom: 1px solid hsl(var(--border));
}

.nhl-utility-nav,
.nhl-header__actions,
.nhl-primary-nav {
  display: flex;
  align-items: center;
}

.nhl-utility-nav {
  gap: 22px;
}

.nhl-header__actions {
  gap: 16px;
}

.nhl-primary-nav {
  min-height: 69px;
  justify-content: space-between;
  gap: 20px;
}

.nhl-menu-anchor {
  position: relative;
}

.nhl-menu-anchor.iwant-to {
  position: static;
}

.nhl-menu-anchor--service {
  position: static;
}

.nhl-menu-trigger,
.nhl-menu-trigger:visited {
  color: hsl(var(--muted-foreground));
}

.nhl-menu-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.nhl-menu-trigger:hover,
.nhl-menu-trigger:focus,
.nhl-menu-trigger[aria-expanded="true"] {
  /* color: #fff; */
  /* background: none !important; */
  /* border: none !important; */

  border-color: hsl(var(--primary) / 0.35);
  color: hsl(var(--primary));
}

.nhl-utility-nav__link {
  font-size: 13.5px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  transition: color 0.15s;
  cursor: pointer;
  padding: 4px 0;
}

.nhl-primary-nav__link,
.nhl-primary-nav__link:visited {
  color: hsl(var(--foreground));
}

.nhl-primary-nav__link--emergency,
.nhl-primary-nav__link--emergency:visited,
.nhl-primary-nav__link--emergency:hover,
.nhl-primary-nav__link--emergency:focus,
.nhl-primary-nav__link--emergency[aria-expanded="true"] {
  color: hsl(var(--destructive));
}

.nhl-caret {
  font-family: "FA Pro";
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.55;
  transition: transform 0.16s ease;
}

.nhl-menu-trigger[aria-expanded="true"] .nhl-caret {
  transform: rotate(180deg);
}

.nhl-pill-trigger {
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-sm);

  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

.nhl-icon-trigger {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-sm);
}

.nhl-icon-trigger .fa {
  font-size: 14px;
  font-weight: 600;
}

@keyframes nh-pulse {
  0% {
    box-shadow: 0 0 0 0 hsl(var(--destructive) / 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px hsl(var(--destructive) / 0);
  }

  100% {
    box-shadow: 0 0 0 0 hsl(var(--destructive) / 0);
  }
}

.nhl-emergency-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: hsl(var(--destructive));
  box-shadow: 0 0 0 8px hsl(var(--destructive) / 0.11);

  animation: nh-pulse 1.8s ease-out infinite;
}

.nhl-menu-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 70;
  background: hsl(var(--card));
  border-radius: 20px;
  box-shadow: var(--shadow-menu);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.nhl-menu-anchor[data-open="true"] .nhl-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nhl-utility-panel {
  left: 50%;
  right: auto;
  width: 300px;
  padding: 34px 24px 24px;
  transform: translate(-50%, -8px);
}

.nhl-menu-anchor[data-open="true"] .nhl-utility-panel {
  transform: translate(-50%, 0);
}

.nhl-link-list,
.nhl-want-menu ul,
.nhl-service-panel ul,
.nhl-emergency-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alert-bar {
  background: color-mix(in srgb, #002C6D 100%, white 10%);
  color: hsl(var(--primary-foreground));
  font-size: 14px;
  line-height: 1.4;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.alert-bar .fa {
  font-size: 14px;
  opacity: 0.95;
}

.alert-bar strong {
  font-weight: 600;
}

.alert-bar__close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: hsl(var(--primary-foreground));
  font-size: 14px;
  line-height: 1;
  opacity: 0.8;
}

.alert-bar__close:hover {
  opacity: 1;
}

.alert-bar__close {
  background: none !important;
}

.nhl-link-list {
  display: grid;
}

.nhl-link-list a,
.nhl-panel-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  color: hsl(var(--foreground));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  padding: 9px 12px;
}

.nhl-link-list a .fa,
.nhl-panel-more .fa {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  opacity: 0.7;
}

.nhl-link-list a:hover,
.nhl-panel-more:hover {
  color: hsl(var(--primary));
}

.nhl-panel-more {
  margin-top: 10px;
  padding-top: 17px;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.nhl-want-menu {
  width: auto;
  padding: 48px 161px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
  border-radius: 0 !important;
  top: 100%;
  left: 0;
}

.nhl-want-menu__group h3 {
  margin: 0 0 14px;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nhl-want-menu__group ul {
  display: grid;
  gap: 10px;
}

.nhl-want-menu__group a {
  color: hsl(var(--foreground));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.nhl-want-menu__group a:hover {
  color: hsl(var(--primary));
}

.nhl-service-panel {
  left: 50%;
  right: auto;
  top: 100%;
  width: 100%;
  min-height: 380px;
  display: grid;
  grid-template-columns: 425px minmax(420px, 1fr) 500px;
  /* grid-template-columns: 345px minmax(420px, 1fr) 430px; */
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  transform: translate(-50%, -8px);
}

.nhl-menu-anchor[data-open="true"] .nhl-service-panel {
  transform: translate(-50%, 0);
}

.nhl-service-panel__side,
.nhl-service-panel__card {
  background: hsl(var(--surface));
}

.nhl-service-panel__side {
  padding: 42px 38px;
  border-right: 1px solid hsl(var(--border));
  padding-left: 142px;
}

.nhl-service-panel__side h3 {
  margin: 0 24px 16px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  font-size: 16px;
  line-height: 1.2;
}

.nhl-service-panel__side ul {
  display: grid;
  gap: 14px;
}

.nhl-service-panel__side a {
  /* min-height: 46px; */
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding-left: 16px;
  border-left: 4px solid transparent;
  color: hsl(var(--foreground));
  font-size: 14px;
  font-weight: 600;
}

.nhl-service-panel__side a small {
  color: hsl(var(--muted-foreground));
  font-size: 12.5px;
}

.nhl-service-panel__side a .fa {
  color: hsl(var(--muted-foreground));
  font-size: 16px;
}

.nhl-service-panel__side a:hover,
.nhl-service-panel__side a.is-active {
  border-left-color: hsl(var(--info));
  color: hsl(var(--primary));
}

.nhl-service-panel__main {
  padding: 50px 54px 42px;
  display: flex;
  flex-direction: column;
}

.nhl-service-panel__main h3 {
  margin: 0 0 20px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.nhl-service-panel__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 69px;
}

.nhl-service-panel__links a {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.nhl-service-panel__links a:hover {
  color: hsl(var(--primary));
}

.nhl-service-panel__foot {
  margin-top: auto;
  padding-top: 34px;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  gap: 36px;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  font-weight: 600;
}

.nhl-service-panel__foot a,
.nhl-service-panel__card a {
  color: hsl(var(--primary-tint));
}

.nhl-service-panel__card {
  padding: 34px 38px;
  border-left: 1px solid hsl(var(--border));
}

.nhl-service-panel__card img {
  display: block;
  /* width: 100%; */
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;

  width: 280px !important;
  max-width: 280px !important;
  box-sizing: border-box !important;
}

.nhl-service-panel__card h3 {
  margin: 4px 0 8px;
  color: hsl(var(--primary));
  font-size: 14px;
  font-weight: 600;
}

.nhl-service-panel__card p {
  margin: 0 0 12px;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.nhl-service-panel__card a {
  font-size: 13px;
  font-weight: 600;
}

.nhl-emergency-panel {
  width: 320px;
  padding: 20px;
  border-color: hsl(var(--destructive) / 0.32);
}

.nhl-emergency-panel__phone {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid hsl(var(--destructive) / 0.3);
  border-radius: 14px;
  background: hsl(var(--destructive-soft));
  color: hsl(var(--destructive));
}

.nhl-emergency-panel__phone span {
  font-size: 11px;
  font-weight: 600;
}

.nhl-emergency-panel__phone strong {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
}

.nhl-emergency-panel__list {
  display: grid;
  gap: 0px;
}

.nhl-emergency-panel__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: hsl(var(--foreground));
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
  padding: 10px 12px;
}

.nhl-emergency-panel__list .fa {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: hsl(var(--destructive-soft));
  color: hsl(var(--destructive));
  font-size: 12px;
}

.nhl-search-panel {
  width: 430px;
  padding: 22px;
}

.nhl-search-panel__form {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--muted));
}

.nhl-search-panel__form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: hsl(var(--foreground));
  font: 600 15px/1.2 var(--font-sans);
  box-shadow: none;
}

.nhl-search-panel__label {
  display: block;
  margin: 18px 0 10px;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nhl-search-panel__hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nhl-search-panel__hints a {
  padding: 7px 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
  font-size: 13px;
  font-weight: 700;
}

.nhl-search-panel__hints a:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.3);
}

.nhl-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: hsl(var(--foreground) / 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

body[data-nhl-menu-open="true"] .nhl-menu-scrim {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1280px) {
  .nhl-header__inner {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
  }

  .nhl-utility-nav {
    gap: 22px;
  }

  .nhl-primary-nav {
    gap: 18px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nhl-service-panel {
    grid-template-columns: 300px minmax(360px, 1fr) 360px;
  }
}

@media (max-width: 1024px) {
  .nhl-header__inner {
    width: min(100% - 32px, 960px);
    min-height: auto;
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 18px 0;
    align-items: start;
  }

  .nhl-header__logo img {
    height: 88px;
  }

  .nhl-header__top {
    min-height: 52px;
    justify-content: flex-end;
    border-bottom: 0;
  }

  .nhl-utility-nav {
    display: none;
  }

  .nhl-primary-nav {
    min-height: 54px;
    margin-top: 10px;
  }

  .nhl-menu-trigger {
    font-size: 16px;
  }

  .nhl-service-panel,
  .nhl-want-menu {
    left: auto;
    right: 0;
    width: min(720px, calc(100vw - 32px));
    transform: translateY(-8px);
  }

  .nhl-menu-anchor[data-open="true"] .nhl-service-panel,
  .nhl-menu-anchor[data-open="true"] .nhl-want-menu {
    transform: translateY(0);
  }

  .nhl-service-panel {
    grid-template-columns: 260px 1fr;
  }

  .nhl-service-panel__card {
    display: none;
  }

  .nhl-want-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nhl-header__inner {
    width: calc(100% - 24px);
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .nhl-header__logo img {
    height: 68px;
  }

  .nhl-pill-trigger {
    min-height: 42px;
    padding: 0 16px;
  }

  .nhl-icon-trigger {
    width: 42px;
    height: 42px;
  }

  .nhl-header__actions {
    gap: 8px;
  }

  .nhl-primary-nav {
    padding-bottom: 4px;
  }

  .nhl-menu-trigger {
    font-size: 15px;
  }

  .nhl-menu-panel,
  .nhl-utility-panel,
  .nhl-service-panel,
  .nhl-want-menu,
  .nhl-emergency-panel,
  .nhl-search-panel {
    position: fixed;
    top: 118px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 142px);
    overflow: auto;
    transform: translateY(-8px);
  }

  .nhl-menu-anchor[data-open="true"] .nhl-menu-panel,
  .nhl-menu-anchor[data-open="true"] .nhl-utility-panel,
  .nhl-menu-anchor[data-open="true"] .nhl-service-panel,
  .nhl-menu-anchor[data-open="true"] .nhl-want-menu {
    transform: translateY(0);
  }

  .nhl-service-panel {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 18px;
  }

  .nhl-service-panel__side,
  .nhl-service-panel__main {
    padding: 24px;
  }

  .nhl-service-panel__side {
    border-right: 0;
    border-bottom: 1px solid hsl(var(--border));
  }

  .nhl-service-panel__links,
  .nhl-want-menu {
    grid-template-columns: 1fr;
  }

  .nhl-want-menu,
  .nhl-emergency-panel,
  .nhl-search-panel,
  .nhl-utility-panel {
    padding: 24px;
  }
}

/* Remove the "Showing all X results" text */
.woocommerce-result-count {
  display: none;
}

/* Hide the "Filter by care centre:" label (accessibly) */
.care-centre-filter label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Make both filter and sorting containers inline-block, left-aligned */
.care-centre-filter,
.woocommerce-ordering {
  display: inline-block;
  vertical-align: middle;
  margin-right: 1rem;
  float: none;
}

/* Override any global select styles that force right floats or fixed widths */
.care-centre-filter select,
.woocommerce-ordering select {
  float: none !important;
  margin-bottom: 40px;
  width: auto;
  min-width: 300px;
}

/* Remove any leftover clearing that could break the line */
.ast-woocommerce-container {
  overflow: visible;
}

.nhl_service_heading {
  color: #000 !important;
}