/* Payment selector only; surrounding checkout keeps its existing design. */
#account .reference-payment-methods .payment-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
#account .reference-payment-methods .payment-method-options button {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: auto;
  min-height: 96px !important;
  padding: 12px;
  border: 1px solid var(--glass-edge);
  border-radius: 20px;
  background: #a276c21a;
  box-shadow: inset 0 1px 2px #ffffff0a;
  text-align: left;
  white-space: normal;
  color: inherit;
}
#account .reference-payment-methods .payment-method-options button:hover:not(:disabled) {
  border-color: #b989da;
  background: #a276c22b;
}
#account .reference-payment-methods .payment-method-options button[aria-pressed=true] {
  border: 2px solid #c985ff;
  padding: 11px;
  background: #a450e933;
  box-shadow: inset 0 1px 3px #e0b6ff33;
}
#account .reference-payment-methods .payment-method-options button:focus-visible {
  outline: 3px solid #dcc0ff;
  outline-offset: 3px;
}
#account .reference-payment-methods .payment-method-options button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
#account .reference-payment-methods .payment-method-options button[hidden] {
  display: none;
}
#account .reference-payment-methods .payment-method-options button img.payment-provider-logo {
  width: 52px;
  height: 52px;
  padding: 4px;
  box-sizing: border-box;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  filter: none;
}
#account .reference-payment-methods .payment-method-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
#account .reference-payment-methods .payment-method-name {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 650;
  overflow-wrap: anywhere;
}
#account .reference-payment-methods .payment-method-description {
  font-size: 14px;
  line-height: 1.4;
  color: #eee2f6;
}
#account .reference-payment-methods .payment-method-minimum {
  font-size: 12px;
  line-height: 1.45;
  color: #d2b8e5;
}
#account .reference-payment-methods .payment-method-options button::after {
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  margin: 0;
  border: 2px solid #bfa0d7;
  background: transparent;
  box-shadow: none;
}
#account .reference-payment-methods .payment-method-options button[aria-pressed=true]::after {
  border-color: #b66bff;
  background: #b66bff url('/violet/icons/check.svg') center / 16px no-repeat;
  box-shadow: none;
}
#account .reference-payment-methods .payment-method-fee-note {
  margin: 14px 0 0;
  font-size: 13px !important;
  line-height: 1.6;
  color: #cbb1db;
}
@media (max-width: 1100px) {
  #account .reference-payment-methods .payment-method-options {
    grid-template-columns: minmax(0, 1fr);
  }
  #account .reference-payment-methods .payment-method-options button {
    min-height: 96px !important;
  }
}
@media (max-width: 760px) {
  #account .reference-payment-methods .payment-method-options button {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }
  #account .reference-payment-methods .payment-method-options button[aria-pressed=true] { padding: 11px; }
  #account .reference-payment-methods .payment-method-options button::after { width: 18px; height: 18px; }
  #account .reference-payment-methods .payment-method-options button img.payment-provider-logo {
    width: 36px;
    height: 36px;
  }
  #account .reference-payment-methods .payment-method-name { font-size: 16px; }
  #account .reference-payment-methods .payment-method-description { font-size: 13px; }
}

/* Keep the order panel focused on consent and the payment action. */
#account .billing-payment-choice .checkout-telegram-status,
#account .billing-payment-choice .checkout-details,
#account .billing-payment-choice #billing-link-telegram {
  display: none !important;
}
