/* Payment choices in the customer wallet. */
body.storefront.account-page.account-is-authenticated .account-topup .account-provider {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 3px 0 0;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-option {
  position: relative;
  display: block;
  min-width: 0;
  white-space: normal;
  cursor: pointer;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-card {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid #d8e3ee;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #f9fbfe);
  color: #18334f;
  box-shadow: 0 5px 13px #142d4b08;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-option:hover input:not(:disabled) + .account-payment-card {
  transform: translateY(-2px);
  border-color: #d9869c;
  box-shadow: 0 11px 20px #bc123d13;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-option input:checked + .account-payment-card {
  border-color: #c41642;
  background: linear-gradient(135deg, #fff5f7, #fffafb);
  box-shadow: inset 0 0 0 1px #c41642, 0 9px 20px #bc123d16;
  color: #172d4b;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-option input:focus-visible + .account-payment-card {
  outline: 3px solid #e46c89;
  outline-offset: 3px;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-mark {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: none;
  width: 43px;
  height: 43px;
  padding: 7px;
  overflow: hidden;
  border-radius: 11px;
  background: #142f40;
  box-shadow: 0 4px 10px #17314a1c;
  font-style: normal;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-mark img {
  display: block;
  flex: none;
  max-width: none;
  width: 175px;
  height: 28px;
  object-fit: none;
  object-position: left center;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-option--heleket .account-payment-mark {
  justify-content: center;
  background: #fff0f2;
  box-shadow: none;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-option--heleket .account-payment-mark img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-info {
  display: grid;
  gap: 3px;
  flex: 1;
  min-width: 0;
  color: #193651;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  text-align: left;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-info small {
  color: #7a8da4;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}
body.storefront.account-page.account-is-authenticated .account-topup .account-payment-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid #cfdae6;
  border-radius: 50%;
  color: transparent;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
body.storefront.account-page.account-is-authenticated .account-topup input:checked + .account-payment-card .account-payment-check {
  border-color: #c41642;
  background: #c41642;
  color: #fff;
}
body.storefront.account-page.account-is-authenticated .account-topup input:disabled + .account-payment-card {
  opacity: 1;
  border-color: #e4eaf1;
  background: #f7f9fc;
  box-shadow: none;
  cursor: not-allowed;
}
body.storefront.account-page.account-is-authenticated .account-topup input:disabled + .account-payment-card .account-payment-mark { opacity: .5; }
body.storefront.account-page.account-is-authenticated .account-topup input:disabled + .account-payment-card .account-payment-info { color: #8d9db0; }
body.storefront.account-page.account-is-authenticated .account-topup input:disabled + .account-payment-card .account-payment-info small { color: #a1afbf; }
body.storefront.account-page.account-is-authenticated .account-topup input:disabled + .account-payment-card .account-payment-check {
  width: auto;
  height: auto;
  padding: 4px 7px;
  border: 0;
  border-radius: 6px;
  background: #e8edf3;
  color: #71839a;
  font-size: 0;
}
body.storefront.account-page.account-is-authenticated .account-topup input:disabled + .account-payment-card .account-payment-check::after {
  content: 'Недоступно';
  font-size: 9px;
}
@media (max-width: 600px) {
  body.storefront.account-page.account-is-authenticated .account-topup .account-provider { gap: 8px; }
  body.storefront.account-page.account-is-authenticated .account-topup .account-payment-card {
    min-height: 100px;
    padding: 10px;
    gap: 7px;
    flex-direction: column;
    align-items: flex-start;
  }
  body.storefront.account-page.account-is-authenticated .account-topup .account-payment-mark { width: 35px; height: 35px; padding: 4px; border-radius: 9px; }
  body.storefront.account-page.account-is-authenticated .account-topup .account-payment-info { gap: 1px; font-size: 13px; }
  body.storefront.account-page.account-is-authenticated .account-topup .account-payment-info small { font-size: 9px; }
  body.storefront.account-page.account-is-authenticated .account-topup .account-payment-check { position: absolute; top: 11px; right: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  body.storefront.account-page.account-is-authenticated .account-topup .account-payment-card { transition: none; }
  body.storefront.account-page.account-is-authenticated .account-topup .account-payment-option:hover input:not(:disabled) + .account-payment-card { transform: none; }
}

/* The top-up form and its history share one row and one card height. */
@media (min-width: 1081px) {
  body.storefront.account-page.account-is-authenticated .account-balance-grid { align-items: stretch; }
  body.storefront.account-page.account-is-authenticated .account-balance-grid > .account-panel { align-self: stretch; box-sizing: border-box; }
}
