.ra-products {
  font-family: inherit;
  color: #1f2933;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ra-products__error {
  padding: 0.75rem 1rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: #842029;
  background: rgba(132, 32, 41, 0.06);
}
.ra-products__empty {
  color: #5f6b7a;
  font-style: italic;
}
.ra-products__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.ra-products__card {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 1.25rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ra-products__card-title {
  margin: 0;
  font-size: 1.15rem;
}
.ra-products__card-description {
  margin: 0.25rem 0 0;
  color: #5f6b7a;
  font-size: 0.95rem;
}
.ra-products__offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ra-products__offer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid #e2e2e2;
  padding-top: 0.75rem;
}
.ra-products__offer:first-child {
  border-top: none;
  padding-top: 0;
}
.ra-products__offer-label {
  font-weight: 600;
}
.ra-products__offer-interval {
  font-weight: 400;
  color: #5f6b7a;
  font-size: 0.9rem;
  margin-left: 0.15rem;
}
.ra-products__payment-note {
  margin: 0;
  font-size: 0.82rem;
  color: #5f6b7a;
}
.ra-products__buy-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ra-products__email-label {
  font-size: 0.85rem;
  color: #5f6b7a;
}
.ra-products__email-input {
  padding: 0.5rem 0.65rem;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}
.ra-products__email-input:focus {
  outline: 2px solid #0b6efd;
  outline-offset: 1px;
}
.ra-products__buy-btn {
  appearance: none;
  border: 0;
  border-radius: 6px;
  background: #0b6efd;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}
.ra-products__buy-btn:hover:not(:disabled) {
  background: #084dc4;
}
.ra-products__buy-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.ra-products__message {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #1f2933;
}
.ra-products__message.-is-error {
  color: #842029;
}
.ra-products__message.-is-success {
  color: #0f5132;
}
.ra-products__login-link {
  color: inherit;
  text-decoration: underline;
  margin-left: 0.25rem;
}
.ra-products__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}
.ra-products__consent-checkbox {
  flex-shrink: 0;
  margin-top: 0.2rem;
  accent-color: #0b6efd;
}
.ra-products__consent-text {
  font-size: 0.85rem;
  color: #5f6b7a;
  line-height: 1.4;
}
.ra-products__composition {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ra-products__composition-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.ra-products__composition-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ra-products__composition-btn {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #ffffff;
  padding: 0.5rem 0.65rem;
  font: inherit;
  cursor: pointer;
}
.ra-products__composition-btn.-is-default {
  border-color: #0b6efd;
}
.ra-products__composition-btn:hover {
  border-color: #0b6efd;
}
.ra-products__preview-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: rgba(11, 110, 253, 0.04);
}
.ra-products__preview-total {
  margin: 0;
  font-weight: 700;
}
.ra-products__pay-btn {
  appearance: none;
  border: 0;
  border-radius: 6px;
  background: #0f5132;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
  cursor: pointer;
}
.ra-products__pay-btn:hover:not(:disabled) {
  filter: brightness(0.92);
}
.ra-products__pay-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.ra-purchase-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  margin: 0;
  font-size: 0.9rem;
}
.ra-purchase-preview dt {
  color: #5f6b7a;
  font-weight: 400;
}
.ra-purchase-preview dd {
  margin: 0;
  font-weight: 600;
}

.ra-pending,
.ra-success,
.ra-failed,
.ra-return {
  font-family: inherit;
  color: #1f2933;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #ffffff;
  max-width: 560px;
}

.ra-pending {
  align-items: center;
  text-align: center;
}
.ra-pending__spinner-wrap {
  width: 56px;
  height: 56px;
}
.ra-pending__spinner {
  width: 100%;
  height: 100%;
  animation: ra-pending-rotate 1.2s linear infinite;
}
.ra-pending__spinner-track {
  stroke: rgba(11, 110, 253, 0.15);
}
.ra-pending__spinner-head {
  stroke: #0b6efd;
  stroke-dasharray: 90 150;
  stroke-dashoffset: 0;
  transform-origin: center;
}
.ra-pending__title {
  margin: 0;
  font-size: 1.25rem;
}
.ra-pending__lede {
  margin: 0;
  color: #5f6b7a;
}
.ra-pending__timeout {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.95rem;
}

@keyframes ra-pending-rotate {
  to {
    transform: rotate(360deg);
  }
}
.ra-success {
  border-color: #0f5132;
}
.ra-success__title {
  margin: 0;
  color: #0f5132;
}
.ra-success__lede {
  margin: 0;
}

.ra-failed {
  border-color: #842029;
}
.ra-failed__title {
  margin: 0;
  color: #842029;
}
.ra-failed__lede {
  margin: 0;
}

.ra-return--missing {
  border-color: #842029;
}
.ra-return__title {
  margin: 0;
}
.ra-return__lede {
  margin: 0;
  color: #5f6b7a;
}

.ra-account {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #ffffff;
  max-width: 480px;
}
.ra-account--inline {
  margin-top: 1.25rem;
}
.ra-account--invalid, .ra-account--exists {
  border-color: #842029;
}
.ra-account__title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.ra-account__lede {
  margin: 0 0 0.5rem;
  color: #5f6b7a;
}
.ra-account__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ra-account__label {
  font-size: 0.85rem;
  color: #5f6b7a;
}
.ra-account__input {
  padding: 0.5rem 0.65rem;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}
.ra-account__input:focus {
  outline: 2px solid #0b6efd;
  outline-offset: 1px;
}
.ra-account__input[readonly] {
  background: rgba(226, 226, 226, 0.4);
  color: #5f6b7a;
}
.ra-account__submit {
  appearance: none;
  border: 0;
  border-radius: 6px;
  background: #0b6efd;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}
.ra-account__submit:hover:not(:disabled) {
  background: #084dc4;
}
.ra-account__submit:disabled {
  opacity: 0.6;
  cursor: progress;
}
.ra-account__message {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #1f2933;
}
.ra-account__message.-is-error {
  color: #842029;
}
.ra-account__message.-is-success {
  color: #0f5132;
}
.ra-account__login-link {
  color: #0b6efd;
  text-decoration: underline;
}

.ra-portal {
  display: grid;
  gap: 2rem;
  max-width: 720px;
}
.ra-portal__section {
  display: grid;
  gap: 0.75rem;
}
.ra-portal__section-title {
  margin: 0;
  font-size: 1.3rem;
  color: #1f2933;
  border-bottom: 2px solid #1f2933;
  padding-bottom: 0.4rem;
}
.ra-portal__group-title {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  color: #5f6b7a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ra-portal__login-notice {
  color: #5f6b7a;
}
.ra-portal__error {
  color: #842029;
}
.ra-portal__empty {
  color: #5f6b7a;
  font-style: italic;
  margin: 0.25rem 0;
}
.ra-portal__subscription-list, .ra-portal__receipt-list, .ra-portal__order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.ra-portal__subscription {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}
.ra-portal__subscription--cancelling {
  border-color: rgba(132, 32, 41, 0.4);
}
.ra-portal__subscription--history {
  opacity: 0.75;
}
.ra-portal__sub-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.ra-portal__sub-name {
  font-size: 1.05rem;
  color: #1f2933;
}
.ra-portal__sub-status {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5f6b7a;
  background: rgba(226, 226, 226, 0.5);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  white-space: nowrap;
}
.ra-portal__sub-status--active {
  color: #0f5132;
  background: rgba(15, 81, 50, 0.12);
}
.ra-portal__sub-status--cancelling {
  color: #842029;
  background: rgba(132, 32, 41, 0.12);
}
.ra-portal__invoice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
  background: rgba(226, 226, 226, 0.5);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}
.ra-portal__invoice-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5f6b7a;
}
.ra-portal__invoice-amount {
  font-weight: 700;
  color: #1f2933;
}
.ra-portal__invoice-due {
  color: #5f6b7a;
}
.ra-portal__sub-warning {
  color: #842029;
  font-size: 0.9rem;
}
.ra-portal__sub-period {
  margin: 0;
  color: #5f6b7a;
}
.ra-portal__sub-message {
  margin: 0;
  font-size: 0.9rem;
}
.ra-portal__sub-message.-is-error {
  color: #842029;
}
.ra-portal__sub-message.-is-success {
  color: #0f5132;
}
.ra-portal__cancel-btn {
  justify-self: start;
  font: inherit;
  cursor: pointer;
  color: #842029;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
}
.ra-portal__cancel-btn:hover {
  background: rgba(132, 32, 41, 0.1);
}
.ra-portal__cancel-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.ra-portal__receipt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.75rem;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}
.ra-portal__receipt-product {
  font-weight: 600;
  color: #1f2933;
}
.ra-portal__receipt-date, .ra-portal__receipt-amount {
  color: #5f6b7a;
}
.ra-portal__receipt-link {
  margin-left: auto;
  color: #0b6efd;
  text-decoration: underline;
}
.ra-portal__receipt-link:hover {
  color: #084dc4;
}
.ra-portal__order {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}
.ra-portal__order-status {
  margin-left: auto;
  font-size: 0.8rem;
  color: #5f6b7a;
}
.ra-portal.-is-loading {
  opacity: 0.7;
}
