/**
 * Store credit stylesheet.
 *
 * @since 3.7.0
 */
.wc-store-credit-product-container label span.optional {
  display: none;
}
.wc-store-credit-product-container .store-credit-preset-amounts-container {
  border: 0;
  margin: 0 0 1em;
  min-width: 0;
  padding: 0;
}
.wc-store-credit-product-container .store-credit-preset-amounts-container .store-credit-preset-amounts-title {
  font-weight: inherit;
  margin-bottom: 0.5em;
  padding: 0;
}
.wc-store-credit-product-container .store-credit-preset-amounts-container .store-credit-preset-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.wc-store-credit-product-container .store-credit-preset-amounts-container .store-credit-preset-amounts .store-credit-preset-amount {
  cursor: pointer;
  display: inline-block;
  margin: 0;
  position: relative;
}
.wc-store-credit-product-container .store-credit-preset-amounts-container .store-credit-preset-amounts .store-credit-preset-amount input {
  height: 1px;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 1px;
}
.wc-store-credit-product-container .store-credit-preset-amounts-container .store-credit-preset-amounts .store-credit-preset-amount > span {
  align-items: center;
  border: 1px solid currentcolor;
  border-radius: 4px;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 1em;
}
.wc-store-credit-product-container .store-credit-preset-amounts-container .store-credit-preset-amounts .store-credit-preset-amount input:checked + span {
  background-color: var(--wp--preset--color--contrast, CanvasText);
  border-color: var(--wp--preset--color--contrast, CanvasText);
  color: var(--wp--preset--color--base, Canvas);
}
.wc-store-credit-product-container .store-credit-preset-amounts-container .store-credit-preset-amounts .store-credit-preset-amount input:focus-visible + span {
  outline: 2px solid var(--wp--preset--color--contrast, CanvasText);
  outline-offset: 2px;
}
.wc-store-credit-product-container .store-credit-preset-amounts-container .store-credit-preset-amounts .store-credit-preset-amount.selected:is(a) {
  background-color: #d5d5d5;
  border-color: #d5d5d5;
}
.theme-storefront .wc-store-credit-product-container .send-to-different-customer label span {
  font-weight: 300;
  vertical-align: middle;
}
.wc-store-credit-product-container {
  /* Fix for theme twentytwenty */
}
.single-product form.cart .wc-store-credit-product-container input[type=checkbox] {
  width: auto;
}

.woocommerce-MyAccount-store-credit .button {
  padding: 0.6180469716em 0.875em;
  font-size: 0.875em;
  width: auto;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}

.wc-store-credit-balance {
  margin-bottom: 1.5em;
}
.wc-store-credit-balance__amount {
  display: block;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
}
.wc-store-credit-balance__summary {
  font-size: 0.875em;
  opacity: 0.8;
}

.woocommerce-store-credit-restriction {
  display: block;
  font-size: 0.8125em;
  opacity: 0.8;
}

.woocommerce-store-credit-copy {
  margin-left: 0.5em;
  padding: 0.1em 0.5em;
  border: 1px solid currentcolor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font-size: 0.75em;
  line-height: 1.5;
  cursor: pointer;
}

.woocommerce-MyAccount-store-credit .woocommerce-store-credit-expiry.is-expiring {
  color: #b32d2e;
  font-weight: 600;
}

.wc-store-credit-cart-coupon .coupon-restriction {
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  table.woocommerce-MyAccount-store-credit.shop_table.shop_table_responsive tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "credit actions" "code actions" "expiry actions";
    align-items: center;
    column-gap: 1em;
    margin-bottom: 1em;
    padding: 0.75em 1em;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
  }
  table.woocommerce-MyAccount-store-credit.shop_table.shop_table_responsive {
    border: 0;
  }
  table.woocommerce-MyAccount-store-credit.shop_table.shop_table_responsive tbody tr td {
    display: block;
    padding: 0.15em 0;
    border: 0;
    background: transparent !important;
    text-align: left !important;
  }
  table.woocommerce-MyAccount-store-credit.shop_table.shop_table_responsive tbody tr td::before {
    display: none;
  }
  table.woocommerce-MyAccount-store-credit.shop_table.shop_table_responsive .woocommerce-store-credit-credit {
    grid-area: credit;
    font-size: 1.5em;
    font-weight: 700;
  }
  table.woocommerce-MyAccount-store-credit.shop_table.shop_table_responsive .woocommerce-store-credit-code {
    grid-area: code;
  }
  table.woocommerce-MyAccount-store-credit.shop_table.shop_table_responsive .woocommerce-store-credit-expiry {
    grid-area: expiry;
    font-size: 0.875em;
  }
  table.woocommerce-MyAccount-store-credit.shop_table.shop_table_responsive .woocommerce-store-credit-actions {
    grid-area: actions;
  }
}
.wc-store-credit-cart-coupons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  row-gap: 1.2rem;
  column-gap: 1.2rem;
  margin-bottom: 2.617924em;
}

.wc-store-credit-cart-coupon {
  padding: 0.5rem;
  border-radius: 2px;
  background-color: #f8f8f8;
  transition: transform 0.2s;
}
.wc-store-credit-cart-coupon:hover {
  cursor: pointer;
  transform: scale(1.05);
}
.wc-store-credit-cart-coupon .coupon-amount {
  font-size: 1.5rem;
  font-weight: bold; /* stylelint-disable-line font-weight-notation */
}
.wc-store-credit-cart-coupon .coupon-date-expires {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.wc-store-credit-cart-coupon-inner {
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  border-style: dashed;
  border-width: 2px;
  border-radius: 2px;
}

.woocommerce-notices-wrapper .wc-store-credit-cart-coupons-title {
  display: none;
}

/*# sourceMappingURL=store-credit.css.map */
