#payment-view[data-hosted-cashier="true"] .payment-code-panel,
#payment-view[data-hosted-cashier="true"] .payment-scan > .payment-card-heading {
  display: none;
}

#payment-view[data-hosted-cashier="true"] .payment-bill {
  align-self: center;
}

#payment-hosted.hosted-cashier:not([hidden]) {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: clamp(26px, 5vw, 44px) 18px;
  border: 1px solid var(--line, #dce3e6);
  border-radius: 16px;
  background: var(--surface, #fff);
  text-align: center;
}

#payment-hosted[hidden] {
  display: none;
}

.hosted-cashier__platform {
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.hosted-cashier__title {
  margin: 12px 0 20px;
  color: var(--ink, #202829);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.hosted-cashier__pay.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 19px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.hosted-cashier__pay:focus-visible {
  outline: 2px solid var(--accent, #397c72);
  outline-offset: 3px;
}
