/*
 * MIGNO TOKYO 16.0
 * Curated first-view assets + product-detail-first navigation.
 * No newly generated artwork is introduced in this release.
 */

/* --------------------------------------------------------------------------
 * First view: restore the previously approved supporting artwork.
 * The user-provided phone remains a single, self-contained image.
 * ----------------------------------------------------------------------- */
.trend-hero-v16,
.trend-hero-v16 .trend-hero-grid {
  min-height: 800px;
}

.trend-hero-v16 .trend-hero-grid {
  grid-template-columns: minmax(560px, 1.08fr) minmax(390px, .92fr);
  gap: clamp(30px, 4vw, 66px);
  padding-top: 108px;
  padding-bottom: 28px;
}

.trend-hero-v16 .trend-hero-copy {
  max-width: 700px;
}

.trend-hero-v16 .trend-hero-visual-v10 {
  position: relative;
  min-height: 660px;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 72px;
  isolation: isolate;
}

.trend-hero-v16 .hero-phone-art-link {
  position: relative;
  z-index: 6;
  inset: auto;
  width: auto;
  max-width: 100%;
  height: clamp(585px, 43vw, 680px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: none;
  filter: drop-shadow(0 28px 38px rgba(54, 39, 70, .18));
}

.trend-hero-v16 .hero-phone-art-link:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 34px 44px rgba(54, 39, 70, .22));
}

.trend-hero-v16 .hero-phone-art-link picture,
.trend-hero-v16 .hero-phone-art {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.hero-v16-decoration {
  position: absolute;
  z-index: 4;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 15px 24px rgba(76, 52, 101, .14));
}

.hero-v16-heart {
  left: 0;
  top: 148px;
  width: 84px;
  opacity: .72;
}

.hero-v16-hash {
  left: 8%;
  bottom: 94px;
  width: 62px;
  opacity: .64;
}

.hero-v16-arrow {
  right: -4px;
  bottom: 112px;
  width: 84px;
  opacity: .62;
}

.trend-hero-v16 .hero-v6-sparkles-a {
  right: 2%;
  top: 7%;
  width: 300px;
  opacity: .12;
}

.trend-hero-v16 .hero-v6-sparkles-b {
  left: 30%;
  bottom: -28%;
  width: 340px;
  display: block;
  opacity: .08;
}

/* --------------------------------------------------------------------------
 * Ranking badge system.
 * 1-3 use dedicated artwork. 4+ use one blank badge with live HTML text.
 * ----------------------------------------------------------------------- */
.product-rank-art-generic {
  top: 10px;
  left: 8px;
  width: 64px;
  height: 44px;
}

.product-rank-art-generic > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-rank-overlay,
.compact-rank-overlay {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: #fff;
  text-shadow: 0 1px 5px rgba(64, 38, 103, .26);
  font-family: var(--migno-font-body, sans-serif);
  line-height: 1;
  white-space: nowrap;
}

.product-rank-overlay b {
  font-size: 15px;
  font-weight: 800;
}

.product-rank-overlay small {
  font-size: 8px;
  font-weight: 700;
}

.compact-ranking > a {
  grid-template-columns: 36px 50px minmax(0, 1fr) auto 14px;
}

.compact-rank-art-generic {
  position: relative;
  width: 34px;
  height: 25px;
}

.compact-rank-art-generic > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compact-rank-overlay b {
  font-size: 9px;
  font-weight: 800;
}

.compact-rank-overlay small {
  font-size: 5px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
 * Product list navigation: cards lead to the MIGNO TOKYO detail page.
 * Amazon remains the primary purchase action only on the detail page.
 * ----------------------------------------------------------------------- */
.product-card-v16 .product-card-body {
  position: relative;
}

.product-card-v16 .product-image-link,
.product-card-v16 h3 a {
  cursor: pointer;
}

.product-detail-links {
  margin-top: auto;
  padding-top: 14px;
}

.product-detail-button {
  min-height: 42px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(143, 98, 226, .18);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(120deg, #f45c98 0%, #956dff 58%, #67b8ff 100%);
  box-shadow: 0 11px 24px rgba(115, 78, 190, .15);
  font-size: 10px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.product-detail-button svg {
  width: 15px;
  height: 15px;
}

.product-detail-button:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow: 0 15px 30px rgba(115, 78, 190, .21);
}

.product-card-v16 .product-reason {
  min-height: 0;
}

.voice-product {
  cursor: pointer;
}

/* Product-detail purchase block remains visually dominant. */
.single-cpulse_product .amazon-button-primary {
  min-height: 54px;
  box-shadow: 0 15px 30px rgba(27, 25, 41, .14);
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .trend-hero-v16 .trend-hero-grid {
    grid-template-columns: minmax(510px, 1.08fr) minmax(350px, .92fr);
    gap: 28px;
  }

  .trend-hero-v16 .hero-phone-art-link {
    height: clamp(555px, 47vw, 635px);
  }

  .hero-v16-heart {
    left: -4px;
    width: 74px;
  }

  .hero-v16-hash {
    left: 4%;
    width: 55px;
  }

  .hero-v16-arrow {
    width: 73px;
  }
}

@media (max-width: 1100px) {
  .trend-hero-v16,
  .trend-hero-v16 .trend-hero-grid {
    min-height: 610px;
  }

  .trend-hero-v16 .trend-hero-grid {
    grid-template-columns: 1fr;
    padding-top: 116px;
    padding-bottom: 52px;
  }

  .trend-hero-v16 .trend-hero-visual-v10,
  .trend-hero-v16 .hero-v16-decoration {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .trend-hero-v16,
  .trend-hero-v16 .trend-hero-grid {
    min-height: 548px;
  }

  .trend-hero-v16 .trend-hero-grid {
    padding-top: 100px;
    padding-bottom: 36px;
  }

  .product-rank-art-generic {
    top: 6px;
    left: 4px;
    width: 52px;
    height: 36px;
  }

  .product-rank-overlay b {
    font-size: 12px;
  }

  .product-rank-overlay small {
    font-size: 6px;
  }

  .product-detail-button {
    min-height: 38px;
    border-radius: 10px;
    padding-inline: 10px;
    font-size: 8.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trend-hero-v16 .hero-phone-art-link,
  .product-detail-button {
    transition: none;
  }
}
