.fc-header,
.fc-mobile-nav,
.fc-header *,
.fc-mobile-nav * {
  box-sizing: border-box;
}

.fc-header {
  position: sticky;
  top: 0;
  z-index: 390;
  background: #fff;
  color: #232323;
  box-shadow: 0 10px 18px -14px #23232357;
  font-family: Modam, Ray, Arial, sans-serif;
}
.admin-bar .fc-header { top: 32px; }
.fc-header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  margin-left: var(--fc-header-left-gutter, max(20px, calc((100% - 1280px) / 2)));
  margin-right: max(90px, calc((100% - 1281px) / 2));
}
body:is(.home, .page-id-161) { --fc-header-left-gutter: max(80px, calc((100% - 1280px) / 2)); }
body:is(.page-id-128, .page-id-752) { --fc-header-left-gutter: max(5.555556%, calc((100% - 1280px) / 2)); }
body.woocommerce-shop { --fc-header-left-gutter: max(20px, calc((100% - 1280px) / 2)); }
.fc-header__logo {
  display: block;
  flex: 0 0 120px;
  color: #9b1611;
}
.fc-header__logo img {
  display: block;
  width: 120px;
  height: 64px;
  object-fit: contain;
}
.fc-header__nav {
  flex: 1;
  min-width: 0;
}
.fc-header__nav-list,
.fc-mobile-nav__links,
.fc-header__nav-list ul,
.fc-mobile-nav__links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.55vw, 38px);
}
.fc-header__nav-list li {
  position: relative;
}
.fc-header__nav-list li a {
  display: block;
  padding-block: 4px;
  color: #232323;
  white-space: nowrap;
  text-decoration: none;
  font-size: 16px;
  line-height: 26px;
}
.fc-header__nav-list .sub-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  display: none;
  min-width: 150px;
  padding: 7px 12px;
  border: 1px solid #ece9e6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px #23232321;
}
.fc-header__nav-list li:is(:focus-within, :hover) > .sub-menu { display: block; }
.fc-header__nav-list .sub-menu .sub-menu { inset-block-start: 0; inset-inline-start: 100%; }
.fc-header__nav-list li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current-menu-parent) > a,
.fc-header__nav-list a:is(:hover, :focus-visible) {
  color: #9b1611;
}
.fc-header__nav-list li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current-menu-parent) > a { font-weight: 600; }

.fc-header__tools {
  display: flex;
  flex: 0 1 clamp(342px, calc(100vw - 900px), 420px);
  min-width: 342px;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.fc-header__tool,
.fc-header__menu,
.fc-product-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.fc-header__tool {
  position: relative;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  border: 1px solid #dedddc;
  border-radius: 16px;
  background: #fff;
  color: #9b1611;
}
.fc-header__cart { order: 1; }
.fc-header__account { order: 2; }
.fc-header__tool:hover { border-color: #b98f88; }
.fc-header__action-icon {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}
.fc-header__tool > .fc-header__action-icon { width: 24px; height: 24px; }
.fc-header__cart [data-fc-cart-count] {
  position: absolute;
  right: -2px;
  bottom: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 17px;
  padding-inline: 3px;
  border: 1.5px solid #dedddc;
  border-radius: 7px;
  background: #9b1611;
  color: #fff;
  font: 400 11px/1 Modam, Arial, sans-serif;
}
.fc-header__menu { display: none; }
.fc-header :is(a, button, input):focus-visible,
.fc-mobile-nav :is(a, button, input):focus-visible {
  outline: 2px solid #9b1611;
  outline-offset: 2px;
}

.fc-product-search {
  position: relative;
  width: 220px;
}
.fc-product-search form {
  position: relative;
  margin: 0;
}
.fc-product-search input[type="search"] {
  display: block;
  width: 100%;
  height: 45px;
  min-height: 0;
  margin: 0;
  padding: 0 14px 0 46px;
  border: 1px solid #dedddc;
  border-radius: 16px;
  background: #fff;
  color: #232323;
  font: 400 14px/1.5 Ray, Modam, Arial, sans-serif;
}
.fc-product-search input[type="search"]::placeholder {
  color: #786f69;
  opacity: 1;
}
.fc-product-search__submit {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 35px;
  min-height: 0;
  height: 35px;
  border: 0;
  border-radius: 14px;
  background: #9b16113d;
}
.fc-product-search__submit:hover,
.fc-product-search__submit:focus { background: #9b161146; }
.fc-product-search__results {
  position: absolute;
  z-index: 10;
  top: calc(100% + 13px);
  left: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: min(420px, 55vh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid #ece9e6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px #23232324;
}
.fc-product-search__results[hidden] { display: none; }
.fc-product-search__results p {
  margin: 0;
  padding: 8px;
  color: #50433f;
  font-size: 13px;
}
.fc-product-search__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 10px;
  color: #232323;
  font-size: 13px;
  text-decoration: none;
}
.fc-product-search__item:hover {
  background: #faf3ef;
  color: #9b1611;
}
.fc-product-search__item:focus-visible { outline-offset: -2px !important; }
.fc-product-search__item img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f5f2f0;
  object-fit: contain;
}
.fc-product-search__price {
  display: block;
  color: #742624;
  font-size: 12px;
}
.fc-product-search__all {
  display: block;
  margin-top: 4px;
  padding: 8px;
  border-top: 1px solid #eee6e2;
  color: #9b1611;
  font-size: 13px;
  text-decoration: underline;
}

.fc-mobile-nav:not([open]) { display: none; }
.fc-mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, calc(100vw - 24px));
  max-width: 100vw;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 1px solid #e7d7cf;
  border-radius: 24px 0 0 24px;
  background: #faf6f3;
  box-shadow: -12px 0 42px #32151224;
  color: #292321;
  font-family: Modam, Ray, Arial, sans-serif;
}
.fc-mobile-nav[open] { display: flex; flex-direction: column; }
.fc-mobile-nav::backdrop { background: #23232364; }
html:has(.fc-mobile-nav[open]) { overflow: hidden; }
.fc-mobile-nav__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 116px;
  padding: 17px 20px;
  border-bottom: 1px solid #ead7cf;
  background: linear-gradient(115deg, #fff, #f6e7df);
}
.fc-mobile-nav__head img { width: 116px; height: 64px; }
.fc-mobile-nav__tagline { color: #755c50; font: 400 11px/1.8 Ray, Modam, sans-serif; }
.fc-mobile-nav svg { display: block; width: 20px; height: 20px; }
.fc-mobile-nav__close {
  display: flex;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  min-height: 0;
  padding: 0;
  border: 1px solid #e5c9bd;
  border-radius: 50%;
  background: #fff8f4;
  color: #9b1611;
  cursor: pointer;
}
.fc-mobile-nav__close:hover,
.fc-mobile-nav__close:focus { background: #f6e6de; color: #9b1611; }
.fc-mobile-nav .fc-product-search {
  flex: none;
  z-index: 2;
  width: auto;
  margin: 18px 18px 12px;
}
.fc-mobile-nav .fc-product-search__results {
  width: 100%;
  max-height: min(320px, 45vh);
}
.fc-mobile-nav__scroll {
  flex: 1;
  min-height: 0;
  padding: 4px 18px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.fc-mobile-nav__links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-bottom: 9px;
  padding: 9px 12px;
  border: 1px solid #ece0d9;
  border-radius: 15px;
  background: #fff;
  color: #332924;
  text-decoration: none;
  font: 600 14px/1.7 Modam, Ray, Arial, sans-serif;
}
.fc-mobile-nav__links li > ul { padding-inline-start: 14px; }
.fc-mobile-nav__links > li > a::after {
  content: "←";
  margin-inline-start: auto;
  color: #805c50;
  font: 400 17px/1 Arial, sans-serif;
}
.fc-mobile-nav__links li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current-menu-parent) > a,
.fc-mobile-nav__links a:hover {
  border-color: #e5c1b4;
  background: #f6e6de;
  color: #9b1611;
}
.fc-mobile-nav__link-icon {
  display: flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 1px solid #f0dfd7;
  border-radius: 10px;
  background: #fcf5f0;
  color: #9b1611;
}
.fc-mobile-nav__links li:is(.current-menu-item, .current_page_item) > a .fc-mobile-nav__link-icon {
  border-color: #9b1611;
  background: #9b1611;
  color: #fff;
}
.fc-mobile-nav__foot {
  flex: none;
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid #e7d7ce;
  background: #fff;
}
.fc-mobile-nav__foot p {
  margin: 0 0 11px;
  color: #755c50;
  text-align: center;
  font-size: 11px;
}
.fc-mobile-nav__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.fc-mobile-nav__buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  padding: 8px 5px;
  border: 1px solid #9b1611;
  border-radius: 12px;
  color: #9b1611;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.fc-mobile-nav__buttons a:first-child { background: #9b1611; color: #fff; }
.fc-mobile-nav__buttons svg { flex: 0 0 17px; width: 17px; height: 17px; }

@media (max-width: 1024px) {
  .fc-header__inner {
    height: 63px;
    justify-content: space-between;
    margin-inline: 31px;
  }
  .fc-header__logo { flex-basis: 110px; }
  .fc-header__logo img { width: 110px; height: 56px; }
  .fc-header__nav,
  .fc-header__tools > .fc-product-search { display: none; }
  .fc-header__tools { flex: 0 0 auto; min-width: 0; gap: 16px; }
  .fc-header__tool {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-color: #232323;
  }
  .fc-header__tool > .fc-header__action-icon { width: 21px; height: 21px; }
  .fc-header__cart [data-fc-cart-count] {
    top: -5px;
    right: -5px;
    bottom: auto;
    min-width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 20px;
    font-size: 9px;
  }
  .fc-header__menu {
    order: 3;
    display: inline-flex;
    width: 25px;
    height: 40px;
    min-height: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
  }
  .fc-header__menu:hover,
  .fc-header__menu:focus { background: transparent; }
}
@media (max-width: 782px) {
  .admin-bar .fc-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .fc-header { top: 0; }
}
@media (max-width: 350px) {
  .fc-header__inner { margin-inline: 20px; }
}
