.detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
@media (max-width: 680px) {
  .detail-benefits article {
    min-width: 0;
    padding-left: 48px;
  }
  .detail-benefits p {
    overflow-wrap: anywhere;
  }
  .detail-benefits .feature-mark {
    width: 34px;
    height: 34px;
  }
  .detail-benefits .feature-mark svg {
    width: 20px;
    height: 20px;
  }
}
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}
.workflow-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}
.workflow-grid p,
.setup-description {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.8;
}
.workflow-grid ol {
  padding-left: 1.4em;
  margin-bottom: 0;
  line-height: 1.85;
}
#setup {
  align-items: center;
}
.setup-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.setup-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 50px;
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--paper);
}
.setup-list strong {
  color: #7b3c15;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .setup-list {
    gap: 6px;
  }
  .setup-list li {
    gap: 12px;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
  }
  .setup-list strong {
    font-size: 12px;
  }
}
@media (max-width: 680px) {
  .detail-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
/* e-POS Self hero and content hierarchy */
.product-detail-page main h2 {
  font-family: var(--site-heading-font);
  font-size: var(--site-section-heading-size);
  font-weight: 900;
}
.product-detail-page .contact h2 {
  font-size: clamp(26px, 3.2vw, 42px);
}
.detail-title {
  padding-block: 48px;
  background: var(--navy);
  color: #fff;
}
.detail-title-inner {
  display: grid;
  grid-template-columns: minmax(0, 520fr) minmax(0, 600fr);
  align-items: center;
  gap: clamp(24px, 5.56vw, 80px);
}
.detail-hero-copy {
  display: grid;
  gap: 12px;
}
.detail-title h1 {
  margin: 0;
  font-family: var(--site-heading-font);
  font-size: var(--site-hero-heading-size);
  font-weight: 900;
}
.detail-hero-label {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.detail-hero-lead {
  font-family: var(--site-heading-font);
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.45;
}
.detail-hero-description {
  color: #d5dee6;
  font-size: 18px;
  line-height: 1.75;
}
.detail-title-visual {
  position: relative;
  display: grid;
  justify-items: center;
  height: clamp(340px, 36vw, 500px);
  overflow: hidden;
  isolation: isolate;
}
.detail-title-visual .halo {
  top: 36px;
  left: 50%;
  width: min(88%, 440px);
  height: auto;
  aspect-ratio: 1;
  transform: translateX(-50%);
  z-index: -1;
}
.detail-title-image {
  align-self: start;
  width: min(100%, 560px);
  height: auto;
}
.detail-hero-features {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.detail-hero-features li {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  width: min(33.33%, 286.5px);
  min-height: 155px;
  padding: 14px;
  border: 1px solid #778695;
  border-radius: 6px;
  font-size: 17px;
  text-align: center;
}
.detail-hero-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #243848;
  color: var(--orange);
}
.product-detail-page .setup-list {
  gap: 0;
}
.product-detail-page .setup-list li {
  padding-inline: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
#setup {
  padding-bottom: 48px;
}
.integration-section {
  background: var(--paper);
  padding-block: 40px;
}
.integration-group {
  margin-top: 30px;
}
.integration-group > h3 {
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.reference-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 14px;
}
.reference-items article {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.reference-items h4 {
  margin: 0;
  font-size: 17px;
}
.reference-items p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.reference-section {
  padding-block: 48px 64px;
}
.intro-video {
  display: block;
  margin: 36px auto 48px;
  width: min(100%, 760px);
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
}
.reference-diagrams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.reference-diagrams article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  background: var(--paper);
}
.reference-diagrams img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}
.reference-diagrams a:hover,
.self-showroom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.self-showroom {
  padding-block: 48px;
  background: var(--paper);
}
.self-showroom p {
  margin-block: 10px;
  color: var(--muted);
  line-height: 1.75;
}
.self-showroom a {
  font-weight: 700;
}

@media (max-width: 680px) {
  .detail-title {
    padding-block: 34px;
  }
  .detail-title-inner,
  .reference-diagrams,
  .reference-items {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-title-inner {
    gap: 20px;
  }
  .detail-hero-copy {
    gap: 9px;
  }
  .detail-title-visual {
    height: 350px;
  }
  .detail-title-visual .halo {
    top: 24px;
    width: min(88%, 285px);
  }
  .detail-title-image {
    width: min(100%, 342px);
  }
  .detail-hero-features {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  .detail-hero-features li {
    width: 100%;
    min-height: 130px;
    font-size: 15px;
  }
  #setup {
    padding-bottom: 32px;
  }
  .integration-section {
    padding-block: 30px;
  }
  .integration-group {
    margin-top: 24px;
  }
  .integration-group > h3 {
    font-size: 22px;
  }
  .reference-items {
    gap: 12px;
    margin-top: 12px;
  }
  .reference-items h4 {
    font-size: 15px;
  }
  .reference-items p {
    font-size: 13px;
  }
  .reference-section {
    padding-block: 36px 48px;
  }
  .intro-video {
    margin-block: 26px 32px;
  }
  .reference-diagrams {
    gap: 16px;
  }
  .reference-diagrams article {
    padding: 12px;
  }
  .reference-diagrams h3,
  .product-detail-page main .detail-benefits h3,
  .workflow-grid h3 {
    font-size: 17px;
  }
  .reference-diagrams img {
    height: auto;
  }
  .self-showroom {
    padding-block: 32px;
  }
}
