/* ===== PupGrass-style header ===== */
.pg-header {
  width: 100%;
}

/* Top area */
.pg-top {
  background: #f6f8f2; /* warm off-white */
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pg-top__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Left: Logo */
.pg-top__left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.pg-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.pg-logo img {
  display: block;
  max-height: 62px;   /* tweak to match screenshot */
  width: auto;
}

.pg-logo__fallback {
  font-weight: 800;
  font-size: 24px;
  color: #7aa13a;
}

/* Center: big text */
.pg-top__center {
  flex: 1 1 auto;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: clamp(22px, 2.4vw, 38px);
  color: #7aa13a;
  white-space: nowrap;
}

/* Right: badges + cart */
.pg-top__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pg-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg-badge {
	max-height: 55px;
  height: 100% !important;       /* tweak */
  width: auto;
  display: block;
  opacity: 0.95;
}

.pg-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  text-decoration: none;
  color: #2f3b1f;
}

.pg-cart:hover {
  background: rgba(122, 161, 58, 0.10);
}

.pg-cart__icon svg {
  display: block;
  fill: currentColor;
}

.pg-cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #7aa13a;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  font-weight: 800;
  text-align: center;
}

/* Menu strip */
.pg-nav {
  background: #e9eee0; /* subtle green tint */
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pg-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 18px;
}

.pg-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.pg-menu > li {
  margin: 0;
  padding: 0;
  position: relative;
}

.pg-menu a {
  text-decoration: none;
  color: #506434;
  font-weight: 600;
  font-size: 14px;
}

.pg-menu a:hover {
  color: #2f3b1f;
}

/* Dropdown (depth 2) */
.pg-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 10px;
  list-style: none;
  margin: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 50;
}

.pg-menu li:hover > .sub-menu {
  display: block;
}

.pg-menu .sub-menu li {
  margin: 0;
}

.pg-menu .sub-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  color: #506434;
}

.pg-menu .sub-menu a:hover {
  background: rgba(122, 161, 58, 0.10);
}

/* Responsive: stack a bit tighter */
@media (max-width: 860px) {
  .pg-top__inner {
    flex-wrap: wrap;
  }
  .pg-top__center {
    order: 3;
    width: 100%;
    text-align: left;
  }
}

/* ===== Mobile nav ===== */
.pg-nav__mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Hamburger */
.pg-burger {
  appearance: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pg-burger:hover {
  background: rgba(122, 161, 58, 0.10);
}

.pg-burger__lines {
  width: 22px;
  height: 2px;
  background: #506434;
  position: relative;
  display: inline-block;
  border-radius: 2px;
}

.pg-burger__lines::before,
.pg-burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #506434;
  border-radius: 2px;
}

.pg-burger__lines::before { top: -7px; }
.pg-burger__lines::after  { top: 7px; }

.pg-cart--mobile {
  width: 44px;
  height: 44px;
}

/* Drawer */
.pg-mobile {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.pg-mobile__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,0.35);
  cursor: pointer;
}

.pg-mobile__panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: min(88vw, 360px);
  height: 100%;
  background: #ffffff;
  padding: 14px;
  box-shadow: 20px 0 60px rgba(0,0,0,0.18);
  transform: translateX(-100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
}

html.pg-menu-open .pg-mobile__panel {
  transform: translateX(0);
}

.pg-mobile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 12px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 10px;
}

.pg-mobile__title {
  font-weight: 800;
  color: #2f3b1f;
}

.pg-mobile__close {
  appearance: none;
  border: 0;
  background: rgba(122, 161, 58, 0.10);
  color: #2f3b1f;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Mobile menu list */
.pg-menu-mobile {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pg-menu-mobile a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #506434;
  font-weight: 700;
  background: rgba(122, 161, 58, 0.06);
}

.pg-menu-mobile .sub-menu {
  list-style: none;
  margin: 6px 0 0 0;
  padding: 0 0 0 10px;
  display: none;
  position: static;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pg-menu-mobile li.is-open > .sub-menu {
  display: block;
}

.pg-menu-mobile .sub-menu a {
  background: rgba(0,0,0,0.04);
  font-weight: 600;
}

/* Breakpoint behavior */
@media (max-width: 860px) {
  /* Hide desktop menu strip items */
  .pg-menu { display: none; }

  /* Show mobile bar */
  .pg-nav__mobile { display: flex; }

  /* Top layout tweaks (optional) */
  .pg-badges { display: none; } /* badges usually hidden on mobile */
  .pg-top__center { font-size: 22px; }
}