/* Presentation only: balances, eligibility and redemption remain owned by Advanced Coupons. */
body .acfw-checkout-ui-block { margin: 24px 0; max-width: 100%; font-family: inherit; }
body .acfw-checkout-ui-block .acfw-store-credits-checkout-ui {
  border: 1px solid #bddbd0; border-radius: 20px; overflow: hidden;
  background: #f8fcfa; box-shadow: 0 8px 24px #073b2b0b; color: #102b23;
}
body .acfw-checkout-ui-block .acfw-store-credits-checkout-ui > h3 {
  display: flex; align-items: center; gap: 12px; min-height: 64px; box-sizing: border-box;
  padding: 20px 22px; margin: 0; border: 0; color: #f7fffb;
  background: radial-gradient(ellipse at 0 0, #16614870, transparent 65%), linear-gradient(110deg, #102b23, #10242c);
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer;
  transition: box-shadow .2s, background .2s;
}
body .acfw-store-credits-checkout-ui > h3::before {
  content: ''; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 3px;
  transform: rotate(45deg); background: linear-gradient(135deg, #baf4dc, #19dd91 50%, #39adeb);
  box-shadow: 0 0 12px #20ccb43d;
}
body .acfw-store-credits-checkout-ui > h3 .acfw-accordion-title { flex: 1; min-width: 0; }
body .acfw-store-credits-checkout-ui > h3 .caret { position: static; flex: 0 0 auto; margin: 0; }
body .acfw-store-credits-checkout-ui > h3 .caret img { display: none; }
body .acfw-store-credits-checkout-ui > h3 .caret::after {
  content: ''; display: block; width: 8px; height: 8px; border-right: 2px solid #baf4dc;
  border-bottom: 2px solid #baf4dc; transform: rotate(45deg); transition: transform .2s;
}
body .acfw-store-credits-checkout-ui.show > h3 .caret::after { transform: rotate(225deg); }
body .acfw-store-credits-checkout-ui > h3:hover { box-shadow: inset 0 0 0 2px #42cba67d; }
body .acfw-store-credits-checkout-ui > h3:focus-visible { outline: 3px solid #7de8c3; outline-offset: -5px; }
/* Native height calculation can clip error text or wrapped mobile content. */
body .acfw-store-credits-checkout-ui .acfw-accordion-inner {
  background: linear-gradient(115deg, #f1fbf6, #f2f9fc); transition: none;
}
body .acfw-store-credits-checkout-ui:not(.show) .acfw-accordion-inner { max-height: 0 !important; visibility: hidden; overflow: hidden; }
body .acfw-store-credits-checkout-ui.show .acfw-accordion-inner { max-height: none !important; visibility: visible; overflow: visible; }
body .acfw-store-credits-checkout-ui .acfw-accordion-content { padding: 22px; font-size: 15px; line-height: 1.6; }
body .acfw-store-credits-checkout-ui .acfw-store-credit-user-balance {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 13px 16px;
  margin: 0 0 16px; border: 1px solid #c8e4d8; border-radius: 12px; background: #ffffffd9; color: #315449;
}
body .acfw-store-credits-checkout-ui .acfw-store-credit-user-balance strong { font-size: 23px; line-height: 1.3; color: #076449; font-weight: 800; }
body .acfw-store-credits-checkout-ui .acfw-store-credit-instructions { margin: 0 0 18px; color: #425e54; font-size: 14px; line-height: 1.6; }
body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin: 0;
}
body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field::after { display: none; }
body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field > .form-row { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field label { display: block; margin: 0 0 7px; color: #284b3e; font-size: 13px; font-weight: 650; }
body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field .form-row-last label { display: none; }
body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field input.input-text {
  box-sizing: border-box; width: 100%; min-width: 0; height: 50px; min-height: 50px; margin: 0;
  padding: 12px 14px; border: 1px solid #aacfbf; border-radius: 12px; background: #fff; color: #102b23;
  box-shadow: none; font: inherit; font-size: 16px; line-height: 1.5;
}
body .acfw-store-credits-checkout-ui input.input-text::placeholder { color: #657e73; opacity: 1; }
body .acfw-store-credits-checkout-ui input.input-text:focus { outline: 2px solid #087f67; outline-offset: 2px; }
body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field button.button {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: auto; min-height: 50px; width: 100%; margin: 0; padding: 12px 24px !important;
  border: 1px solid #153d30; border-radius: 999px; background: #102b23; color: #fff;
  font: inherit; font-weight: 750; font-size: 15px; line-height: 1.4 !important; text-align: center;
  white-space: normal; cursor: pointer; transition: background .22s, box-shadow .22s, transform .22s;
}
body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field button.button:is(:hover,:focus-visible):not(:disabled) {
  background: linear-gradient(135deg, #ffffff60 0 12%, transparent 12% 76%, #ffffff38 76%), linear-gradient(110deg, #baf4dc, #c1e7fa);
  color: #102b23; border-color: #82cbb6; box-shadow: 0 4px 16px #20ccb42b; transform: translateY(-1px);
}
body .acfw-store-credits-checkout-ui button.button:focus-visible { outline: 2px solid #087f67; outline-offset: 3px; }
body .acfw-store-credits-checkout-ui button.button:disabled { opacity: .55; cursor: wait; }
body .acfw-store-credits-checkout-ui .invalid-message {
  grid-column: 1 / -1; margin: 0; padding: 10px 12px; border: 1px solid #e4bcb6;
  border-radius: 10px; background: #fff4f2; color: #8e2923; font-size: 14px; overflow-wrap: anywhere;
}
body .acfw-remove-store-credits { color: #087158; text-underline-offset: 3px; }
body #acfw-store-credits-my-account { padding: clamp(20px, 4vw, 32px); border: 1px solid #c8e2d7; border-radius: 20px; background: linear-gradient(115deg, #f1fbf6, #f2f9fc); color: #102b23; }
body #acfw-store-credits-my-account > p { line-height: 1.65; }
body #acfw-store-credits-my-account strong { color: #076449; }
@media (max-width: 480px) {
  body .acfw-checkout-ui-block .acfw-store-credits-checkout-ui > h3 { padding: 17px 16px; font-size: 15px; }
  body .acfw-store-credits-checkout-ui .acfw-accordion-content { padding: 16px; }
  body .acfw-store-credits-checkout-ui .acfw-redeem-store-credit-form-field { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  body .acfw-store-credits-checkout-ui *, body .acfw-store-credits-checkout-ui *::after { transition: none !important; transform: none; }
}
