/* ============================================
   BOWLAND PHARMACY NAVIGATION — PREMIUM DARK
   Three-tier design: trust bar + utility bar + menu bar
   ============================================ */

:root {
  --dp-primary: #3f73ae;
  --dp-primary-dark: #2a507a;
  --dp-green: #79bc2e;
  --dp-green-dark: #65a324;
  --dp-nav-bg: #0a6dd4;
  --dp-nav-bottom-bg: #085db5;
  --dp-nav-text: rgba(255, 255, 255, 0.75);
  --dp-nav-text-hover: #ffffff;
  --dp-nav-border: rgba(255, 255, 255, 0.15);
  --dp-white: #ffffff;
  --dp-dropdown-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12);
  --dp-text: #1e293b;
  --dp-text-light: #64748b;
  --dp-border: #e5e7eb;
}

/* ── RESET ── */
.bowland-nav * {
  box-sizing: border-box;
}

/* ── MAIN WRAPPER ── */
.bowland-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* ── TRUST BAR (topmost strip, desktop only) ── */
.bowland-nav-trust-bar {
  background: linear-gradient(180deg, #0b75e0 0%, var(--dp-nav-bg) 100%);
  height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .bowland-nav-trust-bar {
    height: 38px;
  }
}

.bowland-nav-trust-bar .bowland-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 1280px) {
  .bowland-nav-trust-bar .bowland-container {
    padding: 0 3.5rem;
  }
}

.bowland-trust-items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ── TOP BAR ── */
.bowland-nav-top {
  background: linear-gradient(180deg, var(--dp-nav-bg) 0%, var(--dp-nav-bottom-bg) 100%);
  height: 112px; /* mobile default */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

/* Compact top bar at 1024–1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .bowland-nav-top {
    height: 100px;
  }
}

.bowland-nav.scrolled .bowland-nav-top {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

/* Desktop: 3-col grid — logo (natural width) | actions (fill + centred) | toggle */
.bowland-nav-top .bowland-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.bowland-nav-top .bowland-logo {
  justify-self: start;
  transform: translateY(-8px);
}

.bowland-nav-top .bowland-top-actions {
  justify-self: center;
}

.bowland-nav-top .bowland-mobile-toggle {
  justify-self: end;
}

/* Mobile: collapse to 2-col so toggle always floats right */
@media (max-width: 1023px) {
  .bowland-nav-top .bowland-container {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1280px) {
  .bowland-nav-top .bowland-container {
    padding: 0 3.5rem;
  }
}

/* ── LOGO ── */
.bowland-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.bowland-logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.22));
}

.bowland-logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.12));
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smaller logo at 1024–1279px to free up space for action buttons */
@media (min-width: 1024px) and (max-width: 1279px) {
  .bowland-logo-img {
    height: 70px;
  }
}

/* Logo text (pharmacy name beside the mark) */
.bowland-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-left: 0.625rem;
}

.bowland-logo-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.bowland-logo-sub {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 1024px) {
  .bowland-logo-name {
    font-size: 1.25rem;
  }

  .bowland-logo-sub {
    font-size: 0.875rem;
  }
}

/* ── COMPACT NAV (on scroll) ── */

/* Hide trust bar when compact */
.bowland-nav.nav-compact .bowland-nav-trust-bar {
  height: 0 !important;
}

/* Shrink top bar — mobile */
.bowland-nav.nav-compact .bowland-nav-top {
  height: 80px;
}

/* Shrink logo — mobile compact.
   56px keeps breathing room above the logo inside the 80px compact bar. */
.bowland-nav.nav-compact .bowland-logo-img {
  height: 56px;
}

/* Desktop 1024–1279px compact */
@media (min-width: 1024px) and (max-width: 1279px) {
  .bowland-nav.nav-compact .bowland-nav-top {
    height: 90px;
  }
  .bowland-nav.nav-compact .bowland-logo-img {
    height: 90px;
  }
}

/* Desktop 1280px+ compact */
@media (min-width: 1280px) {
  .bowland-nav.nav-compact .bowland-nav-top {
    height: 100px;
  }
  .bowland-nav.nav-compact .bowland-logo-img {
    height: 100px;
  }
}

/* Tighten action button padding in compact mode */
@media (min-width: 1024px) {
  .bowland-nav.nav-compact .bowland-top-link {
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
  }
  .bowland-nav.nav-compact .bowland-book-btn {
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
  }
  .bowland-nav.nav-compact .bowland-search-btn {
    padding: 0.375rem 0.75rem 0.375rem 0.625rem;
  }
}


.bowland-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.bowland-trust-item svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}

.bowland-trust-item--rating svg {
  color: #F59E0B;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.5));
}

.bowland-trust-item strong {
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

.bowland-trust-divider {
  width: 1px;
  height: 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* ── TOP ACTIONS (desktop) ── */
.bowland-top-actions {
  display: none;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .bowland-top-actions {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .bowland-top-actions {
    gap: 0.625rem;
  }
}

.bowland-top-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.22s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
}

/* Tighter buttons at 1024–1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .bowland-top-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
  }
}

.bowland-top-link svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Phone button — ghost/outline */
.bowland-top-link--phone {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-weight: 600;
}

.bowland-top-link--phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

/* NHS Nominate button — White with NHS blue text */
.bowland-top-link--nhs {
  background: #ffffff;
  border-color: #ffffff;
  color: #005EB8;
  font-weight: 700;
}

.bowland-top-link--nhs:hover {
  background: #f8fafc;
  border-color: #f8fafc;
  color: #004a93;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

/* ── BOOK BUTTON ── */
.bowland-book-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  background: var(--dp-green);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.22s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .bowland-book-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
  }
}

.bowland-book-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bowland-book-btn:hover {
  background: var(--dp-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

/* ── MOBILE TOGGLE ── */
.bowland-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bowland-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

@media (min-width: 1024px) {
  .bowland-mobile-toggle {
    display: none;
  }
}

/* ── BOTTOM NAV BAR ── */
.bowland-nav-bottom {
  background: linear-gradient(180deg, var(--dp-nav-bottom-bg) 0%, #054a91 100%);
  height: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: none;
}

@media (min-width: 1024px) {
  .bowland-nav-bottom {
    display: block;
  }
}

.bowland-nav-bottom .bowland-container {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 1280px) {
  .bowland-nav-bottom .bowland-container {
    padding: 0 3.5rem;
  }
}

/* ── DESKTOP MENU ── */
.bowland-desktop-menu {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  width: 100%;
  justify-content: center;
}

.bowland-menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.bowland-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0 1rem;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
}

/* Active underline indicator */
.bowland-menu-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 3px;
  background: var(--dp-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 2px 2px 0 0;
}

.bowland-menu-item:hover .bowland-menu-btn,
.bowland-menu-btn:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.12);
}

.bowland-menu-btn.active {
  color: #ffffff;
}

.bowland-menu-item:hover .bowland-menu-btn::after {
  transform: scaleX(1);
}

.bowland-menu-btn .arrow {
  width: 0.6875rem;
  height: 0.6875rem;
  color: currentColor;
  transition: transform 0.25s ease;
  opacity: 0.5;
  flex-shrink: 0;
}

.bowland-menu-item:hover .arrow {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Nav dropdowns use the UI font (Instrument Sans), not the editorial heading font.
   Also reset letter-spacing and line-height so global heading styles don't leak in. */
.bowland-dropdown,
.bowland-dropdown h1,
.bowland-dropdown h2,
.bowland-dropdown h3,
.bowland-dropdown h4,
.bowland-dropdown h5,
.bowland-dropdown h6,
.bowland-dropdown p,
.bowland-dropdown a,
.bowland-dropdown span {
  font-family: 'Instrument Sans', sans-serif;
  letter-spacing: normal;
  line-height: normal;
}

/* ── DROPDOWN ── */
.bowland-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 22rem;
  background: var(--dp-white);
  border-radius: 0.875rem;
  box-shadow: var(--dp-dropdown-shadow);
  border: 1px solid rgba(0, 0, 0, 0.07);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  overflow: hidden;
  z-index: 100;
}

.bowland-dropdown.wide {
  width: 44rem;
  display: flex;
  flex-direction: column;
}

.bowland-dropdown-row {
  display: flex;
  flex: 1;
}

.bowland-dropdown-col {
  flex: 1;
  padding: 0.5rem;
}

.bowland-dropdown-col.bg-gray {
  background-color: #f8fafc;
  border-left: 1px solid var(--dp-border);
}

.bowland-menu-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--dp-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1rem 1rem 0.5rem;
}

.bowland-destinations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0 0.5rem 0.5rem;
}

/* Single column below 1024px */
@media (max-width: 1023px) {
  .bowland-destinations-grid {
    grid-template-columns: 1fr;
  }
}

.bowland-destination-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dp-text);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.bowland-destination-link:hover {
  background-color: #f1f5f9;
}

.bowland-destination-flag {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.bowland-menu-item:hover .bowland-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bowland-dropdown-header {
  background: #1e293b;
  padding: 1rem 1.25rem;
}

.bowland-dropdown-header.teal {
  background: linear-gradient(135deg, var(--dp-primary) 0%, var(--dp-primary-dark) 100%);
}

.bowland-dropdown-header h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  margin: 0 0 0.2rem 0;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
}

.bowland-dropdown-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  margin: 0;
}

.bowland-dropdown-content {
  padding: 0.625rem;
}

.bowland-dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.bowland-dropdown-link:hover {
  background-color: #f1f5f9;
}

.bowland-link-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.bowland-dropdown-link:hover .bowland-link-icon {
  background: rgba(63, 115, 174, 0.1);
}

.bowland-link-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--dp-primary);
}

/* Font Awesome icon support in dropdown icon boxes */
.bowland-link-icon i {
  font-size: 1rem;
  color: var(--dp-primary);
}

.bowland-link-text h4 {
  color: var(--dp-text);
  font-weight: 700;
  font-size: 0.9375rem;
  margin: 0 0 0.125rem 0;
  transition: color 0.15s ease;
}

.bowland-dropdown-link:hover .bowland-link-text h4 {
  color: var(--dp-primary);
}

.bowland-link-text p {
  color: var(--dp-text-light);
  font-size: 0.8125rem;
  margin: 0;
  line-height: 1.45;
}

.bowland-dropdown-footer {
  background: #f8fafc;
  padding: 0.625rem 1.25rem;
  border-top: 1px solid var(--dp-border);
}

.bowland-footer-link {
  color: var(--dp-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s ease;
}

.bowland-footer-link:hover {
  gap: 0.625rem;
}

/* ── MOBILE MENU ── */
.bowland-mobile-menu {
  position: fixed;
  top: 112px; /* matches mobile top bar height */
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dp-nav-bottom-bg);
  z-index: 9998;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.bowland-mobile-menu.active {
  transform: translateX(0);
}

/* Adjust mobile menu position when nav is compact (scrolled) */
.bowland-nav.nav-compact .bowland-mobile-menu {
  top: 80px;
}

/* Mobile Nav Links */
.bowland-mobile-nav {
  flex: 1;
  padding: 0.5rem 0;
}

.bowland-mobile-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 0.01em;
}

.bowland-mobile-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  padding-left: 1.75rem;
}

/* Mobile Accordion */
.bowland-mobile-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bowland-mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.bowland-mobile-accordion-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.bowland-mobile-accordion-arrow {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.bowland-mobile-accordion.open .bowland-mobile-accordion-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.bowland-mobile-accordion.open .bowland-mobile-accordion-btn {
  color: #ffffff;
}

.bowland-mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.08);
}

.bowland-mobile-accordion.open .bowland-mobile-accordion-content {
  max-height: 700px;
}

.bowland-mobile-sub-link {
  display: block;
  padding: 0.75rem 1.5rem 0.75rem 2.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.bowland-mobile-sub-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 2.5rem;
}

.bowland-mobile-sub-divider {
  padding: 0.75rem 1.5rem 0.25rem 2.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Mobile CTAs */
.bowland-mobile-cta {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bowland-mobile-cta-phone,
.bowland-mobile-cta-nhs,
.bowland-mobile-cta-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.bowland-mobile-cta-phone {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bowland-mobile-cta-phone:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

.bowland-mobile-cta-nhs {
  background: var(--dp-primary);
  color: #ffffff;
}

.bowland-mobile-cta-nhs:hover {
  background: var(--dp-primary-dark);
  color: #ffffff;
}

.bowland-mobile-cta-book {
  background: var(--dp-green);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(121, 188, 46, 0.35);
}

.bowland-mobile-cta-book:hover {
  background: var(--dp-green-dark);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(121, 188, 46, 0.5);
}

/* ── SEARCH BUTTON ── */
.bowland-search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5625rem 1.125rem 0.5625rem 0.875rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.22s ease;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}

/* Icon-only search button at 1024–1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .bowland-search-btn {
    padding: 0.5rem;
    width: 2.25rem;
    height: 2.25rem;
    justify-content: center;
    gap: 0;
  }

  .bowland-search-btn-text {
    display: none;
  }
}

.bowland-search-btn-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.bowland-search-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

.bowland-search-btn:hover .bowland-search-btn-text {
  color: rgba(255, 255, 255, 0.65);
}

/* ── SEARCH OVERLAY ── */
.bowland-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 140px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bowland-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bowland-search-close {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  letter-spacing: 0.04em;
}

.bowland-search-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.bowland-search-inner {
  width: 100%;
  max-width: 720px;
  padding: 0 1.5rem;
}

.bowland-search-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  display: block;
  font-family: 'DM Sans', sans-serif;
}

.bowland-search-input-row {
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
  transition: border-color 0.25s ease;
}

.bowland-search-input-row:focus-within {
  border-color: var(--dp-green);
}

.bowland-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 2.25rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.2;
}

.bowland-search-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.bowland-search-submit {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.bowland-search-submit:hover {
  color: #ffffff;
}

.bowland-search-hint {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  margin-top: 1.25rem;
  font-family: 'DM Sans', sans-serif;
}

.bowland-search-hint strong {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

/* ── WORDPRESS ADMIN BAR SUPPORT ── */
body.admin-bar .bowland-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .bowland-nav {
    top: 46px;
  }
}

body.admin-bar .bowland-mobile-menu {
  top: calc(112px + 46px);
}

body.admin-bar .bowland-nav.nav-compact .bowland-mobile-menu {
  top: calc(64px + 46px);
}

@media screen and (min-width: 783px) {
  body.admin-bar .bowland-mobile-menu {
    top: calc(112px + 32px);
  }
  body.admin-bar .bowland-nav.nav-compact .bowland-mobile-menu {
    top: calc(64px + 32px);
  }
}

/* ── PATIENT PORTAL BUTTONS ── */
.bowland-portal-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.22s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.bowland-portal-btn svg {
  flex-shrink: 0;
}

.bowland-portal-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .bowland-portal-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}

.bowland-mobile-cta-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bowland-mobile-cta-portal:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

/* ── Private Services mega-menu (2-column) ─────────────────────────── */
/* Private Services sits near the right edge — anchor the wide panel right
   so the panel doesn't overflow off-screen. */
.bowland-ps-menu .bowland-dropdown.wide {
  left: auto;
  right: 0;
}

/* Compact "Vaccinations" column (name only) — tighter rows */
.bowland-dropdown-link--compact {
  align-items: center;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.bowland-dropdown-link--compact .bowland-link-icon {
  width: 1.65rem;
  height: 1.65rem;
}
.bowland-dropdown-link--compact .bowland-link-icon i {
  font-size: 0.7rem;
}

/* Mobile accordion: subheading before the vaccinations list
   (aligned with sub-links, light text for contrast on the drawer) */
.bowland-mobile-sub-heading {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  padding: 1rem 1.5rem 0.35rem 2.25rem;
}
