.lhari-shop-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.lhari-shop-menu__toggle {
  position: relative;
  width: 22px;
  min-width: 22px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  cursor: pointer;
}

.lhari-shop-menu__toggle::before,
.lhari-shop-menu__toggle::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 7px;
  height: 1px;
  background: currentColor;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}

.lhari-shop-menu__toggle::before {
  left: 5px;
  transform: rotate(42deg);
}

.lhari-shop-menu__toggle::after {
  right: 5px;
  transform: rotate(-42deg);
}

.lhari-shop-menu[data-open="true"] .lhari-shop-menu__toggle::before {
  transform: rotate(-42deg);
}

.lhari-shop-menu[data-open="true"] .lhari-shop-menu__toggle::after {
  transform: rotate(42deg);
}

.lhari-shop-menu__toggle:focus-visible,
.lhari-shop-dropdown a:focus-visible,
.lhari-shop-popup button:focus-visible,
.lhari-shop-popup input:focus-visible,
.lhari-shop-popup a:focus-visible {
  outline: 2px solid #9D6B3F;
  outline-offset: 3px;
}

.lhari-shop-dropdown {
  position: fixed;
  z-index: 160;
  width: min(278px, calc(100vw - 32px));
  max-height: var(--lhari-shop-menu-max-height, calc(100vh - 32px));
  overflow: auto;
  padding: 15px 0;
  border: 1px solid rgba(24, 33, 42, .09);
  background: rgba(255, 253, 249, .985);
  box-shadow: 0 22px 52px rgba(13, 20, 27, .15);
  color: #18212A;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transform-origin: top left;
  pointer-events: none;
  transition:
    opacity .28s ease,
    transform .42s cubic-bezier(.22, 1, .36, 1),
    visibility .28s step-end;
}

.lhari-shop-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity .24s ease,
    transform .48s cubic-bezier(.22, 1, .36, 1),
    visibility 0s step-start;
}

.lhari-shop-dropdown a,
.topbar .nav .lhari-shop-dropdown a,
.norbu-global-links .lhari-shop-dropdown a {
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 13px 28px;
  color: #18212A !important;
  text-shadow: none !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font: 650 13px/1.25 Inter, Arial, sans-serif;
  transform: none !important;
  transition: background .24s ease, padding-left .34s cubic-bezier(.22, 1, .36, 1);
}

.lhari-shop-dropdown a::after,
.topbar .nav .lhari-shop-dropdown a::after,
.norbu-global-links .lhari-shop-dropdown a::after {
  display: none !important;
}

.lhari-shop-dropdown a:hover,
.lhari-shop-dropdown a[aria-current="page"] {
  padding-left: 34px;
  background: rgba(157, 107, 63, .09);
}

.lhari-shop-popup[hidden] {
  display: none !important;
}

.lhari-shop-popup {
  position: fixed;
  z-index: 1100000;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  font-family: Inter, Arial, sans-serif;
}

.lhari-shop-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 20, .66);
  opacity: 0;
  transition: opacity .34s ease;
}

.lhari-shop-popup__panel {
  position: relative;
  width: min(528px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid rgba(24, 33, 42, .08);
  border-radius: 2px;
  background: #FFFDF9;
  box-shadow: 0 24px 90px rgba(8, 13, 19, .2);
  color: #18212A;
  opacity: 0;
  visibility: hidden;
  transform: translateY(64px);
  transition:
    opacity .32s ease,
    transform .4s cubic-bezier(.7, 0, .2, 1),
    visibility .32s step-end;
}

.lhari-shop-popup.is-active .lhari-shop-popup__backdrop {
  opacity: 1;
}

.lhari-shop-popup.is-active .lhari-shop-popup__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity .38s ease .06s,
    transform 1.4s cubic-bezier(.16, 1, .3, 1) .2s,
    visibility 0s step-start;
}

@supports (transition-timing-function: linear(0, 1)) {
  .lhari-shop-popup.is-active .lhari-shop-popup__panel {
    transition:
      opacity .38s ease .06s,
      transform 1.4s linear(0 0%, .22 2.1%, .86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, .94 24%, .89 25.9%, .88 26.85%, .87 27.8%, .87 29.25%, .88 30.7%, .91 32.4%, .98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, .99 55.4%, .98 57.5%, .99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%) .2s,
      visibility 0s step-start;
  }
}

.lhari-shop-popup__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #18212A;
  cursor: pointer;
}

.lhari-shop-popup__close span::before,
.lhari-shop-popup__close span::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 21px;
  height: 1.5px;
  background: currentColor;
  transition: transform .34s cubic-bezier(.5, -.33, .26, 1.19);
}

.lhari-shop-popup__close span::before {
  transform: rotate(45deg);
}

.lhari-shop-popup__close span::after {
  transform: rotate(-45deg);
}

.lhari-shop-popup__close:hover span::before {
  transform: rotate(135deg);
}

.lhari-shop-popup__close:hover span::after {
  transform: rotate(45deg);
}

.lhari-shop-popup__content {
  padding: 62px 48px 42px;
  text-align: center;
}

.lhari-shop-popup__kicker {
  margin: 0 0 15px;
  color: rgba(24, 33, 42, .72);
  text-transform: uppercase;
  letter-spacing: .1em;
  font: 700 12px/1.2 Inter, Arial, sans-serif;
}

.lhari-shop-popup h2 {
  margin: 0;
  color: #12171D;
  white-space: nowrap;
  font: 500 clamp(34px, 3vw, 42px)/1.02 "Cormorant Garamond", Georgia, serif;
}

.lhari-shop-popup__copy {
  max-width: 37ch;
  margin: 14px auto 28px;
  color: rgba(24, 33, 42, .66);
  font: 450 14px/1.65 Inter, Arial, sans-serif;
}

.lhari-shop-popup__form {
  display: grid;
  gap: 12px;
}

.lhari-shop-popup h2 + .lhari-shop-popup__form {
  margin-top: 38px;
}

.lhari-shop-popup__field-label {
  margin-bottom: -4px;
  color: rgba(24, 33, 42, .78);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .1em;
  font: 700 11px/1.25 Inter, Arial, sans-serif;
}

.lhari-shop-popup__form > input[type="email"] {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(24, 33, 42, .2);
  border-radius: 0;
  background: #FFFDF9;
  color: #18212A;
  box-shadow: none;
  font: 450 15px/1 Inter, Arial, sans-serif;
}

.lhari-shop-popup__form > input[type="email"]::placeholder {
  color: rgba(24, 33, 42, .64);
}

.lhari-shop-popup__form > button {
  width: 100%;
  min-height: 58px;
  border: 1px solid #101820;
  border-radius: 0;
  background: #101820;
  color: #FFFDF9;
  text-transform: uppercase;
  letter-spacing: .08em;
  font: 700 13px/1 Inter, Arial, sans-serif;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.lhari-shop-popup__form > button:hover {
  background: #9D6B3F;
  border-color: #9D6B3F;
}

.lhari-shop-popup__form > button:active {
  transform: translateY(1px);
}

.lhari-shop-popup__form > button:disabled {
  cursor: wait;
  opacity: .72;
}

.lhari-shop-popup__consent {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 9px;
  align-items: start;
  margin-top: 3px;
  color: rgba(24, 33, 42, .72);
  text-align: left;
  font: 450 11px/1.5 Inter, Arial, sans-serif;
}

.lhari-shop-popup__consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #9D6B3F;
}

.lhari-shop-popup__consent a {
  color: inherit;
  text-underline-offset: 2px;
}

.lhari-shop-popup__trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.lhari-shop-popup__notice {
  margin: 26px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(24, 33, 42, .14);
  background: rgba(157, 107, 63, .08);
  color: #18212A;
  font: 600 13px/1.5 Inter, Arial, sans-serif;
}

.lhari-shop-popup__notice.is-error {
  margin: 0 0 16px;
  border-color: rgba(137, 45, 45, .22);
  background: rgba(137, 45, 45, .07);
  color: #722D2D;
}

body.lhari-shop-popup-open {
  overflow: hidden !important;
}

body.lhari-shop-popup-open iframe[title="Chat widget"] {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .lhari-shop-popup {
    padding: 0;
  }

  .lhari-shop-popup__panel {
    width: 100%;
    max-height: min(86dvh, 690px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .lhari-shop-popup__content {
    padding: 56px 22px 26px;
  }

  .lhari-shop-popup h2 {
    white-space: normal;
    font-size: clamp(34px, 11vw, 44px);
  }

  .lhari-shop-popup__copy {
    margin-bottom: 23px;
    font-size: 13px;
  }

  .lhari-shop-dropdown {
    width: calc(100vw - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lhari-shop-menu__toggle::before,
  .lhari-shop-menu__toggle::after,
  .lhari-shop-dropdown,
  .lhari-shop-popup__backdrop,
  .lhari-shop-popup__panel,
  .lhari-shop-popup__close span::before,
  .lhari-shop-popup__close span::after {
    transition-duration: .01ms !important;
  }
}
