@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
}

.sh {
  position: relative;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.sh-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sh-top {
  border-bottom: 1px solid #e5e7eb;
  background: #f8faf8;
}

.sh-row-top {
  min-height: 2.5rem;
  justify-content: space-between;
}

.sh-note {
  margin: 0;
  color: #4b5563;
  font-size: 0.875rem;
}

.sh-top-links .menu,
.sh-tools ul,
.sh-nav .menu,
.sh-shops ul,
.sh-mnav .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-top-links .menu,
.sh-tools ul,
.sh-nav .menu,
.sh-shops ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sh-menu-gap, 0.65rem);
}

.sh a {
  text-decoration: none;
}

.sh .menu li {
  position: relative;
}

.sh .menu .sub-menu {
  margin: 0;
  padding: 0.45rem;
  list-style: none;
}

.sh-main {
  border-bottom: 1px solid #e5e7eb;
}

.sh-row-main {
  min-height: 4.25rem;
}

.sh-logo {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
}

.sh-logo a {
  display: inline-flex;
  align-items: center;
  color: #111;
}

.sh-logo img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 54px;
  height: auto;
}

.sh-search {
  flex: 1;
  min-width: 14rem;
}

.sh-tools {
  margin-left: auto;
}

.sh-tools a {
  color: #1f2937;
}

.sh-tool-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  color: #1f2937 !important;
  border: 1px solid #d8e0da;
  background: #fff;
}

.sh-tool-link::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.sh-tool-account::before {
  -webkit-mask-image: url("./icons/account.svg");
  mask-image: url("./icons/account.svg");
}

.sh-tool-wishlist::before {
  -webkit-mask-image: url("./icons/heart.svg");
  mask-image: url("./icons/heart.svg");
}

.sh-tool-cart::before {
  -webkit-mask-image: url("./icons/cart.svg");
  mask-image: url("./icons/cart.svg");
}

.sh-tools .count {
  position: absolute;
  top: -4px;
  right: -4px;
}

.sh-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid #cfd7d1;
  background: #fff !important;
  border-radius: 0.55rem;
  padding: 0.5rem;
  color: #111 !important;
}

.sh-toggle-icon {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 14px;
}

.sh-toggle-icon::before,
.sh-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.sh-toggle-icon::before {
  top: 0;
  box-shadow: 0 6px 0 currentColor;
}

.sh-toggle-icon::after {
  top: 12px;
}

.sh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sh-nav-wrap {
  background: #2e4f20;
  color: #fff;
}

.sh-row-nav {
  min-height: var(--sh-nav-row-h, 50px);
  justify-content: space-between;
}

.sh-row-nav-no-main {
  justify-content: flex-end;
}

.sh-nav {
  min-width: 0;
}

.sh-nav-full {
  width: 100%;
}

.sh-nav a,
.sh-shops a {
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
}

.sh-nav a:hover,
.sh-shops a:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (min-width: 1025px) {
  .sh-row-nav {
    flex-wrap: nowrap;
  }

  .sh-shops {
    margin-left: auto;
  }

  .sh-shops .menu,
  .sh-shops ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
  }

  .sh-shops .menu > li,
  .sh-shops ul > li {
    flex: 0 0 auto;
  }

  .sh-shops .menu > li > a,
  .sh-shops ul > li > a {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    font-weight: 500;
    line-height: 1.2;
  }

  .sh-shops .menu > li > a:hover,
  .sh-shops ul > li > a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
  }
}

.sh-nav .menu > li > .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.25rem);
  min-width: 13rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 80;
}

.sh-nav .menu > li.sh-open > .sub-menu,
.sh-nav .menu > li:focus-within > .sub-menu {
  display: block;
}

.sh-nav .sub-menu a {
  color: #111;
  min-height: 40px;
  width: 100%;
  padding: 0.45rem 0.55rem;
}

.sh-sub-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 0.4rem;
  margin-left: 0.15rem;
}

.sh-sub-toggle::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.sh-sub-toggle[aria-expanded="true"]::before {
  transform: rotate(-135deg) translateY(-1px);
}

.sh-mask,
.sh-drawer {
  display: none;
}

@media (max-width: 1024px) {
  .sh-top,
  .sh-nav-wrap,
  .sh-tools {
    display: none;
  }

  .sh-toggle {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-right: 0.35rem;
    order: 0;
  }

  .sh-logo {
    order: 1;
  }

  .sh-search {
    order: 3;
  }

  .sh-row-main {
    min-height: 4rem;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .sh-search {
    flex: 1 1 100%;
    min-width: 0;
    margin-bottom: 0.7rem;
  }

  .sh-mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 998;
  }

  .sh-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: var(--sh-drawer-width, min(94vw, 24rem));
    height: 100vh;
    z-index: 999;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    padding: 1rem;
    overflow-y: auto;
  }

  .sh-drawer[hidden],
  .sh-mask[hidden] {
    display: none !important;
  }

  body.sh-open {
    overflow: hidden;
  }

  .sh-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }

  .sh-close {
    min-height: 44px;
    min-width: 44px;
    border: 1px solid #cfd7d1;
    border-radius: 0.55rem;
    background: #fff;
  }

  .sh-search-mobile {
    margin-bottom: 0.7rem;
  }

  .sh-sec {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e5e7eb;
  }

  .sh-sec h2 {
    margin: 0 0 0.4rem;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .sh-mnav .menu {
    display: grid;
    gap: 0.25rem;
  }

  .sh-mobile-tools .sh-tool-link {
    width: 100%;
    height: auto;
    min-height: 44px;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.45rem;
  }

  .sh-mobile-tools .sh-tool-link::before {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .sh-mobile-tools .sh-tool-link span {
    color: #111;
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .sh-mobile-tools .sh-tool-link .count {
    position: static;
    margin-left: auto;
  }

  .sh-mnav .menu .sub-menu {
    display: none;
    padding: 0.2rem 0 0.2rem 0.8rem;
    border-left: 2px solid #e5e7eb;
    margin: 0.1rem 0 0.2rem;
  }

  .sh-mnav .menu > li.sh-open > .sub-menu {
    display: grid;
    gap: 0.2rem;
  }

  .sh-mnav .menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.6rem;
    border-radius: 0.45rem;
    color: #111;
  }

  .sh-mnav .menu a:hover,
  .sh-mnav .menu a:focus-visible {
    background: #f3f4f6;
  }

  .sh-mnav .menu > li.menu-item-has-children > a {
    width: calc(100% - 2.5rem);
    display: inline-flex;
  }

  .sh-mnav .menu > li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .sh-mnav .menu > li.menu-item-has-children > .sh-sub-toggle {
    margin-left: auto;
  }

  .sh.sh-no-drawer .sh-toggle {
    display: none;
  }

  .sh.sh-no-drawer .sh-nav-wrap {
    display: block;
    background: #fff;
    color: #111;
    border-top: 1px solid #e5e7eb;
  }

  .sh.sh-no-drawer .sh-row-nav {
    min-height: 0;
    padding: 0.35rem 0;
  }

  .sh.sh-no-drawer .sh-nav .menu {
    display: grid;
    gap: 0.2rem;
  }

  .sh.sh-no-drawer .sh-nav a {
    color: #111;
    width: 100%;
    border-radius: 0.45rem;
  }

  .sh.sh-no-drawer .sh-nav a:hover,
  .sh.sh-no-drawer .sh-nav a:focus-visible {
    background: #f3f4f6;
  }

  .sh.sh-no-drawer .sh-shops {
    display: none;
  }

  .sh.sh-no-drawer .sh-row-nav-no-main .sh-shops {
    display: block;
  }
}
