/* Retrocade palette measured from the storefront product page. Plugin-scoped only. */
.retro-pp-options,.retro-pp-summary,.retro-pp-schedule{--retro-surface:#071421;--retro-text:#eef8ff;--retro-muted:#b5ddff;--retro-border:rgba(151,207,255,.38);--retro-accent:#78caff;box-sizing:border-box;color:var(--retro-text);font-family:inherit}
.retro-pp-options{min-width:0;container-type:inline-size;margin:18px 0;padding:20px;border:1px solid var(--retro-border);border-radius:12px;background:var(--retro-surface)}
.retro-pp-options legend{color:var(--retro-text);background:var(--retro-surface);font-size:1rem;font-weight:700;padding:0 8px}
.retro-pp-options label{display:inline-flex;align-items:center;gap:8px;margin:6px 10px 6px 0;padding:14px 20px;border:1px solid var(--retro-border);border-radius:9px;background:var(--retro-surface);color:var(--retro-text);font-family:Arial,Helvetica,sans-serif;font-weight:800;line-height:1.6;cursor:pointer;transition:border-color .15s,background .15s}
.retro-pp-options label:hover{border-color:var(--retro-accent)}
.retro-pp-options label:has(input:checked){border-color:var(--retro-accent);background:linear-gradient(135deg,#1471c5,#0b3e78);color:#fff;box-shadow:0 10px 22px rgba(0,0,0,.28)}
.retro-pp-options label:has(input:focus-visible){outline:2px solid var(--retro-accent);outline-offset:3px}
.retro-pp-options input[type=radio]{accent-color:#78caff;flex-shrink:0;width:16px;height:16px;margin:0}
.retro-pp-options:disabled label{cursor:wait;opacity:.65}
.retro-pp-feedback p,.retro-pp-summary p{margin:12px 0;color:var(--retro-text)}
.retro-pp-summary,.retro-pp-schedule{margin:16px 0;padding:18px;background:var(--retro-surface);border:1px solid var(--retro-border);border-radius:12px}
.retro-pp-schedule{margin:24px 0;overflow-x:auto}
.retro-pp-summary h3,.retro-pp-schedule h3,.retro-pp-schedule h2{color:var(--retro-text);font-size:16px;margin:0 0 16px}
.retro-pp-summary details{padding:12px;background:var(--retro-surface);color:var(--retro-text);border-radius:8px}
.retro-pp-totals{margin:0;color:var(--retro-text)}
.retro-pp-totals>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0}
.retro-pp-totals dt{font-size:13px;color:inherit}
.retro-pp-totals dd{margin:0;font-weight:800;white-space:nowrap;color:inherit}
.retro-pp-totals small{display:block;font-size:12px;color:var(--retro-muted)}
.retro-pp-totals .retro-pp-due{border-top:1px solid var(--retro-border);border-bottom:1px solid var(--retro-border);color:var(--retro-accent)}
.retro-pp-summary .woocommerce-Price-amount,.retro-pp-summary .woocommerce-Price-currencySymbol,.retro-pp-schedule .woocommerce-Price-amount,.retro-pp-schedule .woocommerce-Price-currencySymbol{color:inherit;background:transparent}
.retro-pp-table-wrap{overflow-x:auto}
.retro-pp-payment-table,.retro-pp-schedule table{width:100%;border-collapse:collapse;font-size:13px;margin:0!important;background:transparent;color:var(--retro-text)}
.retro-pp-payment-table th,.retro-pp-payment-table td,.retro-pp-schedule th,.retro-pp-schedule td{padding:10px 6px!important;border:0!important;border-bottom:1px solid var(--retro-border)!important;text-align:left;background:transparent;color:var(--retro-text)}
.retro-pp-payment-table th:last-child,.retro-pp-payment-table td:last-child{text-align:right}
.retro-pp-summary .retro-pp-note,.retro-pp-schedule .retro-pp-note{font-size:12px;color:var(--retro-muted);line-height:1.6}
.retro-pp-schedule a{color:var(--retro-accent)}
.retro-pp-schedule a.button{display:inline-block;padding:14px 28px;border:1px solid var(--retro-accent);border-radius:9px;background:linear-gradient(135deg,#1471c5,#0b3e78);color:#fff;font-family:Arial,Helvetica,sans-serif;font-weight:800;line-height:1.6;box-shadow:0 10px 22px rgba(0,0,0,.28);text-decoration:none}
.retro-pp-schedule a.button:focus-visible{outline:2px solid var(--retro-accent);outline-offset:3px}
@media(max-width:480px){.retro-pp-options{padding:14px}.retro-pp-options label{display:flex;margin-right:0}.retro-pp-summary,.retro-pp-schedule{padding:14px}.retro-pp-totals>div{flex-wrap:wrap;gap:4px}.retro-pp-payment-table th,.retro-pp-payment-table td{white-space:nowrap}}
/* Cart sidebars may be narrow even on a large desktop viewport. */
@container(max-width:360px){.retro-pp-options label{display:flex;margin-right:0;padding:12px;font-size:16px;overflow-wrap:normal;word-break:normal}.retro-pp-summary{padding:12px}.retro-pp-totals>div{flex-direction:column;gap:4px}.retro-pp-payment-table th,.retro-pp-payment-table td{white-space:nowrap}}
