/* Shared site header — layout locked so page CSS cannot reshape it */
header.site {
  background: #ffffff;
  border-bottom: 1px solid #e4e2db;
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap.nav {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}
header.site .logo {
  flex: 0 0 auto;
  line-height: 0;
  min-width: 0;
}
header.site nav.primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-left: 28px;
}
header.site nav.primary a {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #3a4749;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  box-shadow: none;
}
header.site nav.primary a:hover {
  color: #0f1a1c;
}
header.site nav.primary a.active {
  color: #0f1a1c;
  box-shadow: inset 0 -2px 0 0 #0b6e6e;
}
header.site .nav-mobile-actions {
  display: none;
}
header.site .nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto;
}
header.site .nav-right .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  box-sizing: border-box;
}
header.site .nav-right .btn-primary {
  background: #0b6e6e;
  color: #fff;
  border-color: #0b6e6e;
}
header.site .nav-right .btn-primary:hover {
  background: #064b4b;
  border-color: #064b4b;
}
header.site .nav-right .btn-ghost {
  color: #0f1a1c;
  border-color: #d4d1c8;
  background: #ffffff;
}
header.site .nav-right .btn-ghost:hover {
  background: #f4f3ee;
  border-color: #6b7678;
}
header.site .pd-nav-cart {
  width: 48px;
  min-width: 48px;
  height: 44px;
  padding: 0;
  position: relative;
}
header.site .pd-nav-cart svg {
  width: 24px;
  height: 24px;
}
header.site .pd-nav-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #b8791c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
header.site .pd-nav-cart-badge:empty,
header.site .pd-nav-cart-badge[data-count="0"] {
  display: none;
}

header.site .nav-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d4d1c8;
  border-radius: 4px;
  background: #fff;
  color: #0f1a1c;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
header.site .nav-menu-toggle:hover {
  background: #f4f3ee;
  border-color: #6b7678;
}
header.site .nav-menu-toggle__bars,
header.site .nav-menu-toggle__bars::before,
header.site .nav-menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
header.site .nav-menu-toggle__bars {
  position: relative;
}
header.site .nav-menu-toggle__bars::before,
header.site .nav-menu-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
}
header.site .nav-menu-toggle__bars::before { top: -6px; }
header.site .nav-menu-toggle__bars::after { top: 6px; }
header.site.is-nav-open .nav-menu-toggle__bars {
  background: transparent;
}
header.site.is-nav-open .nav-menu-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}
header.site.is-nav-open .nav-menu-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  header.site .wrap.nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
    row-gap: 0;
  }
  header.site .nav-menu-toggle {
    display: inline-flex;
  }
  header.site .nav-desktop-only {
    display: none !important;
  }
  header.site nav.primary {
    display: none;
    width: 100%;
    order: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 12px 0 0;
    padding: 8px 0 4px;
    border-top: 1px solid #e4e2db;
  }
  header.site.is-nav-open nav.primary {
    display: flex;
  }
  header.site nav.primary > a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid #f0eee8;
    box-shadow: none;
  }
  header.site nav.primary > a.active {
    color: #0b6e6e;
    box-shadow: none;
    font-weight: 600;
  }
  header.site .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0 8px;
  }
  header.site .nav-mobile-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 4px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    text-decoration: none;
    box-sizing: border-box;
  }
  header.site .nav-mobile-actions .btn-primary {
    background: #0b6e6e;
    color: #fff;
    border-color: #0b6e6e;
  }
  header.site .nav-mobile-actions .btn-ghost {
    color: #0f1a1c;
    border-color: #d4d1c8;
    background: #ffffff;
  }
  header.site .nav-right {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  header.site .wrap.nav {
    padding-left: 16px;
    padding-right: 16px;
  }
  header.site .pd-nav-cart {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
}
