/* Shop quick-buy controls. Original Pay logo; no external button SDK. */
.original-shop-shell .slide-card .slide-card__bottom:has(> .pay-quick-buy) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.5rem auto;
  gap: .5rem .375rem;
  height: auto;
  min-height: 0;
  max-height: none;
  align-items: center;
}
.original-shop-shell .slide-card .slide-card__bottom:has(> .pay-quick-buy) > .slide-card__price,
.original-shop-shell .slide-card .slide-card__bottom:has(> .pay-quick-buy) > .slide-card__stock { grid-column: 1 / -1; }
.original-shop-shell .slide-card .slide-card__bottom:has(> .pay-quick-buy) > .slide-card__button { grid-column: 1; grid-row: 2; justify-self: start; }
.original-shop-shell .slide-card .slide-card__bottom:has(> .pay-quick-buy) > .slide-card__cart { grid-column: 3; grid-row: 2; justify-self: end; }
.original-shop-shell .slide-card .slide-card__bottom > .pay-quick-buy { grid-column: 2; grid-row: 2; width: 100%; align-self: stretch; }
.pay-quick-buy { min-width: 0; }
.original-shop-shell .pay-quick-buy__button {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; min-width: 0; min-height: 3rem; padding: .625rem 1rem;
  border: 1px solid #c9a86a; border-radius: .75rem;
  background: #d7b67a; color: #0a2242;
  font-family: "Morskie Display", Arial, sans-serif !important;
  font-size: 1rem; font-weight: 600; line-height: 1.2; text-transform: none;
  cursor: pointer;
}
.original-shop-shell .pay-quick-buy__button:hover:not(:disabled) { background: #e3c792; border-color: #b99350; }
.pay-quick-buy__button:focus-visible { outline: 3px solid #0a2242; outline-offset: 3px; }
.pay-quick-buy__button:disabled { opacity: .55; cursor: progress; }
.pay-quick-buy__logo { flex: 0 0 72px; width: 72px; height: 24px; object-fit: contain; }
.original-shop-shell .pay-quick-buy--compact .pay-quick-buy__button { height: 100%; min-height: 0; box-sizing: border-box; padding: 0 .25rem; gap: 0; border-radius: .5rem; }
.pay-quick-buy--compact .pay-quick-buy__logo { flex: 0 1 46px; width: 46px; max-width: 100%; height: auto; aspect-ratio: 3; }
.original-shop-shell .wp-product-page .item__purchase > .pay-quick-buy--wide { width: 100%; margin-top: .75rem; }
.pay-quick-buy__error { margin: .5rem 0 0; color: #9c2424; font-size: .8125rem; line-height: 1.4; }
.pay-quick-buy__terms { margin: .625rem 0 0; color: #53636c; font-size: .8125rem; line-height: 1.5; }
.pay-quick-buy__fallback { display: inline-block; margin-top: .5rem; color: #032537; font-size: .875rem; line-height: 1.4; text-decoration: underline; }
.pay-quick-buy--cart { width: 100%; margin-block: .75rem; }
.original-shop-shell .pay-quick-buy--cart .pay-quick-buy__button { flex-wrap: wrap; }
.pay-choice {
  position: fixed; inset: 0; width: min(40rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem); margin: auto; padding: 1.5rem; box-sizing: border-box;
  overflow: auto; overscroll-behavior: contain; border: 1px solid #d7b67a; border-radius: 1rem;
  background: #fffdf8; color: #032537; box-shadow: 0 1.5rem 5rem #03253740;
  font-family: Manrope, Arial, sans-serif; font-size: .9375rem; line-height: 1.5; text-align: left;
}
.pay-choice:not([open]) { display: none; }
.pay-choice::backdrop { background: #032537a8; }
.pay-choice__header { display: flex; align-items: start; gap: .75rem; }
.original-shop-shell .pay-choice h2,
.original-shop-shell .pay-choice h3 { margin: 0; color: #032537; font-family: Manrope, Arial, sans-serif !important; font-weight: 700; text-transform: none; overflow-wrap: anywhere; }
.original-shop-shell .pay-choice h2 { flex: 1; font-size: 1.375rem; line-height: 1.3; }
.original-shop-shell .pay-choice h3 { margin-bottom: .75rem; font-size: 1.0625rem; line-height: 1.4; }
.pay-choice__header h2:focus { outline: none; }
.pay-choice__close { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; margin-top: -.375rem; padding: 0; border: 1px solid #cbd5d8; border-radius: .5rem; color: #032537; background: #fff; font: 1.75rem/1 Arial, sans-serif; cursor: pointer; }
.pay-choice p { margin: .75rem 0; }
.pay-choice__option { margin-top: 1rem; padding: 1rem; border: 1px solid #d5dcdf; border-radius: .75rem; background: #fff; }
.pay-choice .pay-choice__lines { display: grid; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.pay-choice__lines li { display: flex; align-items: start; justify-content: space-between; gap: 1rem; min-width: 0; padding: 0; margin: 0; }
.pay-choice__lines li > span { min-width: 0; overflow-wrap: anywhere; }
.pay-choice__lines small { display: block; margin-top: .25rem; color: #53636c; font-size: .8125rem; }
.pay-choice__lines strong { flex-shrink: 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.pay-choice .pay-choice__total { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: .75rem; border-top: 1px solid #e2e8ea; }
.pay-choice__total strong { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.pay-choice .pay-choice__notice { color: #53636c; font-size: .8125rem; }
.original-shop-shell .pay-choice .pay-quick-buy__button { font-family: Manrope, Arial, sans-serif !important; font-size: .875rem; flex-wrap: wrap; }
.pay-choice__cart-link { display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: .625rem .75rem; box-sizing: border-box; border: 1px solid #032537; border-radius: .75rem; background: #032537; color: #fff !important; font-weight: 700; text-align: center; text-decoration: none; }
.pay-choice__cart-link:hover { background: #0e4057; }
.pay-choice .pay-choice__terms { margin-bottom: 0; color: #53636c; font-size: .8125rem; }
.pay-choice button:focus-visible,
.pay-choice a:focus-visible,
.pay-quick-buy__fallback:focus-visible { outline: 3px solid #b88d3e; outline-offset: 3px; }
@media (max-width: 480px) {
  .pay-choice { width: calc(100vw - 1rem); max-width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); padding: 1rem; border-radius: .75rem; }
  .original-shop-shell .pay-choice h2 { font-size: 1.125rem; }
  .pay-choice__option { padding: .75rem; }
  .pay-choice__lines li { flex-wrap: wrap; gap: .25rem .75rem; }
  .pay-choice__lines li > span { flex: 1 1 10rem; }
  .pay-choice__lines strong { margin-left: auto; }
}
@media (max-width: 767px) {
  .original-shop-shell .hero__slider-wrapper .slide-card:has(.pay-quick-buy),
  .original-shop-shell .slider--40 .slide-card:has(.pay-quick-buy),
  .original-shop-shell .slider--blue .slide-card:has(.pay-quick-buy) { grid-template-rows: 7.25rem 4.35rem auto; }
  .original-shop-shell .slide-card .slide-card__bottom:has(> .pay-quick-buy) { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
  .original-shop-shell .slide-card .slide-card__bottom:has(> .pay-quick-buy) > .slide-card__cart { grid-column: 2; }
  .original-shop-shell .slide-card .slide-card__bottom > .pay-quick-buy { grid-column: 1 / -1; grid-row: 3; }
  .original-shop-shell .pay-quick-buy--compact .pay-quick-buy__button { height: 2.625rem; }
  .original-shop-shell .slide-card .slide-card__bottom:has(> .pay-quick-buy) > .slide-card__button { min-width: 0; max-width: 100%; padding-inline: .25rem; white-space: normal; }
  .pay-quick-buy--compact .pay-quick-buy__logo { flex-basis: 54px; width: 54px; }
}
