/* GRFTSH DEV — PayPal one-time checkout — visual refinement P6.1 */
.grftsh-paypal-choices{display:grid;gap:12px;min-width:0}
.grftsh-paypal-choice{width:100%;min-height:49px;border:1px solid #45404a;border-radius:12px;font:inherit;font-size:14px;font-weight:750;cursor:pointer;padding:12px 16px;background:transparent;color:#fff;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.grftsh-paypal-choice:disabled{opacity:.48;cursor:wait}
.grftsh-paypal-choice:hover,.grftsh-paypal-choice:focus-visible{background:#171219;outline:none}
.grftsh-paypal-choice--paypal{border:1px dotted #ff4fa3;background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,79,163,.08)}
.grftsh-paypal-choice--paypal:hover,.grftsh-paypal-choice--paypal:focus-visible{border-color:#ff6bb2;background:#1b1018}
.grftsh-paypal-choice--card{background:#25212b;border-color:#665968;color:#fff}
.grftsh-paypal-card-row{display:grid;gap:5px}
.grftsh-paypal-card-row small,.grftsh-paypal-caption{color:#aaa;font-size:11px;line-height:1.5}
.grftsh-paypal-panel{min-width:0;width:100%;box-sizing:border-box;padding:18px;background:#fafafa;color:#111;border-radius:14px;overflow:visible}
.grftsh-paypal-panel[hidden]{display:none!important}
.grftsh-paypal-panel paypal-basic-card-container{display:block;width:100%;min-width:0}
.grftsh-paypal-panel paypal-basic-card-button{display:block;width:100%}
.grftsh-paypal-status{white-space:pre-line;overflow-wrap:anywhere;color:#ccc;font-size:12px;line-height:1.5;min-height:0}
.grftsh-paypal-status:empty{display:none}
.grftsh-paypal-status.is-error{color:#ffa6a6}
.grftsh-payment-button--bank{border:1px dotted #ff4fa3;background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,79,163,.08)}
.grftsh-payment-button--bank:hover,.grftsh-payment-button--bank:focus-visible{background:#171219;border-color:#ff6bb2;outline:none}
@media(min-width:700px){#grftsh-billing-online-zone{width:100%}#grftsh-billing-online-zone .grftsh-payment-card{max-width:720px}}

/* GRFTSH PAYPAL P6.7 — native card button presentation */
.grftsh-paypal-choices .grftsh-paypal-card-row:has(paypal-basic-card-container) {
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  padding: 7px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px dotted #ff4fa3;
  border-radius: 12px;
  background: #100c11;
}
.grftsh-paypal-choices .grftsh-paypal-card-row paypal-basic-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.grftsh-paypal-choices .grftsh-paypal-card-row paypal-basic-card-button {
  display: block;
  margin-inline: auto;
  max-width: 100%;
}

/* GRFTSH PAYPAL P6.8 — card form vertical layout */
/* Do not change the validated selection buttons or their appearance. */
.grftsh-paypal-choices .grftsh-paypal-card-row paypal-basic-card-container {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
/* PayPal inserts this host when the secured form opens. */
.grftsh-paypal-choices .grftsh-paypal-card-row paypal-basic-card-container paypal-sdk-iframe {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
}

/* GRFTSH PAYPAL P6.9 — guest-form readability */
/* Only the dynamically inserted PayPal iframe host, not the button row. */
.grftsh-paypal-choices .grftsh-paypal-card-row paypal-basic-card-container paypal-sdk-iframe {
  color: #252525;
  color-scheme: light;
  background: #fafafa;
  border-radius: 10px;
  padding: 12px 14px;
  box-sizing: border-box;
  font-size: 14px;
}
/* On smaller screens the hosted form must not extend past the parent. */
@media (max-width: 600px) {
  .grftsh-paypal-choices .grftsh-paypal-card-row paypal-basic-card-container paypal-sdk-iframe {
    padding: 10px;
  }
}
