/* Injigan header / navbar */
/* ==========================================
   02. TOP ANNOUNCEMENT BAR
========================================== */

.topbar {
  background: var(--green);
  color: #ffffff;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-align: center;
  text-transform: uppercase;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-message {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-message > span {
  color: var(--gold);
}

.topbar-secondary {
  color: #e7d8b4;
  font-size: 10px;
  letter-spacing: 1.1px;
}


/* ==========================================
   03. PREMIUM NAVBAR
========================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  height: auto;
  min-height: 100px;

  background: rgba(252, 250, 245, 0.98);

  border-bottom: 1px solid rgba(20, 65, 46, 0.10);

  box-shadow:
    0 4px 22px rgba(20, 65, 46, 0.06);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* WordPress admin bar */

body.admin-bar .nav {
  top: 32px;
}

/* Main navigation container */

.nav-inner {
  position: relative;

  min-height: 100px;

  display: grid;

  grid-template-columns:
    minmax(205px, 245px)
    minmax(0, 1fr)
    auto;

  align-items: center;
  column-gap: clamp(22px, 3vw, 48px);

  padding-top: 10px;
  padding-bottom: 10px;
}


/* ==========================================
   04. LOGO
========================================== */

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  width: fit-content;
  max-width: 100%;
  min-width: 0;
}

.nav-brand-link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  line-height: 1;
}

.logo,
.custom-logo {
  display: block;

  width: 215px;
  max-width: 100%;
  height: auto;
  max-height: 80px;

  object-fit: contain;
  object-position: left center;
}


/* ==========================================
   05. DESKTOP NAVIGATION MENU
========================================== */

.nav-links {
  position: static;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;

  padding: 0;
  margin: 0;

  background: transparent;
  border: none;
  box-shadow: none;
}

/* WordPress wp_nav_menu */

.nav-links > ul,
.nav-links .menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;

  gap: clamp(24px, 2.6vw, 44px);

  padding: 0;
  margin: 0;

  list-style: none;
}

.nav-links li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Navigation links */

.nav-links a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 9px 0;

  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;

  letter-spacing: -0.2px;

  color: var(--ink);
  background: transparent;

  text-decoration: none;
  white-space: nowrap;

  transition: color 0.25s ease;
}

/* Elegant gold hover underline */

.nav-links a::after {
  content: "";

  position: absolute;
  bottom: 4px;
  left: 0;

  width: 0;
  height: 2px;

  background: var(--gold);

  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* Active navigation */

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a {
  color: var(--green);
}

.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after {
  width: 100%;
}


/* ==========================================
   06. RIGHT SIDE NAVBAR ACTIONS
========================================== */

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 20px;

  min-width: max-content;
}

/* Shop Collection CTA */

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 52px;
  min-width: 190px;

  padding: 14px 22px;

  background: var(--green);
  color: #ffffff;

  border: 1px solid var(--green);
  border-radius: 6px;

  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;

  letter-spacing: 0;

  white-space: nowrap;

  box-shadow:
    0 6px 16px rgba(20, 65, 46, 0.12);

  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-contact > span {
  display: inline-block;

  color: var(--gold);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;

  transition: transform 0.25s ease;
}

.nav-contact:hover {
  background: var(--green-dark);
  color: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 9px 24px rgba(20, 65, 46, 0.20);
}

.nav-contact:hover > span {
  transform: translate(2px, -2px);
}


/* ==========================================
   07. WOOCOMMERCE CART ICON
========================================== */

.nav-cart {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 48px;

  color: var(--green);

  transition: color 0.2s ease;
}

.nav-cart:hover {
  color: #986a20;
}

.nav-cart svg {
  display: block;
  width: 24px;
  height: 24px;
}

.nav-cart-count {
  position: absolute;
  top: 0;
  right: -4px;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 19px;
  height: 19px;
  padding: 2px 4px;

  background: var(--gold);
  color: var(--green-dark);

  border-radius: 50%;

  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}


/* ==========================================
   08. MOBILE MENU BUTTON
========================================== */

.menu-btn {
  display: none;

  align-items: center;
  justify-content: center;
  gap: 9px;

  min-width: 46px;
  min-height: 46px;

  padding: 9px 12px;

  background: transparent;
  color: var(--green);

  border: 1px solid rgba(20, 65, 46, 0.24);
  border-radius: 6px;

  font-size: 14px;
  font-weight: 700;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.menu-btn:hover {
  background: var(--cream);
  border-color: var(--green);
}

.menu-btn svg {
  width: 24px;
  height: 24px;
}
