.au-header-widget,
.au-header-widget * {
  box-sizing: border-box;
}

.au-header-widget {
  --au-green: #083f2d;
  --au-green-deep: #043524;
  --au-gold: #d7a31d;
  --au-white: #ffffff;
  --au-soft: #f6f7f5;
  --au-border: rgba(0, 0, 0, 0.08);
  --au-shadow: 0 12px 35px rgba(5, 42, 31, 0.10);
  width: 100%;
  position: relative;
  z-index: 50;
  font-family: Inter, Arial, sans-serif;
}

.au-header-widget.is-sticky {
  position: sticky;
  top: 0;
}

.au-header-shell {
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--au-shadow);
}

.au-header-topbar {
  min-height: 58px;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: #fff;
  background: var(--au-green);
}

.au-header-topbar a,
.au-header-topbar span {
  text-decoration: none;
}

.au-topbar-left,
.au-topbar-centre,
.au-topbar-right,
.au-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.au-topbar-centre {
  justify-content: center;
}

.au-topbar-right {
  justify-content: flex-end;
}

.au-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
  color: inherit;
}

.au-topbar-left .au-topbar-item + .au-topbar-item,
.au-topbar-centre .au-topbar-item + .au-topbar-item,
.au-topbar-right .au-address-item {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.au-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--au-gold);
  font-weight: 700;
  flex: 0 0 auto;
}

.au-icon svg,
.au-social-link svg {
  width: 1em;
  height: 1em;
  display: block;
}

.au-socials {
  gap: 14px;
}

.au-social-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.au-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.au-header-mainbar {
  min-height: 118px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  background: #fff;
  border: 1px solid var(--au-border);
  border-top: 0;
}

.au-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 190px;
  color: inherit;
}

.au-header-logo-img {
  width: 140px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.au-header-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  min-width: 94px;
  height: 72px;
  color: var(--au-green);
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.au-header-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.au-header-brand-title {
  color: var(--au-green);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 700;
  white-space: nowrap;
}

.au-header-brand-tagline {
  color: #505a56;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;
}

.au-header-nav-wrap {
  justify-self: center;
  min-width: 0;
}

.au-header-nav,
.au-header-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.au-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.au-header-nav > li {
  position: relative;
  margin: 0;
}

.au-header-nav a,
.au-header-mobile-nav a {
  color: var(--au-green);
  text-decoration: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}

.au-header-nav > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 0;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.au-header-nav > li > a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--au-gold);
  transition: width 0.2s ease;
}

.au-header-nav > li > a:hover:after,
.au-header-nav > li.is-active > a:after,
.au-header-nav > li.current-menu-item > a:after {
  width: 100%;
}

.au-dropdown-caret {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  margin-top: -2px;
}

.au-header-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 99;
  min-width: 210px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--au-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(5, 42, 31, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
}

.au-header-nav li:hover > .sub-menu,
.au-header-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.au-header-nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
}

.au-header-nav .sub-menu a:hover {
  background: rgba(8, 63, 45, 0.06);
}

.au-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.au-header-cta {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 52px;
  border-radius: 6px;
  text-decoration: none;
  background: var(--au-green);
  color: #fff;
  box-shadow: 0 7px 15px rgba(8, 63, 45, 0.16);
}

.au-header-cta-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.au-header-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  background: var(--au-gold);
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.au-header-wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--au-border);
  border-radius: 8px;
  color: var(--au-green);
  background: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.au-header-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--au-gold);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.au-menu-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.au-menu-lines span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 20px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.au-header-widget.is-open .au-menu-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.au-header-widget.is-open .au-menu-lines span:nth-child(2) {
  opacity: 0;
}

.au-header-widget.is-open .au-menu-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.au-header-mobile-panel {
  display: none;
  border: 1px solid var(--au-border);
  border-top: 0;
  background: #fff;
  padding: 8px 24px 24px;
}

.au-header-mobile-nav > li {
  border-bottom: 1px solid var(--au-border);
}

.au-header-mobile-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 16px;
}

.au-header-mobile-nav .sub-menu {
  position: static;
  list-style: none;
  padding: 0 0 12px 14px;
  margin: 0;
  box-shadow: none;
  border: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
}

.au-header-mobile-nav .sub-menu a {
  display: block;
  padding: 8px 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  color: rgba(8, 63, 45, 0.78);
}

@media (max-width: 1180px) {
  .au-header-topbar {
    padding: 0 20px;
    gap: 12px;
  }

  .au-topbar-item {
    font-size: 12px;
  }

  .au-address-item {
    display: none;
  }

  .au-header-mainbar {
    gap: 22px;
  }

  .au-header-brand {
    min-width: 140px;
  }

  .au-header-brand-copy {
    display: none;
  }

  .au-header-nav {
    gap: 26px;
  }

  .au-header-nav > li:nth-child(n+4) {
    display: none;
  }

  .au-header-mobile-toggle {
    display: inline-flex;
  }

  .au-menu-label {
    display: none;
  }

  .au-header-widget.is-open .au-header-mobile-panel {
    display: block;
  }
}

@media (max-width: 767px) {
  .au-header-shell {
    box-shadow: 0 8px 22px rgba(5, 42, 31, 0.10);
  }

  .au-header-topbar {
    min-height: 48px;
    padding: 0 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .au-topbar-left,
  .au-topbar-centre,
  .au-topbar-right {
    gap: 10px;
  }

  .au-email-item,
  .au-topbar-right,
  .au-topbar-centre .au-badge-item:nth-child(n+2) {
    display: none;
  }

  .au-topbar-left .au-topbar-item + .au-topbar-item,
  .au-topbar-centre .au-topbar-item + .au-topbar-item {
    padding-left: 0;
    border-left: 0;
  }

  .au-header-mainbar {
    min-height: 98px;
    padding: 16px 14px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .au-header-nav-wrap {
    display: none;
  }

  .au-header-brand {
    min-width: 86px;
    gap: 8px;
  }

  .au-header-logo-img {
    width: 86px;
    max-height: 64px;
  }

  .au-header-logo-placeholder {
    width: 78px;
    min-width: 78px;
    height: 58px;
    font-size: 34px;
  }

  .au-header-brand-copy {
    display: none;
  }

  .au-header-actions {
    gap: 10px;
  }

  .au-header-cta {
    min-height: 48px;
  }

  .au-header-cta-text {
    padding: 0 18px;
  }

  .au-header-cta-arrow {
    display: none;
  }

  .au-header-wishlist {
    display: none;
  }

  .au-header-mobile-toggle {
    min-width: 48px;
    min-height: 48px;
    padding: 0 12px;
  }

  .au-header-mobile-panel {
    padding: 4px 16px 18px;
  }

  .au-header-widget.is-open .au-header-mobile-panel {
    display: block;
  }
}

@media (max-width: 430px) {
  .au-topbar-item {
    font-size: 11px;
  }

  .au-icon {
    width: 16px;
    height: 16px;
  }

  .au-header-mainbar {
    gap: 8px;
  }

  .au-header-logo-img {
    width: 74px;
  }

  .au-header-cta-text {
    padding: 0 14px;
    font-size: 14px;
  }

  .au-header-mobile-toggle {
    min-width: 46px;
    width: 46px;
  }
}
