.product-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--product-mega-top, 104px);
  z-index: 35;
  display: flex;
  justify-content: center;
  padding: 18px 40px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42));
  border-top: 1px solid rgba(24, 33, 58, 0.06);
  border-bottom: 1px solid rgba(24, 33, 58, 0.06);
  box-shadow: 0 14px 34px rgba(24, 33, 58, 0.06);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -8px, 0);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.product-mega.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.product-mega-list {
  width: min(1480px, 100%);
  display: grid;
  grid-template-columns: repeat(6, minmax(132px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-mega-item {
  min-width: 0;
}

.product-mega-card {
  min-height: 126px;
  display: grid;
  grid-template-rows: 82px auto;
  align-items: end;
  justify-items: center;
  gap: 12px;
  padding: 4px 8px 8px;
  border-radius: 14px;
  color: #333333;
  text-align: center;
  transition:
    background 160ms ease,
    transform 160ms ease,
    color 160ms ease;
}

.product-mega-card:hover,
.product-mega-card:focus-visible {
  background: rgba(212, 227, 146, 0.28);
  color: #1f1f1f;
  transform: translate3d(0, -2px, 0);
  outline: none;
}

.product-mega-card img {
  width: 100%;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(24, 33, 58, 0.12));
}

.product-mega-card span {
  display: block;
  color: inherit;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.product-mega-trigger.is-open {
  color: #333333;
  background: rgba(212, 227, 146, 0.92);
}

@media (max-width: 980px) {
  .product-mega {
    display: none;
  }
}
