/* An actual text font, drawn on a 128×64 logical OLED grid. */
@font-face {
  font-family: "ArduView Matrix";
  src: url("./assets/arduview-matrix.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.product-sequence-copy h1,
.product-details-overview > div > p,
.checkout-dock-product,
#arduview-checkout .checkout-product-name {
  font-family: "ArduView Matrix", monospace;
  font-weight: 400;
  font-synthesis: none;
  font-kerning: none;
  letter-spacing: 0;
  color: #fff;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 .015em #e5f6ff, 0 0 .06em #a8dcff70, 0 0 .14em #8acfff40;
}

.product-sequence-copy h1 { line-height: 1; white-space: nowrap; }
.checkout-dock-product { font-size: 1.3rem; line-height: 1.1; white-space: nowrap; }

/* Small OLED-like backplates keep the requested white dots readable on white. */
.product-details-overview > div > p,
#arduview-checkout .checkout-product-name {
  width: fit-content;
  max-width: 100%;
  padding: .18em .38em .22em;
  border: 1px solid #acdfff24;
  border-radius: .3rem;
  background: #10191f;
  line-height: 1.05;
  white-space: nowrap;
}
.product-details-overview > div > p { font-size: clamp(1.4rem, 1.6vw, 1.7rem); }
#arduview-checkout .checkout-product-name { font-size: 1.8rem; }

@media (max-width: 700px) {
  .product-sequence-copy h1 { font-size: clamp(2.5rem, 14vw, 5.3rem); }
  #arduview-checkout .checkout-product-name { font-size: 1.35rem; }
}
