/* Brandify's quick-pay flow in the BAYAN reference layout; scoped to this page only. */
body[data-checkout="open"]{--paper:#f5f2ec;--ivory:#f8f5ef;--navy:#0c243c;--ink-soft:#38506a;--muted:#657b91;--gold:#b48647;--line:#d5dce3;background:radial-gradient(ellipse at 10% 0%,rgba(180,134,71,.12),transparent 48%),radial-gradient(ellipse at 95% 10%,rgba(12,36,60,.09),transparent 45%),var(--paper);color:var(--navy);min-height:100vh}
body[data-checkout="open"] [hidden]{display:none!important}
body[data-checkout="open"] :focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.reference-top{max-width:1200px;margin:auto;padding:24px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--ink-soft);font-size:.88rem}
.reference-top a:hover,.reference-footer a:hover{color:var(--gold)}
.reference-locale{border:1px solid var(--line);border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-size:.75rem;background:rgba(255,255,255,.25)}
.reference-main{max-width:520px;margin:22px auto 60px;padding:0 20px}
.reference-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;width:max-content;min-height:105px;margin:0 auto 20px;color:var(--navy);line-height:1.1}
.reference-brand>span{font-family:var(--font-main);font-weight:900;letter-spacing:-1.5px;font-size:2.1rem;direction:ltr;unicode-bidi:isolate}
.reference-brand .brand-gold{color:var(--gold)}
.reference-brand small{font-size:.75rem;font-weight:700;letter-spacing:2px;margin-top:5px;color:var(--ink-soft)}
.reference-sheet{background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:26px;padding:32px;box-shadow:0 24px 70px -40px rgba(12,36,60,.4)}
.reference-eyebrow{font-size:.76rem;font-weight:700;color:var(--gold);display:flex;align-items:center;gap:9px}
.reference-eyebrow:before{content:'';width:28px;height:2px;background:var(--gold)}
.reference-sheet h1{font-size:1.8rem;font-weight:800;margin:12px 0;line-height:1.35}
.reference-intro{color:var(--ink-soft);font-size:.93rem;line-height:1.9;margin-bottom:24px}
.reference-sheet .field{margin-bottom:16px}
.reference-sheet .field label{font-size:.88rem;color:var(--navy);font-weight:700;margin-bottom:8px}
.reference-sheet .field .req{color:var(--gold)}
.reference-sheet .field input,.reference-sheet .field select,.reference-sheet .field textarea{color:var(--navy);background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 15px;font-size:16px;box-shadow:none;font-family:var(--font-main)}
.reference-sheet .field input:focus,.reference-sheet .field select:focus,.reference-sheet .field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(180,134,71,.14)}
.reference-sheet .field input::placeholder,.reference-sheet .field textarea::placeholder{color:var(--muted)}
.reference-sheet .field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338506a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 16px center;background-size:14px;padding-inline-start:42px}
.reference-sheet .amount-wrap input{font-size:1.65rem;font-weight:700;direction:ltr;text-align:right;padding:16px 18px 16px 76px;min-height:84px}
.reference-sheet .amount-cur{font-size:.9rem;color:var(--muted);font-weight:500}
.reference-hint{font-size:.77rem;color:var(--muted);margin:8px 0 18px}
.reference-quick-title{font-size:.86rem;font-weight:700;margin-bottom:10px}
.reference-sheet .amount-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0}
.reference-sheet .amount-chips button{border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy);padding:11px 4px;font-size:.88rem;font-weight:500;font-variant-numeric:tabular-nums;min-height:51px;transition:background .2s,border-color .2s}
.reference-sheet .amount-chips button:hover,.reference-sheet .amount-chips button[aria-pressed="true"]{background:var(--ivory);border-color:var(--gold);color:var(--navy)}
.reference-sheet .check-row{display:flex;align-items:flex-start;gap:11px;padding:15px;margin:20px 0 0;background:var(--ivory);border:1px solid var(--line);border-radius:12px}
.reference-sheet .check-row input[type="checkbox"]{width:20px;height:20px;min-width:20px;margin:3px 0 0;accent-color:var(--gold)}
.reference-sheet .check-row label{font-size:.84rem;font-weight:400;color:var(--ink-soft);line-height:1.9;margin:0}
.reference-sheet .check-row a{color:var(--navy);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.reference-sheet .check-row.invalid{border-color:#c54b47}
.reference-sheet .pay-submit{width:100%;min-height:54px;margin-top:24px;background:linear-gradient(110deg,#d9ad63,#966a36);color:var(--navy);border-radius:99px;box-shadow:0 20px 35px -25px rgba(136,92,40,.6);font-weight:700}
.reference-sheet .pay-submit:hover:not(:disabled){box-shadow:0 20px 38px -21px rgba(136,92,40,.72)}
.reference-sheet .pay-submit:disabled{opacity:.58;cursor:not-allowed}
.reference-sheet .pay-error{color:#982f29;background:#fff1f0;border:1px solid #edc4c0;margin:16px 0;line-height:1.8}
.reference-sheet .pay-notice{color:#6e521f;background:#fff7df;border-color:#e9ce81;margin-bottom:16px}
.reference-sheet .pay-notice a{color:var(--navy);text-decoration:underline}
.reference-edit{font-size:.86rem;color:var(--gold);text-decoration:underline;text-underline-offset:4px;margin:0 0 16px;cursor:pointer}
.reference-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--ivory);border-radius:12px;padding:14px 16px;margin-bottom:20px;color:var(--ink-soft)}
.reference-summary strong{font-size:1.1rem;font-weight:700;color:var(--navy);margin-inline-start:auto;direction:ltr;unicode-bidi:isolate}
.reference-summary span:last-child{font-size:.85rem}
.reference-step-label{font-size:1.06rem;font-weight:700;margin:4px 0 16px}
.reference-sheet .form-grid{gap:16px}
.reference-sheet .field.invalid input,.reference-sheet .field.invalid select,.reference-sheet .field.invalid textarea{border-color:#c54b47}
.reference-sheet .field .err{color:#a53832}
.reference-secure{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-size:.76rem;margin-top:16px}
.reference-secure svg{width:15px;height:15px;flex-shrink:0}
.reference-sheet .pay-methods{text-align:center;border-top:1px solid var(--line);margin-top:17px;padding-top:13px}
.reference-sheet .pm-title{color:var(--muted)}
.reference-sheet .pm-row{justify-content:center}
.reference-sheet .pm-logo{background:#fff;box-shadow:0 0 0 1px var(--line)}
.reference-sheet .pm-chip{color:var(--ink-soft);background:#fff;border-color:var(--line)}
.reference-footer{text-align:center;font-size:.77rem;color:var(--muted);margin-top:22px;line-height:2}
.reference-footer a{color:var(--ink-soft);text-decoration:underline;text-underline-offset:3px}
@media(max-width:540px){.reference-top{padding:18px 20px}.reference-main{margin-top:10px;padding:0 16px}.reference-sheet{padding:25px 22px;border-radius:22px}.reference-brand{min-height:88px}.reference-sheet h1{font-size:1.6rem}}
@media(max-width:380px){.reference-sheet{padding:22px 17px}.reference-sheet .amount-chips{gap:7px}.reference-sheet .amount-chips button{font-size:.82rem}}
