/* Proposed presentation only; the wallet controller owns readiness and actions. */
.apxw-express[hidden], .apxw-express-separator[hidden] { display: none !important; }
.apxw-express {
  --apxw-ink: #08233c;
  --apxw-copy: #526b84;
  box-sizing: border-box; width: 100%; min-width: 0;
  margin: 0 0 24px; padding: 21px 24px;
  border: 1px solid #d5e3ef; border-radius: 15px;
  background: linear-gradient(115deg, #fff 20%, #f2f8fe 100%);
  box-shadow: 0 5px 20px rgba(13, 43, 72, .025);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--apxw-ink);
}
.apxw-express--checkout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center; gap: 12px 32px;
}
.apxw-express .apxw-express__title {
  margin: 0 0 5px; color: var(--apxw-ink);
  font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em;
}
.apxw-express .apxw-express__copy {
  margin: 0; max-width: 46ch; color: var(--apxw-copy);
  font-size: 13px; font-weight: 400; line-height: 1.5;
}
.apxw-express__action { min-width: 0; width: 100%; }
.apxw-express [data-apex-wallet-button-slot] { min-width: 0; width: 100%; }
.apxw-express apple-pay-button {
  display: block; width: 100%; height: 44px; cursor: pointer;
  --apple-pay-button-width: 100%; --apple-pay-button-height: 44px;
  --apple-pay-button-border-radius: 7px;
}
.apxw-express__status:empty { display: none; }
.apxw-express .apxw-express__status {
  grid-column: 1 / -1; margin: 8px 0 0; color: #81402e;
  font-size: 13px; line-height: 1.5;
}
.apxw-express--drawer {
  display: block; margin: 11px 0 12px; padding: 12px;
  border-radius: 11px; background: linear-gradient(110deg, #fff, #f3f8fd);
  box-shadow: none;
}
.apxw-express--drawer .apxw-express__title { font-size: 14px; margin-bottom: 3px; }
.apxw-express--drawer .apxw-express__copy { font-size: 12px; line-height: 1.4; }
.apxw-express--drawer .apxw-express__action { margin-top: 10px; }
.apxw-express--drawer .apxw-express__status { font-size: 12px; }
/* Two equal-height actions, only while the express method is actually ready. */
.apex-cd-footer > .apxw-express--drawer:not([hidden]) + .apex-cd-checkout {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 12px; line-height: 22px;
}
@media (max-height: 600px) {
  /* The expanded coupon and two payment actions must remain reachable when
     the keyboard or a landscape window leaves too little room for pinning. */
  .apex-cd-inner:has(> .apex-cd-footer > .apxw-express--drawer:not([hidden])) { scroll-padding-top: 76px; scroll-padding-bottom: 16px; }
  .apex-cd-footer:has(> .apxw-express--drawer:not([hidden])) { position: static; z-index: auto; }
  .apxw-express--drawer { padding: 10px; margin: 9px 0 10px; }
  .apxw-express--drawer .apxw-express__copy { display: none; }
  .apxw-express--drawer .apxw-express__action { margin-top: 7px; }
}
.apxw-express--product {
  display: block; margin: 14px 0 18px; padding: 15px 16px;
  border-radius: 12px; box-shadow: none;
}
.apxw-express--product .apxw-express__title { font-size: 15px; }
.apxw-express--product .apxw-express__copy { font-size: 12px; line-height: 1.45; }
.apxw-express--product .apxw-express__action { margin-top: 12px; }
.apxw-express-separator {
  display: flex; align-items: center; gap: 12px;
  margin: -5px 0 22px; color: #627a92;
  font: 400 12px/1.5 Inter, system-ui, sans-serif; text-align: center;
}
.apxw-express-separator::before, .apxw-express-separator::after {
  content: ""; flex: 1 1 20px; height: 1px; background: #dbe6ef;
}
@media (max-width: 767px) {
  .apxw-express--checkout {
    grid-template-columns: minmax(0, 1fr); gap: 14px;
    margin-bottom: 20px; padding: 18px; border-radius: 13px;
  }
  .apxw-express--checkout .apxw-express__title { font-size: 16px; }
}
@media (forced-colors: active) {
  .apxw-express { border-color: CanvasText; background: Canvas; }
  .apxw-express .apxw-express__title, .apxw-express .apxw-express__copy { color: CanvasText; }
}

/* Acceptance artwork is an image, never a stand-in for the payment button. */
.apxw-payment-marks {
  display: inline-flex; align-items: center; justify-content: flex-start;
  gap: 7px; flex-wrap: wrap; max-width: 100%; vertical-align: middle;
}
.apxw-payment-marks > img {
  display: block; width: auto; height: 24px; max-width: none;
  margin: 0; object-fit: contain;
}
.apxw-payment-marks .apxw-apple-mark {
  display: inline-flex; padding: 6px; margin: 0;
  align-items: center; justify-content: center;
}
.apxw-payment-marks .apxw-apple-mark > img {
  display: block; width: auto; height: 24px; max-width: none;
  margin: 0; object-fit: contain;
  /* Preserve the official SVG border, colors, aspect ratio and corner radius. */
}

/* Extend the existing gateway/Astra marks without recoloring Apple's artwork. */
.apxk-card-marks { --apxw-mark-height: 24px; --apxw-mark-space: 6px; }
.apxk-checkout-shell #payment .apxk-card-marks { --apxw-mark-height: 22px; --apxw-mark-space: 5.5px; }
.ast-single-product-payments { --apxw-mark-height: 30px; --apxw-mark-space: 7.5px; }
.apxk-card-marks .apxw-apple-mark,
.ast-single-product-payments .apxw-apple-mark {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; padding: var(--apxw-mark-space); margin: 0; line-height: 0;
}
.woocommerce #payment .payment_method_tagada_inline .apxk-card-marks .apxw-apple-mark > img.apxw-apple-mark-image,
.ast-single-product-payments .apxw-apple-mark > img.apxw-apple-mark-image {
  display: block !important; width: auto !important; height: var(--apxw-mark-height) !important;
  max-height: var(--apxw-mark-height) !important; max-width: none !important; margin: 0 !important;
  float: none !important; object-fit: contain !important; filter: none !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
fieldset.ast-single-product-payments > ul { align-items: center; gap: 6px; }
.ast-single-product-payments ul li.ast-custom-payment { width: auto; margin: 0; align-items: center; }
.ast-single-product-payments ul li.ast-custom-payment svg { display: block; width: 48px; height: 30px; }
@media (max-width: 600px) {
  .apxk-checkout-shell #payment .apxk-card-marks { --apxw-mark-height: 23px; --apxw-mark-space: 5.75px; }
}
@media (max-width: 360px) {
  .apxk-checkout-shell #payment .apxk-card-marks { --apxw-mark-height: 20px; --apxw-mark-space: 5px; }
}
@media (max-width: 359px) {
  .ast-single-product-payments { --apxw-mark-height: 24px; --apxw-mark-space: 6px; }
  fieldset.ast-single-product-payments > ul { gap: 4px; }
  .ast-single-product-payments ul li.ast-custom-payment svg { width: 38px; height: 24px; }
}
