/* Products hover menu ------------------------------------------------------ */

.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-drop__chev {
  width: 11px;
  height: 11px;
  transition: transform 0.25s var(--ease);
}

.nav-drop.is-open .nav-drop__chev {
  transform: rotate(180deg);
}

.products-mega {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 130;
  width: 100%;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-2);
  box-shadow: 0 30px 70px rgba(10, 11, 12, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), visibility 0.18s var(--ease);
}

.nav-drop.is-open .products-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.products-mega__inner {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 0;
  width: 100%;
  min-height: 430px;
}

.products-mega__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px 24px var(--gutter);
  border-right: 1px solid var(--line);
}

.products-mega__eyebrow {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.products-mega__item {
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-rows: auto auto;
  gap: 0 8px;
  padding: 12px 10px;
  border-radius: 7px;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.products-mega__item > span {
  grid-row: 1 / span 2;
  padding-top: 4px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.products-mega__item strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.products-mega__item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.products-mega__item:hover {
  background: var(--paper-2);
}

.products-mega__item.is-active,
.products-mega__item.is-active:hover {
  background: var(--ink);
  color: var(--paper);
}

.products-mega__item.is-active small {
  color: rgba(255, 255, 255, 0.6);
}

.products-mega__item.is-active > span {
  color: var(--orange);
}

.products-mega__stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(rgba(10, 11, 12, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(10, 11, 12, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(145deg, #ffffff 0%, #f4f5f2 55%, #e9ece7 100%);
}

.products-mega__ghost {
  position: absolute;
  top: 6px;
  right: 32px;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(110px, 12vw, 168px);
  font-stretch: 120%;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(10, 11, 12, 0.11);
  pointer-events: none;
}

.products-mega__panes {
  position: absolute;
  inset: 0;
}

.products-mega__pane {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), visibility 0.22s;
}

.products-mega__pane.is-active {
  opacity: 1;
  visibility: visible;
}

.products-mega__pane img {
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
}

.products-mega__meta {
  position: absolute;
  left: 32px;
  bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.products-mega__meta strong {
  font-family: var(--font-display);
  font-size: 38px;
  font-stretch: 115%;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.products-mega__meta small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.products-mega__pane--soon {
  background: #fff1ea;
}

.products-mega__soon-word {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(120px, 15vw, 210px);
  font-stretch: 118%;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  -webkit-text-stroke: 2px var(--orange);
}

.products-mega__pane--soon .products-mega__meta small {
  color: var(--orange-deep);
}

@media (max-width: 1080px) {
  .nav-drop {
    display: none;
  }

  .products-mega {
    display: none;
  }
}
