:root {
  --header-height: 88px;
}
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-height);
  padding: 10px 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  box-shadow: 0 5px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  transition:
    box-shadow 0.25s ease,
    padding 0.25s ease;
}
.navbar.scrolled {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.navbar-brand img {
  width: 159px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.navbar-nav {
  align-items: center;
}
.nav-link {
  position: relative;
  color: #334155 !important;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.015em;
  margin: 0 8px;
  padding: 12px 3px !important;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-link::after {
  position: absolute;
  right: 3px;
  bottom: 5px;
  left: 3px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: #f58a16;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #c96c0d !important;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.navbar-toggler {
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: none !important;
  color: #152f57;
}
.nav-actions {
  gap: 12px;
}
.navbar-search-wrap {
  position: relative;
  width: min(210px, 16vw);
}
.navbar-search {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.navbar-search:focus-within {
  border-color: #f58a16;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 138, 22, 0.14);
}
.navbar-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 9px 2px 9px 12px;
  background: transparent;
  color: #1f2937;
  font-size: 0.82rem;
}
.navbar-search button {
  border: 0;
  background: transparent;
  color: #64748b;
  padding: 9px 12px;
  cursor: pointer;
}
.navbar-search button:hover {
  color: #c96c0d;
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 1040;
  max-height: 330px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}
.search-suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  color: #1f2937;
  text-decoration: none;
}
.search-suggestion:hover,
.search-suggestion:focus {
  background: #fff4d6;
  color: #1f2937;
}
.search-suggestion img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}
.search-suggestion small {
  display: block;
  color: #64748b;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.cart-link:hover,
.cart-link.active {
  color: #c96c0d;
}
.nav-inquiry {
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #f58a16;
  color: #202124;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.nav-inquiry:hover {
  background: #c96c0d;
  color: #fff;
  transform: translateY(-1px);
}
.dropdown-menu {
  min-width: 205px;
  margin-top: 10px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
  padding: 8px;
}
.dropdown-item {
  border-radius: 8px;
  padding: 9px 12px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 650;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: #fff1e4;
  color: #a95508;
}
.dropdown-item.active,
.dropdown-item:active {
  background: #152f57;
  color: #fff;
}
.dropdown-divider {
  margin: 6px 4px;
  border-color: #e9eef4;
}
body {
  padding-top: var(--header-height);
}
@media (max-width: 1399.98px) {
  .navbar-collapse {
    padding: 14px 0 4px;
  }
  .nav-link {
    margin: 2px 0;
    padding: 9px 0 !important;
  }
  .nav-link::after {
    right: auto;
    bottom: 3px;
    width: 34px;
  }
  .nav-actions {
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 14px 0 6px;
  }
  .navbar-search-wrap {
    width: min(100%, 340px);
  }
  .dropdown-menu {
    box-shadow: none;
    margin-left: 8px;
  }
}
@media (max-width: 575.98px) {
  :root {
    --header-height: 76px;
  }
  .navbar-brand img {
    width: 125px;
    height: 48px;
  }
  .navbar-search-wrap {
    width: 100%;
  }
}
