/* ==========================================================================
   header-two.css — STANDALONE header / navbar (multi-level dynamic menu)
   Self-contained: does NOT depend on header.css or header.js. Uses its own
   `site-header-two` class + id namespace and `--h2-*` custom properties so it
   can be dropped onto a page on its own without clashing with any other header.

   The only shared dependency is common.css (root `1rem = 10px`, --page-width,
   --font-family), the same foundation every section in this theme builds on.
   Fallback values are provided inline so it still renders if that's absent.
   ========================================================================== */

.site-header-two {
  --h2-bg: #ffffff;
  --h2-fg: #121212;
  --h2-muted: #6b6b6b;
  --h2-line: #ececec;
  --h2-accent: #b08d57;          /* warm gold accent */
  --h2-hover: #f5f1ec;
  --h2-shadow: 0 0.6rem 2.4rem rgba(18, 18, 18, 0.06);
  --h2-radius: 1.2rem;
  --h2-bar-h: 7.2rem;
  --h2-page-width: var(--page-width, 160rem);

  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--h2-bg);
  color: var(--h2-fg);
  font-family: var(--font-family, "Outfit", sans-serif);
  border-bottom: 1px solid var(--h2-line);
}

.site-header-two *,
.site-header-two *::before,
.site-header-two *::after { box-sizing: border-box; }

.site-header-two a { text-decoration: none; color: inherit; }
.site-header-two ul { list-style: none; margin: 0; padding: 0; }
.site-header-two .icon { width: 2.5rem; height: 2.5rem; display: block; }

/* width-constrained wrapper (self-contained; mirrors common.css .page-width) */
.site-header-two__width {
  max-width: var(--h2-page-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 750px) {
  .site-header-two__width { padding: 0 5rem; }
}

/* --------------------------------------------------------------- top bar */
.site-header-two__bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--h2-bar-h);
}

.site-header-two__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.site-header-two__logo img {
  display: block;
  width: auto;
  /* height: 4rem; */
  object-fit: contain;
}

/* search (desktop inline) */
.site-header-two__search {
  flex: 1 1 auto;
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #f5f5f4;
  border: 1px solid transparent;
  border-radius: 10rem;
  padding: 0 0.6rem 0 1.8rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header-two__search:focus-within {
  background: #fff;
  border-color: var(--h2-accent);
}
.site-header-two__search-input {
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1.5rem;
  color: var(--h2-fg);
  padding: 1.1rem 0;
  min-width: 0;
}
.site-header-two__search-input::placeholder { color: var(--h2-muted); }
.site-header-two__search-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border: 0;
  border-radius: 50%;
  background: var(--h2-accent);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.site-header-two__search-btn .icon { width: 1.9rem; height: 1.9rem; }
.site-header-two__search-btn:hover { background: #9c7a45; transform: scale(1.05); }

/* action icons */
.site-header-two__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}
.site-header-two__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  background: rgba(0, 0, 0, 0.03);
  color: var(--h2-fg);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.site-header-two__action:hover { background: #f3f1ee; }
.site-header-two__action:active { transform: scale(0.94); }

/* VAT inc/exc segmented toggle */
.site-header-two__vat {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  margin-right: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
}
.site-header-two__vat-btn {
  border: 0;
  background: transparent;
  color: var(--h2-fg);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-header-two__vat-btn.is-active {
  background: #b91c1c;
  color: #fff;
}
.site-header-two__vat-btn:not(.is-active):hover { background: #f3f1ee; }

/* slim VAT bar above the header (mobile only — see responsive section + header.php) */
.site-header-two__vatbar { display: none; }
.site-header-two__vatbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  min-height: 3.4rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.site-header-two__vatbar-label {
  font-size: 1.1rem;
  color: var(--h2-muted);
  letter-spacing: 0.02rem;
}

/* search toggle only on mobile */
.site-header-two__search-toggle { display: none; }

/* wishlist heart: outline by default, fills red once items are saved */
.site-header-two__wishlist .icon {
  fill: none;
  stroke: currentColor;
  transition: fill 0.2s ease, color 0.2s ease;
}
.site-header-two__wishlist.has-items { 
  color: #e11d48; 
  background-color: rgba(0, 0, 0, 0.05);
}
.site-header-two__wishlist.has-items .icon { fill: currentColor; }

.site-header-two__wishlist-count {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e11d48;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 10rem;
}
.site-header-two__wishlist-count[hidden] { display: none; }

/* --------------------------------------------------------------- desktop nav */
.site-header-two__nav {
  border-top: 1px solid var(--h2-line);
  background: var(--h2-bg);
}
.site-header-two__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  /* max-width: var(--h2-page-width); */
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-header-two__nav-item { position: relative; }

.site-header-two__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.4rem 1.4rem;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.02rem;
  color: var(--h2-fg);
  position: relative;
}
.site-header-two__nav-link::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 0.8rem;
  height: 2px;
  background: var(--h2-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-header-two__nav-item:hover > .site-header-two__nav-link::after,
.site-header-two__nav-item:focus-within > .site-header-two__nav-link::after { transform: scaleX(1); }

.site-header-two__caret {
  width: 1rem;
  height: 0.6rem;
  transition: transform 0.25s ease;
}
.site-header-two__nav-item:hover > .site-header-two__nav-link .site-header-two__caret,
.site-header-two__nav-item:focus-within > .site-header-two__nav-link .site-header-two__caret {
  transform: rotate(180deg);
}

/* top-level dropdown panel */
.site-header-two__dropdown {
  position: absolute;
  top: 100%;
  left: 0.8rem;
  min-width: 24rem;
  background: var(--h2-bg);
  border: 1px solid var(--h2-line);
  border-radius: var(--h2-radius);
  box-shadow: var(--h2-shadow);
  padding: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.8rem);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 50;
}
.site-header-two__nav-item:hover > .site-header-two__dropdown,
.site-header-two__nav-item:focus-within > .site-header-two__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* a submenu list (the dropdown body and every nested fly-out share this) */
.site-header-two__submenu { list-style: none; margin: 0; padding: 0; }
.site-header-two__submenu-item { position: relative; }

.site-header-two__submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  font-size: 1.6rem;
  color: var(--h2-fg);
  border-radius: 0.8rem;
  transition: background 0.16s ease, color 0.16s ease;
}
.site-header-two__submenu-link:hover,
.site-header-two__submenu-item:focus-within > .site-header-two__submenu-link {
  background: var(--h2-hover);
  color: var(--h2-accent);
}

/* parent item caret points to the side (it opens a fly-out, not a drop) */
.site-header-two__submenu-item.has-sub > .site-header-two__submenu-link .site-header-two__caret {
  transform: rotate(-90deg);
  flex: 0 0 auto;
}

/* fly-out panel: sits to the right of its parent item */
.site-header-two__flyout {
  position: absolute;
  top: -0.8rem;            /* align with parent padding */
  left: 100%;
  min-width: 22rem;
  margin-left: 0.4rem;
  background: var(--h2-bg);
  border: 1px solid var(--h2-line);
  border-radius: var(--h2-radius);
  box-shadow: var(--h2-shadow);
  padding: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(0.6rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.site-header-two__submenu-item.has-sub:hover > .site-header-two__flyout,
.site-header-two__submenu-item.has-sub:focus-within > .site-header-two__flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* flip a fly-out to the left when it would overflow the right edge (JS-toggled) */
.site-header-two__submenu-item.flip-left > .site-header-two__flyout {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 0.4rem;
  transform: translateX(-0.6rem);
}
.site-header-two__submenu-item.flip-left.has-sub:hover > .site-header-two__flyout,
.site-header-two__submenu-item.flip-left.has-sub:focus-within > .site-header-two__flyout {
  transform: translateX(0);
}

/* --------------------------------------------------------------- burger */
.site-header-two__burger {
  display: none;
  flex: 0 0 auto;
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.site-header-two__burger:hover { background: #f3f1ee; }
.site-header-two__burger-box { position: relative; width: 2.2rem; height: 1.6rem; }
.site-header-two__burger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--h2-fg);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.site-header-two__burger-line:nth-child(1) { top: 0; }
.site-header-two__burger-line:nth-child(2) { top: 7px; }
.site-header-two__burger-line:nth-child(3) { top: 14px; }
.site-header-two.is-drawer-open .site-header-two__burger-line:nth-child(1) { top: 7px; transform: rotate(45deg); }
.site-header-two.is-drawer-open .site-header-two__burger-line:nth-child(2) { opacity: 0; }
.site-header-two.is-drawer-open .site-header-two__burger-line:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* --------------------------------------------------------------- mobile search row */
.site-header-two__search-row { padding: 0 1.5rem 1.4rem; }
.site-header-two__search--mobile { max-width: none; margin: 0; }

/* --------------------------------------------------------------- drawer */
.site-header-two__overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 290;
}
.site-header-two__overlay.is-visible { opacity: 1; }

.site-header-two__drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(86vw, 38rem);
  background: var(--h2-bg);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 4rem rgba(0, 0, 0, 0.18);
}
.site-header-two__drawer.is-open { transform: translateX(0); }

.site-header-two__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--h2-line);
}
.site-header-two__drawer-title { font-size: 1.6rem; font-weight: 600; letter-spacing: 0.1rem; text-transform: uppercase; }
.site-header-two__drawer-close {
  border: 0;
  background: transparent;
  font-size: 3.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--h2-fg);
}

.site-header-two__drawer-nav { flex: 1 1 auto; overflow-y: auto; padding: 0.6rem 0; }
.site-header-two__drawer-list { list-style: none; margin: 0; padding: 0; }
.site-header-two__drawer-item { border-bottom: 1px solid var(--h2-line); }
.site-header-two__drawer-row { display: flex; align-items: stretch; }
.site-header-two__drawer-link {
  flex: 1 1 auto;
  padding: 1.6rem 2rem;
  font-size: 1.6rem;
  font-weight: 500;
}
.site-header-two__drawer-toggle {
  flex: 0 0 auto;
  width: 5.4rem;
  border: 0;
  border-left: 1px solid var(--h2-line);
  background: transparent;
  cursor: pointer;
  color: var(--h2-muted);
}
.site-header-two__drawer-toggle .site-header-two__caret { width: 1.3rem; height: 0.8rem; margin: 0 auto; transition: transform 0.25s ease; }
.site-header-two__drawer-toggle[aria-expanded="true"] .site-header-two__caret { transform: rotate(180deg); }

/* nested accordion: grid 0fr -> 1fr animates correctly at any depth */
.site-header-two__drawer-sub {
  display: grid;
  grid-template-rows: 0fr;
  background: #faf8f5;
  transition: grid-template-rows 0.3s ease;
}
.site-header-two__drawer-sub.is-open { grid-template-rows: 1fr; }
.site-header-two__drawer-sub-inner { overflow: hidden; min-height: 0; }

/* indent each deeper level so the hierarchy reads clearly */
.site-header-two__drawer-sub-inner .site-header-two__drawer-link { padding-left: 3.4rem; }
.site-header-two__drawer-sub-inner .site-header-two__drawer-sub-inner .site-header-two__drawer-link { padding-left: 4.8rem; }
.site-header-two__drawer-sub-inner .site-header-two__drawer-sub-inner .site-header-two__drawer-sub-inner .site-header-two__drawer-link { padding-left: 6.2rem; }

.site-header-two__drawer-sub-inner .site-header-two__drawer-item:last-child { border-bottom: 0; }

.site-header-two__drawer-foot { border-top: 1px solid var(--h2-line); padding: 1.8rem 2rem; }
.site-header-two__drawer-foot a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 990px) {
  .site-header-two__nav { display: none; }
  .site-header-two__bar > .site-header-two__search { display: none; } /* inline (bar) search hidden, toggle used — keep the mobile search-row form visible */
  .site-header-two__search-toggle { display: inline-flex; }
  .site-header-two__burger { display: inline-flex; }
  .site-header-two__account { display: none; }           /* moved into drawer footer */

  /* compact VAT toggle so the actions row fits on small screens */
  .site-header-two__vat { margin-right: 0.2rem; gap: 0; padding: 0.2rem; }
  .site-header-two__vat-btn { padding: 0.5rem 0.7rem; font-size: 1.1rem; }

  .site-header-two__bar {
    gap: 0.6rem;
    --h2-bar-h: 6.4rem;
  }
  .site-header-two__logo {
    margin: 0 auto;
    margin-left: 0.4rem;
  }
  .site-header-two__logo img { padding-top: 2px; padding-bottom: 2px; }
}

@media (min-width: 991px) {
  .site-header-two__search-row { display: none !important; }
  .site-header-two__overlay,
  .site-header-two__drawer { display: none; }

  /* Equal-width side regions so the inline search is centered in the viewport
     (not just within the gap between the logo and the wider actions cluster). */
  .site-header-two__logo { flex: 1 1 0; }
  .site-header-two__actions { flex: 1 1 0; justify-content: flex-end; }
}

@media (max-width: 480px) {
  .site-header-two__logo img { padding-top: 2px; padding-bottom: 2px; }
  .site-header-two__action { width: 4rem; height: 4rem; }
  .site-header-two__vat { margin-right: 0.2rem; gap: 0; padding: 0.15rem; }
  .site-header-two__vat-btn { padding: 0.45rem 0.5rem; font-size: 1rem; }
}

/* Small screens: the inline toggle would crowd the actions row, so hide it and
   show the slim VAT bar above the header instead. */
@media (max-width: 749px) {
  .site-header-two__vat--inline { display: none; }
  .site-header-two__vatbar {
    display: block;
    background: var(--h2-hover);
    border-bottom: 1px solid var(--h2-line);
  }
  .site-header-two__vat--bar { margin: 0; gap: 0; padding: 0.15rem; }
  .site-header-two__vat--bar .site-header-two__vat-btn { padding: 0.4rem 0.9rem; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header-two * { transition: none !important; animation: none !important; }
}


.site-header-two__logo-text{
  font-size: 2rem;
  font-weight: 600;
}