:root {
  --bc-header-bg: #fafafa;
  --bc-header-text: inherit;
  --bc-header-height: 104px;
  --bc-header-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.bc-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bc-header-bg);
  color: var(--bc-header-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  transition: box-shadow 200ms ease;
}

.bc-header.is-scrolled {
  box-shadow: var(--bc-header-shadow);
}

.bc-header__inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--bc-header-height);
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 24px;
}

.bc-header__left,
.bc-header__center,
.bc-header__right {
  display: flex;
  align-items: center;
}

.bc-header__left {
  flex: 0 0 auto;
}

.bc-header__center {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.bc-header__right {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 14px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 96px;
  width: auto;
  max-height: calc(var(--bc-header-height) - 8px);
  max-width: 100%;
  display: block;
}

.bc-nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.bc-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.bc-nav .bc-nav__menu > li > a {
  display: inline-block;
  text-decoration: none;
  background: transparent;
  color: #111111;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  font-size: 15px;
  padding: 8px 2px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.bc-nav .bc-nav__menu > li > a:hover,
.bc-nav .bc-nav__menu > li > a:focus-visible {
  color: #bfa14a;
  background: transparent;
  text-decoration: none;
}

/* Dropdown support for nested WordPress menus */
.bc-nav .bc-nav__menu > li {
  position: relative;
}

.bc-nav .bc-nav__menu li > .sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  margin-top: 0;
  inset-inline-start: 0;
  z-index: 1000;

  min-width: 180px;
  margin: 0;
  padding: 10px 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  list-style: none;
  direction: rtl;
  text-align: start;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 180ms ease, visibility 0s linear 260ms;
}

.bc-nav .bc-nav__menu li.menu-item-has-children:hover > .sub-menu,
.bc-nav .bc-nav__menu li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 160ms ease, visibility 0s;
}

.bc-nav .bc-nav__menu .sub-menu {
  gap: 0;
  align-items: stretch;
  flex-wrap: nowrap;
}

.bc-nav .bc-nav__menu .sub-menu li {
  width: 100%;
}

.bc-nav .bc-nav__menu .sub-menu a {
  display: block;
  padding: 10px 18px;
  border-radius: 10px;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}

.bc-nav .bc-nav__menu .sub-menu a:hover,
.bc-nav .bc-nav__menu .sub-menu a:focus-visible {
  background: #f7f7f7;
  color: #111111;
}

.bc-search {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
}

.bc-search__btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.bc-search__btn svg {
  width: 18px;
  height: 18px;
}

.bc-search__input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  background: transparent;
  color: inherit;
  outline: none;
  transform: translateX(12px);
  transition:
    width 260ms ease,
    opacity 200ms ease,
    transform 260ms ease,
    padding 260ms ease;
}

.bc-search__input::selection {
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
}

.bc-search__input::-moz-selection {
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
}

.bc-search__clear {
  position: absolute;
  top: 50%;
  inset-inline-end: 0;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.bc-search__clear:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

.bc-search:not(:focus-within):not(:hover) .bc-search__clear {
  display: none;
}

.bc-search:hover .bc-search__input,
.bc-search:focus-within .bc-search__input {
  width: 190px;
  opacity: 1;
  padding: 6px 2px;
  transform: translateX(0);
}

.bc-search.has-value:hover .bc-search__input,
.bc-search.has-value:focus-within .bc-search__input {
  padding-inline-end: 30px;
}

.bc-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1100;

  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.bc-search-suggestions[hidden] {
  display: none;
}

.bc-search-suggestions .search-group-label {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.7;
  background: #ffffff;
}

.bc-search-suggestions .search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  min-height: 48px;
}

.bc-search-suggestions .search-item--category,
.bc-search-suggestions .search-item--suggestion {
  padding-inline-start: 12px;
}

.bc-search-suggestions .search-item:hover,
.bc-search-suggestions .search-item:focus-visible {
  background: #f7f7f7;
  color: #111111;
}

.bc-search-suggestions .search-item.is-active {
  background: #f7f7f7;
  color: #111111;
}

.bc-search-suggestions img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.bc-search-suggestions .search-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bc-search-suggestions .title {
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-search-suggestions .price {
  font-size: 13px;
  line-height: 1.2;
}

.bc-search-suggestions .category {
  font-size: 12px;
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-search__mark {
  background: rgba(191, 161, 74, 0.25);
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

.bc-search-suggestions .search-view-all {
  justify-content: center;
}

.bc-search-suggestions .search-view-all .view-all {
  font-weight: 600;
}

@media (max-width: 48em) {
  .bc-search-suggestions .search-item {
    padding: 14px 14px;
    min-height: 56px;
  }

  .bc-search-suggestions {
    max-height: 70vh;
  }
}

.bc-search-suggestions .search-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 44px;
}

.bc-search-suggestions .search-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bc-search-suggestions .title {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc-search-suggestions .price {
  font-size: 13px;
  opacity: 0.85;
}

.lang-switch {
  width: 44px;
  height: 28px;
}

@media (max-width: 860px) {
  .bc-header__center {
    justify-content: flex-start;
    overflow: auto;
  }

  .bc-nav {
    justify-content: flex-start;
  }

  /* Mobile: keep submenu usable inside the scroll container */
  .bc-nav .bc-nav__menu li > .sub-menu {
    position: static;
    top: auto;
    inset-inline-start: auto;
    min-width: 0;
    padding: 6px 0 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .bc-nav .bc-nav__menu li.menu-item-has-children:hover > .sub-menu,
  .bc-nav .bc-nav__menu li.menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }
}
