/* v278: align campaign artwork and make the catalog useful before JS hydration. */
.miso-banner .banner-artwork {
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, #f5f7fb 0%, #eaf0f8 100%);
}

.miso-banner .banner-artwork::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(24, 54, 92, .1);
  pointer-events: none;
}

.miso-banner .banner-product-photo {
  filter: drop-shadow(0 22px 26px rgba(16, 39, 70, .14));
}

.miso-banner .banner-new-figure,
.miso-banner .banner-launch-poster,
.miso-banner .banner-launch-bottles {
  position: relative;
  z-index: 1;
}

.catalog-load-state {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.catalog-load-wait {
  width: 100%;
}

.catalog-first-view {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.catalog-first-view article {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: end;
  min-width: 0;
  padding: 18px;
  border: 1px solid #dfe5ed;
  border-radius: 4px;
  background: #fff;
  text-align: left;
}

.catalog-first-view img {
  width: 100%;
  height: 220px;
  margin-bottom: 16px;
  object-fit: contain;
  background: #f4f6f9;
}

.catalog-first-view span {
  color: #1554d1;
  font-size: 12px;
  font-weight: 800;
}

.catalog-first-view strong {
  min-height: 48px;
  margin-top: 6px;
  color: #10243f;
  font-size: 18px;
  line-height: 1.35;
}

.catalog-first-view small {
  margin-top: 8px;
  color: #6e7b8d;
  font-size: 13px;
}

.catalog-load-wait > h3,
.catalog-load-wait > p {
  margin-left: 2px;
  text-align: left;
}

@media (max-width: 900px) {
  .catalog-first-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-first-view img {
    height: 180px;
  }
}

@media (max-width: 560px) {
  .miso-banner .banner-artwork::before {
    inset: 12px;
  }

  .catalog-first-view {
    display: flex;
    gap: 10px;
    margin-inline: -20px;
    padding: 0 20px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .catalog-first-view article {
    flex: 0 0 72vw;
    scroll-snap-align: start;
    padding: 14px;
  }

  .catalog-first-view img {
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-first-view {
    scroll-behavior: auto;
  }
}
