/* Product-specific sizing and interactive controls on the shared ASO template. */
.aso-page [hidden] { display: none !important; }

.aso-hero-copy { container-type: inline-size; }
.aso-page .aso-hero h1 { font-size: clamp(2.2rem, min(5.35vw, 11.8cqi), 5.55rem); }

.loyalty-hero-figure { margin: 0; min-width: 0; }
.loyalty-hero-figure .aso-hero-visual { background: #f1ece9; }
.loyalty-hero-figure .aso-hero-visual img { object-fit: contain; }
.loyalty-hero-figure figcaption { margin-top: 10px; color: var(--aso-muted); font-size: .875rem; }
.loyalty-hero-figure figcaption a { text-decoration: underline; text-underline-offset: .2em; }

.aso-sheet .run-balances {
  display: grid;
  grid-template-columns: 1fr .72fr 1.12fr;
  gap: 12px;
  margin: 20px 0;
  padding-block: 15px;
  border-block: 1px solid #ded3e9;
}
.aso-sheet .run-balances > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  justify-content: space-between;
  padding: 0;
  border: 0;
}
.run-balances dt { font-size: .875rem; }
.run-balances dd {
  font: 600 clamp(1.6rem, 3vw, 2.75rem)/1.1 "ASO Montserrat", sans-serif;
  letter-spacing: -.04em;
}
.run-balances [data-online] { color: var(--aso-purple); }

.demo-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.demo-action {
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #d5cce4;
  border-radius: 10px;
  color: var(--aso-purple);
  background: #fff;
  font: 650 .875rem/1.3 system-ui, sans-serif;
  cursor: pointer;
}
.demo-action[aria-disabled="true"] { color: #756b83; background: transparent; cursor: default; }
.demo-action[data-next] { border-color: var(--aso-purple); color: #fff; background: var(--aso-purple); }
.demo-action:not([aria-disabled="true"]):not([data-next]):hover { background: #ece4fa; }
.demo-action[data-next]:hover { background: #3d198e; }

.demo-status { min-height: 60px; margin-top: 13px; color: var(--aso-ink); font-size: .875rem; }
.demo-status [data-snapshot] { color: var(--aso-muted); }
.demo-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; margin-top: 5px; }
.demo-tools :is(a, button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0;
  border: 0;
  color: var(--aso-purple);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .2em;
  font: 650 .875rem/1.25 system-ui, sans-serif;
  cursor: pointer;
}
.demo-tools button[aria-disabled="true"] { color: #756b83; text-decoration: none; cursor: default; }

.journal {
  display: grid;
  gap: 7px;
  max-height: 144px;
  margin: 7px 0 0;
  padding: 10px 6px 0 20px;
  border-top: 1px solid #ded3e9;
  overflow: auto;
  color: var(--aso-muted);
  font-size: .875rem;
}
.journal:empty { display: none; }
.journal li::marker { color: var(--aso-purple); }
.receipt-rules summary { color: var(--aso-purple); font-weight: 700; cursor: pointer; }
.receipt-rules p { margin-top: 10px; }
.receipt-rules dl { margin-top: 14px; }
.receipt-rules dl > div { padding-block: 10px; }

.aso-proof .loyalty-proof-images { display: block; padding: 0; background: transparent; }
.aso-proof .loyalty-proof-images img { width: 100%; max-width: none; border-radius: 12px; box-shadow: none; }
.aso-proof .aso-text-link { margin-top: 6px; }
.aso-proof .aso-text-link + p { margin-top: 16px; }

/* RuStore modal text and behavior retain the common native-lead stylesheet. */
.aso-page .native-lead-dialog .modal__title {
  color: #373737;
  font-family: Montserrat, sans-serif;
  letter-spacing: -.39px;
  text-wrap: initial;
}
.native-lead-mail-note { margin-top: 10px; color: #554560; font-size: 13px; }
.native-lead-mail-note a { color: var(--aso-purple); text-decoration: underline; }

@media (max-width: 720px) {
  .aso-page .aso-hero h1 { font-size: clamp(2rem, min(11.4vw, 12.5cqi), 4.7rem); }
  .aso-sheet .run-balances { gap: 8px; }
  .run-balances dt { font-size: .75rem; }
  .demo-action { padding-inline: 7px; }
}
