/* ============================================================
   CUSTOM — Wingz Canada overrides for Template TF
   Loaded last so it wins over theme.css and style.css.
   ============================================================ */

/* ---------- Header: Locations dropdown (desktop) ---------- */
.nav-drop {
  position: relative;
  display: inline-block;
}
.nav-drop > a .caret {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.7em;
  margin-left: 0.2em;
}
.nav-drop__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 14px;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 18%, transparent);
  padding: 0.5rem;
  min-width: 240px;
  max-height: 70vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop:hover > a .caret,
.nav-drop:focus-within > a .caret {
  transform: rotate(180deg);
}
.nav-drop__menu a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-drop__menu a:hover {
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
}

/* Mobile nav panel: hide the flyout, "Locations" links to locations.html */
@media (max-width: 1023px) {
  .nav-drop__menu {
    display: none;
  }
}

/* ---------- Value-card icon tiles ----------
   style.css gives .v-ico a --brand-2 background; in the Wingz theme
   that's near-black, so the icon must not inherit the dark text color. */
.value-card .v-ico {
  color: #fff;
}

/* ---------- Location pages: keep fixed-width map iframes inside the
   viewport on mobile (legacy markup uses width="600" attributes) ---------- */
.explore__image iframe,
.explore__container iframe {
  width: 100%;
  max-width: 100%;
}

/* ---------- Footer: province summary rows (in Our Locations column) ---------- */
.foot-loc-summary a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.foot-loc-summary a:hover {
  color: var(--brand-3);
}
.foot-loc-summary .count {
  display: inline-grid;
  place-items: center;
  min-width: 1.5em;
  height: 1.5em;
  padding: 0 0.3em;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78em;
  font-weight: 600;
}
