/* The pay-first step: used in the booking popup (index) and on the booking page (manage). Brand tokens are set on the host page; the hex values are the fixed brand colours. */
.pay-card{text-align:left;margin:1.1rem 0 0;padding:0;color:#14201C;border:0;background:none}
@media (prefers-reduced-motion:no-preference){.pay-card{animation:pay-rise .5s cubic-bezier(.22,1,.36,1) backwards}}
@keyframes pay-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.pay-card h2{margin:0 0 .9rem;font-family:var(--font-display,'Bricolage Grotesque',system-ui,sans-serif);font-weight:700;font-size:clamp(1.5rem,5vw,1.9rem);line-height:1.1;letter-spacing:-.02em;color:#0F3D34}
.pay-help{margin:.6rem 0;color:#5B6D66;font-size:.92rem;line-height:1.55}
.pay-steps{display:flex;gap:.5rem;list-style:none;margin:0 0 1.1rem;padding:0;counter-reset:pay}
.pay-steps li{counter-increment:pay;display:flex;align-items:center;gap:.5rem;flex:1;min-height:44px;padding:0 .8rem;border-radius:999px;border:1.5px solid #DCE3DF;font-size:.84rem;font-weight:700;color:#5B6D66}
.pay-steps li::before{content:counter(pay);display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#E7EFEC;color:#0F3D34;font-size:.8rem}
.pay-steps li:first-child{border-color:#0F3D34;color:#0F3D34}.pay-steps li:first-child::before{background:#0F3D34;color:#fff}
.pay-card.is-claimed .pay-steps li{border-color:#0F3D34;color:#0F3D34}.pay-card.is-claimed .pay-steps li::before{content:'\2713';background:#0F3D34;color:#fff}
.pay-card .pay-done{color:#FAF7F0}
.pay-done{margin:.9rem 0 0;padding:1rem 1.1rem;border-radius:16px;background:#0F3D34;color:#fff;font-size:.95rem;line-height:1.55}
.pay-error{margin:.9rem 0 0;padding:.9rem 1.1rem;border-radius:16px;background:#FFF1ED;color:#922B20;border:1.5px solid #EFCCC4;font-size:.92rem}
@media (prefers-reduced-motion:no-preference){.pay-error{animation:pay-shake .4s}}
@keyframes pay-shake{20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}
.pay-button{display:flex;align-items:center;justify-content:center;gap:.6rem;min-height:56px;margin-top:.9rem;border-radius:14px;background:#E4956C;color:#14201C;font-weight:800;font-size:1.02rem;text-decoration:none;box-shadow:0 10px 24px -14px rgba(189,98,54,.8);transition:transform .25s cubic-bezier(.22,1,.36,1),background-color .25s}
.pay-button::after{content:'\2192';font-size:1.1rem}
.pay-button:active{transform:scale(.98)}@media (hover:hover){.pay-button:hover{background:#EDA37B}}
.pay-other{margin:.9rem 0}.pay-other summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-weight:700;color:#0F3D34;list-style:none}
.pay-other summary::-webkit-details-marker{display:none}
.pay-other summary::after{content:'';width:10px;height:10px;flex:none;border-right:2.5px solid #0F3D34;border-bottom:2.5px solid #0F3D34;transform:rotate(45deg);transition:transform .25s cubic-bezier(.22,1,.36,1)}
.pay-other[open] summary::after{transform:rotate(-135deg)}
.pay-qr{display:block;margin:.5rem auto 1rem;border:1px solid #DCE3DF;border-radius:18px;background:#fff;padding:12px;box-shadow:0 14px 30px -22px rgba(15,61,52,.6)}
.pay-form{margin-top:1rem;padding:1.1rem;border-radius:20px;background:#E7EFEC}
.pay-form label{display:block;font-size:.88rem;font-weight:700;color:#0F3D34;margin-bottom:.5rem}
.pay-form input{width:100%;min-height:56px;padding:.6rem .9rem;border:1.5px solid #DCE3DF;border-radius:14px;background:#fff;color:#14201C;font-family:var(--font-display,'Bricolage Grotesque',system-ui,sans-serif);font-weight:600;font-size:1.4rem;letter-spacing:.14em;font-variant-numeric:tabular-nums;text-align:center;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
.pay-form input:focus{outline:none;border-color:#0F3D34;box-shadow:0 0 0 4px rgba(15,61,52,.14)}
.pay-form button{display:flex;align-items:center;justify-content:center;width:100%;margin-top:.8rem;min-height:52px;border:0;border-radius:14px;background:#0F3D34;color:#fff;font:inherit;font-weight:800;font-size:1rem;cursor:pointer;transition:transform .25s cubic-bezier(.22,1,.36,1),background-color .25s}
.pay-form button:active{transform:scale(.98)}@media (hover:hover){.pay-form button:hover{background:#0A2B25}}.pay-form button:disabled{opacity:.6;cursor:wait}
.pay-card.pay-desktop .pay-button{display:none}
.pay-card.pay-desktop .pay-other{margin:.4rem 0 .9rem}
.pay-card.pay-desktop .pay-other>summary{display:none}
.pay-card.pay-desktop .pay-qr{margin-top:.2rem}

.pay-timer{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.3rem .8rem;margin:0 0 1rem;padding:.9rem 1.1rem;border-radius:16px;background:#E7EFEC;color:#0F3D34}
.pay-timer-label{font-weight:700;font-size:.9rem}
.pay-timer-clock{font-family:var(--font-display,'Bricolage Grotesque',system-ui,sans-serif);font-size:1.7rem;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.pay-timer-bar{grid-column:1/-1;height:6px;border-radius:3px;background:rgba(15,61,52,.15);overflow:hidden}
.pay-timer-bar i{display:block;height:100%;border-radius:3px;background:#0F3D34;transform-origin:left;transition:transform 1s linear,background-color .4s}
.pay-timer.is-low{background:#FBEBE0}.pay-timer.is-low .pay-timer-bar i{background:#BD6236}.pay-timer.is-low{color:#8A4521}
.pay-timer.is-urgent{background:#FFF1ED;color:#922B20}.pay-timer.is-urgent .pay-timer-bar i{background:#922B20}
@media (prefers-reduced-motion:no-preference){.pay-timer.is-urgent .pay-timer-clock{animation:pay-pulse 1s ease-in-out infinite}}
@keyframes pay-pulse{50%{opacity:.55}}
.pay-timer-say{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pay-again{text-decoration:none;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;margin-top:.9rem;min-height:52px;border:0;border-radius:14px;background:#E4956C;color:#14201C;font:inherit;font-weight:800;cursor:pointer}
.pay-expired h2{color:#922B20}

/* Other payment apps, and the QR popup */
.pay-apps{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.6rem}
.pay-app{display:flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;border:1.5px solid #0F3D34;border-radius:14px;background:#fff;color:#0F3D34;font-weight:800;text-decoration:none}
.pay-app img{flex:none;display:block}
.pay-app:active{transform:scale(.98)}@media (hover:hover){.pay-app:hover{background:#E7EFEC}}
.pay-app:focus-visible,.pay-qr-zoom:focus-visible,.pay-zoom-close:focus-visible{outline:3px solid #BD6236;outline-offset:3px}
.pay-app-say:empty{display:none}
.pay-card.pay-desktop .pay-apps{display:none}
.pay-qr-zoom{display:block;margin:0 auto;padding:0;border:0;background:none;cursor:zoom-in;max-width:100%}
.pay-zoom{width:min(92vw,520px);max-height:92vh;padding:20px;border:0;border-radius:20px;background:#fff;text-align:center;color:#14201C}
.pay-zoom::backdrop{background:rgba(10,43,37,.72)}
.pay-zoom-img{display:block;width:100%;max-width:440px;height:auto;margin:0 auto 8px;border:1px solid #DCE3DF;border-radius:16px;padding:12px;background:#fff}
.pay-zoom-close{min-height:48px;padding:0 28px;border:0;border-radius:14px;background:#0F3D34;color:#fff;font:inherit;font-weight:800;cursor:pointer}
