/* announcement */
.announce {
  background: var(--maroon);
  color: var(--cream-soft);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6875rem;
}

/* header — three equal columns (left · brand · right) so the brand sits at the
   true horizontal centre regardless of how wide the side groups are. */
.hdr {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.5rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.hdr__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1.625rem;
}
.hdr__col--left {
  justify-content: flex-start;
}
.hdr__col--right {
  justify-content: flex-end;
}
.hdr__brand {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: "Marcellus", serif;
  font-size: 1.875rem;
  letter-spacing: 0.06em;
  color: var(--maroon-deep);
}
.hdr__logo {
  height: 3.5rem;
  width: auto;
  flex: 0 0 auto;
}

.hdr__nav {
  display: flex;
  gap: 2.125rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hdr__nav a {
  color: var(--ink-muted);
}
/* Plain top-level links (e.g. Our Story) belong to the mobile hamburger menu;
   on desktop the left bar shows only the Shop dropdown. The right nav is the
   mirror image — visible on desktop, hidden on mobile. */
.hdr__nav--left > a {
  display: none;
}
.hdr__nav--right {
  gap: 1.625rem;
}
.hdr__burger {
  display: none;
}

/* expandable nav groups (Mens / Women / Accessories) — desktop: hover dropdown */
.navgroup {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.navgroup__head {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.navgroup__head::after {
  content: "+";
  font-family: "Jost", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
}
/* transparent bridge so the pointer can travel into the dropdown */
.navgroup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1rem;
}
.navgroup__menu {
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 11.875rem;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(51, 42, 32, 0.13);
  padding: 0.5rem 0;
  z-index: 60;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
}
.navgroup__menu a {
  padding: 0.625rem 1.25rem;
  color: var(--ink-muted);
  white-space: nowrap;
}
.navgroup__menu a:hover {
  color: var(--maroon);
  background: color-mix(in srgb, var(--gold) 9%, transparent);
}
/* Shop dropdown: "All products" link, then one entry per primary category.
   Primaries with subcategories open their own nested dropdown. */
.navgroup__all {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.25rem;
}
.navgroup__primary {
  font-family: "Marcellus", serif;
  font-size: 0.875rem;
  color: var(--ink-heading);
}

/* nested primary → subcategory dropdown (desktop: flyout to the side) */
.subnav {
  position: relative;
}
.subnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding: 0.625rem 1.25rem;
  font-family: "Marcellus", serif;
  font-size: 0.875rem;
  color: var(--ink-heading);
  cursor: pointer;
  white-space: nowrap;
}
.subnav__head::after {
  content: "\203A"; /* › */
  font-family: "Jost", sans-serif;
  font-size: 0.9375rem;
  line-height: 1;
  color: var(--gold);
}
.subnav__menu {
  display: none;
  position: absolute;
  top: -0.5625rem;
  left: 100%;
  min-width: 11.25rem;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(51, 42, 32, 0.13);
  padding: 0.5rem 0;
  z-index: 61;
}
.subnav:hover > .subnav__menu,
.subnav__toggle:checked ~ .subnav__menu {
  display: flex;
}
.subnav:hover > .subnav__head,
.subnav__toggle:checked ~ .subnav__head {
  color: var(--maroon);
  background: color-mix(in srgb, var(--gold) 9%, transparent);
}
.subnav:hover > .subnav__head::after,
.subnav__toggle:checked ~ .subnav__head::after {
  color: var(--maroon);
}
.navgroup:hover > .navgroup__menu,
.navgroup__toggle:checked ~ .navgroup__menu {
  display: flex;
}
.navgroup:hover > .navgroup__head::after,
.navgroup__toggle:checked ~ .navgroup__head::after {
  content: "\2013";
  color: var(--maroon);
}
.icon {
  width: 1.375rem;
  height: 1.375rem;
  display: block;
}

/* right-column action icons (search, cart) */
.hdr__icon {
  display: inline-flex;
  align-items: center;
  color: var(--ink-muted);
  cursor: pointer;
}
.hdr__icon:hover {
  color: var(--maroon);
}
.hdr__cart-icon {
  position: relative;
}
.hdr__cart-count.is-empty {
  display: none;
}
.hdr__cart-count {
  position: absolute;
  top: -0.4375rem;
  right: -0.5625rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 62.4375rem;
  background: var(--maroon);
  color: var(--cream-soft);
  font-family: "Jost", sans-serif;
  font-size: 0.625rem;
  line-height: 1rem;
  text-align: center;
  letter-spacing: 0;
}

/* search: the icon sits inside an inline field that expands in place when the
   icon is clicked, pushing the right-column links (e.g. "Our Story") leftwards
   to make room. Collapsed, only the icon shows. Submits to core WP search. */
.hdr__search {
  display: inline-flex;
  align-items: center;
}
.hdr__search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 62.4375rem;
  padding: 0.375rem;
  transition: border-color 0.25s ease, background 0.25s ease, padding 0.25s ease;
}
.hdr__search-btn {
  flex: none;
}
.hdr__search-field {
  width: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-family: "Jost", sans-serif;
  font-size: 0.875rem;
  color: var(--ink-heading);
  transition: width 0.28s ease;
}
.hdr__search-field::placeholder {
  color: var(--ink-faint);
}
.hdr__search-field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
/* open state */
.hdr__search-toggle:checked ~ .hdr__search-form {
  border-color: var(--line-gold);
  background: var(--cream);
  padding: 0.375rem 0.875rem;
}
.hdr__search-toggle:checked ~ .hdr__search-form .hdr__search-btn {
  color: var(--maroon);
}
.hdr__search-toggle:checked ~ .hdr__search-form .hdr__search-field {
  width: 11.875rem;
}

/* WooCommerce Mini-Cart block: strip its default button chrome so it reads as
   one of the header's icon buttons. The block owns its own slide-out drawer. */
.hdr__minicart {
  display: inline-flex;
  align-items: center;
}
.hdr__minicart .wc-block-mini-cart__button {
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink-muted);
  cursor: pointer;
}
.hdr__minicart .wc-block-mini-cart__button:hover {
  color: var(--maroon);
}
.hdr__minicart .wc-block-mini-cart__icon {
  width: 1.375rem;
  height: 1.375rem;
}
.hdr__minicart .wc-block-mini-cart__amount {
  display: none; /* hasHiddenPrice already hides it; belt-and-braces */
}

/* mobile-only header extras — hidden on desktop */
.msearch,
.mcats,
.appbar,
.nav-backdrop,
.hdr__nav-head {
  display: none;
}

