/* Empty bookings and payment methods: stable SVGs instead of Woo's icon font. */
.cg974-account-page.cg974-account-bookings .woocommerce-info,
.cg974-account-page.cg974-account-payment-methods .woocommerce-info {
  position: relative;
  display: flex !important;
  min-height: 78px;
  padding: 14px 16px !important;
  align-items: center;
  gap: 14px;
}

.cg974-account-page .woocommerce-info[hidden] {
  display: none !important;
}

.cg974-account-page.cg974-account-bookings .woocommerce-info::before,
.cg974-account-page.cg974-account-payment-methods .woocommerce-info::before {
  position: static !important;
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin: 0;
  border-radius: 14px;
  background-color: var(--cg974-account-pale);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px;
  color: transparent;
  content: "" !important;
  transform: none !important;
}

.cg974-account-page.cg974-account-bookings .woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' fill='none' stroke='%230a4b78' stroke-width='1.9'/%3E%3Cpath d='M8 3v4m8-4v4M3 10h18M8 14h3v3H8z' fill='none' stroke='%230a4b78' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cg974-account-page.cg974-account-payment-methods .woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='%230a4b78' stroke-width='1.9'/%3E%3Cpath d='M3 10h18M7 15h4' fill='none' stroke='%230a4b78' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
}

.cg974-account-page.cg974-account-bookings .woocommerce-info .button {
  order: 2;
  flex: 0 0 auto;
  margin: 0 !important;
  margin-left: auto !important;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .cg974-account-page.cg974-account-bookings .woocommerce-info,
  .cg974-account-page.cg974-account-payment-methods .woocommerce-info {
    flex-wrap: wrap;
  }

  .cg974-account-page.cg974-account-bookings .woocommerce-info .button {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    margin: 2px 0 0 !important;
    text-align: center;
  }
}
