/* Header brand lockup: logo mark | ARROW APOTHECARY wordmark (matches storefront sign). */
.site-header .logo,
.hd .logo {
  display: flex !important;
  align-items: center !important;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.site-header .logo-image,
.hd .logo-image {
  height: 72px !important;
  width: auto !important;
  max-width: 160px !important;
}

/* Thin vertical rule between the mark and the wordmark, as on the sign */
.logo-divider {
  display: block;
  flex: 0 0 auto;
  width: 2px;
  height: 46px;
  border-radius: 2px;
  background: #223a68;
  opacity: 0.85;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 auto;
  font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 0.95;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.logo-wordmark .lw-arrow { color: var(--red, #e8232f); }
.logo-wordmark .lw-apothecary { color: #223a68; margin-top: 3px; }

.logo:hover .logo-wordmark { transform: translateX(2px); }

/* Keep nav labels and the CTA on one line now that the brand lockup is wider */
.site-header .nav a,
.hd .nav a,
.site-header .bar > .btn,
.hd .bar > .btn { white-space: nowrap !important; }

.site-header .bar > .btn,
.hd .bar > .btn { flex: 0 0 auto; }

/* Desktop widths where nav + button + lockup share one row */
@media (min-width: 961px) and (max-width: 1200px) {
  .site-header .logo,
  .hd .logo { gap: 11px; }

  .site-header .logo-image,
  .hd .logo-image { height: 62px !important; max-width: 140px !important; }

  .logo-divider { height: 40px; }
  .logo-wordmark { font-size: 18px; }

  .site-header .bar,
  .hd .bar { gap: 18px !important; }

  .site-header .nav,
  .hd .nav { gap: clamp(14px, 1.7vw, 24px) !important; font-size: 0.88rem !important; }

  .site-header .bar > .btn,
  .hd .bar > .btn { padding: 11px 16px !important; font-size: 0.86rem !important; gap: 8px !important; }
}

/* Small laptops / landscape tablets: tighten further so nothing wraps */
@media (min-width: 961px) and (max-width: 1100px) {
  .site-header .logo,
  .hd .logo { gap: 9px; }

  .site-header .logo-image,
  .hd .logo-image { height: 54px !important; max-width: 120px !important; }

  .logo-divider { height: 34px; }
  .logo-wordmark { font-size: 15.5px; }

  .site-header .bar,
  .hd .bar { gap: 14px !important; padding-left: 18px !important; padding-right: 18px !important; }

  .site-header .nav,
  .hd .nav { gap: clamp(10px, 1.25vw, 16px) !important; font-size: 0.84rem !important; }

  .site-header .bar > .btn,
  .hd .bar > .btn { padding: 10px 14px !important; font-size: 0.82rem !important; }

  .site-header .bar > .btn svg,
  .hd .bar > .btn svg { display: none !important; }
}

/* Tablet: burger menu, roomy row */
@media (max-width: 960px) {
  .site-header .logo-image,
  .hd .logo-image { height: 58px !important; max-width: 132px !important; }

  .logo-divider { height: 40px; }
  .logo-wordmark { font-size: 19px; }
}

@media (max-width: 600px) {
  .site-header .logo,
  .hd .logo { gap: 10px; }

  .site-header .logo-image,
  .hd .logo-image { height: 54px !important; max-width: 124px !important; }

  .logo-divider { height: 36px; }
  .logo-wordmark { font-size: 16px; }
  .logo-wordmark .lw-apothecary { margin-top: 2px; }
}

@media (max-width: 360px) {
  .site-header .logo,
  .hd .logo { gap: 8px; }

  .site-header .logo-image,
  .hd .logo-image { height: 46px !important; max-width: 100px !important; }

  .logo-divider { height: 30px; width: 1.5px; }
  .logo-wordmark { font-size: 13.5px; }
}
