/* px_stay stay-mega — megamenu panel tiles (template tokens only) */

/* ===== style-1 · photo tiles ===== */
.px-stay-mega.style-1 .px-stay-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: var(--px-sp-6);
}
.px-stay-mega.style-1 .px-stay-mega__tile {
  position: relative;
}
.px-stay-mega.style-1 .px-stay-mega__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: var(--px-sp-4);
  background: var(--color-light);
}
.px-stay-mega.style-1 .px-stay-mega__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--px-ease);
}
.px-stay-mega.style-1 .px-stay-mega__tile:hover .px-stay-mega__media img {
  transform: scale(1.04);
}
.px-stay-mega.style-1 .px-stay-mega__tag {
  position: absolute;
  inset-block-start: var(--px-sp-3);
  inset-inline-start: var(--px-sp-3);
  padding: var(--px-sp-1) var(--px-sp-3);
  background: var(--color-primary);
  color: var(--color-dark);
  font-size: var(--px-fs-xs);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: var(--px-label-tracking);
  text-transform: uppercase;
}
.px-stay-mega.style-1 .px-stay-mega__title {
  margin: 0 0 var(--px-sp-1);
  font-family: var(--px-font-display);
  font-size: var(--px-fs-xl);
  font-weight: 500;
  line-height: 1.25;
}
.px-stay-mega.style-1 .px-stay-mega__link {
  color: var(--px-ink-strong);
  text-decoration: none;
}
.px-stay-mega.style-1 .px-stay-mega__link:hover,
.px-stay-mega.style-1 .px-stay-mega__link:focus-visible {
  color: var(--mainnav-link-hover-color);
}
.px-stay-mega.style-1 .px-stay-mega__text {
  margin: 0;
  font-size: var(--px-fs-md);
  line-height: 1.5;
  color: var(--px-muted);
}
.px-stay-mega.style-1 .px-stay-mega__foot {
  margin: var(--px-sp-6) 0 0;
  padding-top: var(--px-sp-4);
  border-top: 1px solid var(--px-border-light);
}

@media (prefers-reduced-motion: reduce) {
  .px-stay-mega.style-1 .px-stay-mega__media img {
    transition: none;
  }
}
