/* The original site styles own the main sections. These additions cover the mini program. */
.platform .hero .hero-lead {
  max-width: 32em;
}
.platform .hero-copy .quiet-link {
  margin-top: 16px;
}
.brand-availability,
.product-section .section-note {
  color: #51666b;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 18px;
}
.product-picker {
  display: none;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 60px);
}
.product-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.product-item[hidden] {
  display: none;
}
.product-item figure {
  order: -1;
  margin: 0 0 20px;
  width: 100%;
  padding: 24px;
  background: #ecf2f0;
  border-radius: 12px;
}
.kd-screen {
  display: block;
  width: min(100%, 214px);
  margin: auto;
  position: relative;
  overflow: hidden;
  aspect-ratio: 828 / 1560;
  border-radius: 13px;
}
.kd-screen img {
  position: absolute;
  width: 108.696%;
  max-width: none;
  height: auto;
  left: -4.348%;
  top: -2.308%;
}
.product-item h3 {
  font-size: 21px;
}
.product-item p,
.merchant-cap-intro {
  color: #405a61;
  font-size: 16px;
  line-height: 1.8;
}
.product-item p {
  margin-top: 8px;
}
.merchant-cap-intro {
  margin: 0 0 22px;
}
.platform #cooperate,
.platform #guides,
.platform #faq {
  padding-block: clamp(48px, 6vw, 88px);
}
@media (max-width: 760px) {
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .product-picker.is-enhanced {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }
  .product-picker button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #adc5c6;
    border-radius: 6px;
    color: #24555f;
    background: white;
    font: inherit;
    cursor: pointer;
  }
  .product-picker button[aria-selected="true"] {
    color: white;
    background: #226a7b;
    border-color: #226a7b;
  }
  .kd-screen {
    width: min(100%, 240px);
  }
}
.platform .hero-copy .quiet-link,
.platform .hero .brand-availability {
  color: #fff;
}

button.kd-screen {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.screen-preview {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  width: min(100vw, calc(100dvh * 828 / 1560), 828px);
  max-width: none;
  max-height: none;
}
.screen-preview::backdrop {
  background: #111;
}
.screen-preview .kd-screen {
  width: 100%;
  border-radius: 2.5% / 1.33%;
}
.preview-close {
  position: fixed;
  top: max(8px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: #20272be6;
  font: 26px/1 sans-serif;
  cursor: pointer;
}
