
/* Isolated capture dialog: all existing page styles remain intact. */
.lead-dialog{box-sizing:border-box;width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:30px 24px 24px;border:1px solid #c9a85d;border-radius:22px;background:linear-gradient(145deg,#1c2935,#101820);color:#f4f3fa;overflow:auto;overscroll-behavior:contain;box-shadow:0 0 0 5px #c9a85d15,0 25px 90px #0009;text-align:start}
.lead-dialog::backdrop{background:#000a;backdrop-filter:blur(8px)}
.lead-dialog .lead-close{position:absolute;inset-inline-end:12px;top:10px;min-width:44px;min-height:44px;border:0;background:transparent;color:#ead08d;font-size:22px;cursor:pointer}
.lead-form{display:flex;flex-direction:column;gap:9px;padding-top:20px}.lead-form h2{letter-spacing:normal;font-family:inherit;font-size:22px;line-height:1.35;text-align:center;margin:0 18px 16px;color:#ead08d}.lead-form label{font-size:14px;font-weight:600}.lead-form input,.lead-form #lead-country{box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid #607080;border-radius:10px;background:#101820;color:#fff;font:inherit;font-size:16px}.lead-form input:focus-visible,.lead-form button:focus-visible{outline:2px solid #e2c378;outline-offset:3px}.lead-form input[aria-invalid=true]{border-color:#ffa8a8}.lead-form .lead-error{margin:0;color:#ffb9b9;font-size:13px;line-height:1.4}.lead-form .lead-error:empty{display:none}.lead-form #lead-hint{font-size:13px;line-height:1.5;color:#b7c2cd;margin:0 0 8px}.lead-form #lead-continue{width:100%;justify-content:center;white-space:normal;text-align:center;min-height:52px;font-size:14px}.lead-form #lead-country{text-align:start;cursor:pointer}.lead-form #lead-countries{border:1px solid #607080;border-radius:10px;padding:8px;background:#101820}.lead-form #lead-countries[hidden]{display:none}.lead-form #lead-country-list{max-height:180px;overflow:auto;margin-top:8px}.lead-form #lead-country-list button{display:block;width:100%;text-align:start;padding:11px 8px;border:0;border-radius:6px;color:#eee;background:transparent;font:inherit;font-size:14px;cursor:pointer}.lead-form #lead-country-list button:hover,.lead-form #lead-country-list button[aria-pressed=true]{background:#c9a85d25}@media(max-width:480px){.lead-dialog{padding:25px 18px 20px}.lead-form h2{font-size:20px}}
/* One purchase dialog: pack preview and capture appear together. */
#lead-pack-preview:empty{display:none}#lead-pack-preview .full-collection-gallery{margin:0 0 12px;padding:0;border:0;box-shadow:none;background:none}#lead-pack-preview .collection-preview-group{margin:0 0 10px}#lead-pack-preview .collection-preview-group h4{margin:0 0 6px;font-size:12px;text-align:center;color:#e4c582}#lead-pack-preview .collection-preview-grid{gap:8px}#lead-pack-preview figure{margin:0}#lead-pack-preview figure img{max-height:80px;width:100%;object-fit:contain}#lead-pack-preview figcaption{font-size:10px;text-align:center}.lead-form #lead-continue{position:sticky;bottom:0;z-index:2;box-shadow:0 8px 0 8px #131e28}.lead-dialog{scroll-padding-bottom:75px}
#lead-pack-preview .collection-preview-grid figure{animation:none;padding:3px;border:0;background:transparent}#lead-pack-preview figure img{max-height:64px}#lead-pack-preview figcaption{font-size:9px;margin-top:3px}
/* Calling code is visibly separate from the editable national number. */
.lead-phone-row{display:flex;align-items:stretch;min-width:0;border:1px solid #607080;border-radius:10px;background:#101820}.lead-phone-row:focus-within{outline:2px solid #e2c378;outline-offset:3px}.lead-form #lead-dial-code{display:flex;align-items:center;justify-content:center;flex:none;min-width:58px;padding:0 10px;color:#ead08d;border-right:1px solid #607080;font-weight:600;font-size:16px}.lead-form .lead-phone-row #lead-phone{min-width:0;flex:1;border:0;background:transparent;outline:none;box-shadow:none}.lead-form .lead-phone-row:has([aria-invalid=true]){border-color:#ffa8a8}.lead-form #lead-hint{margin:0 0 2px;color:#d2dbe3;line-height:1.55}
/* Simple single-panel capture, with country and national number on one row. */
.lead-dialog{width:min(520px,calc(100% - 24px));padding:64px 32px 30px;background:linear-gradient(145deg,#171322,#0e0d16);border-color:#665078;box-shadow:0 24px 90px #0009;scroll-padding-bottom:20px}
.lead-dialog .lead-close{top:14px;inset-inline-end:20px;font:inherit;font-size:14px;color:#d5c9df;padding:8px}
.lead-form{padding:0;gap:10px}.lead-form h2{font-family:inherit;color:#f4f3fa;text-align:start;letter-spacing:-.045em;font-size:32px;line-height:1.2;margin:0}
.lead-form #lead-intro{color:#b5abbf;font-size:16px;line-height:1.5;margin:4px 0 20px}.lead-form label{font-weight:500;color:#e8e0ef}.lead-form label[for="lead-phone"]{margin-top:12px}
.lead-form input,.lead-form #lead-country{background:#16121e;border:1px solid #473b53;border-radius:11px;min-height:54px;padding:14px;color:#f4f3fa}.lead-form input::placeholder{color:#a69ab2}
.lead-phone-row{border:0;background:none;gap:10px;border-radius:0}.lead-phone-row:focus-within{outline:none}.lead-form .lead-phone-row #lead-country{width:auto;flex:0 0 116px;text-align:center;padding:10px;font-size:15px;white-space:nowrap}.lead-form .lead-phone-row #lead-phone{border:1px solid #473b53;background:#16121e;border-radius:11px}
.lead-form .lead-phone-row #lead-phone:focus-visible{outline:2px solid #e2c378;outline-offset:2px}.lead-form #lead-hint{font-size:12px;color:#b5abbf;line-height:1.6;margin:0 0 12px}.lead-form #lead-countries{background:#16121e;border-color:#473b53}.lead-form #lead-continue{position:static;border-radius:999px;box-shadow:none;min-height:56px;margin-top:6px;font-size:13px}
@media(max-width:480px){.lead-dialog{padding:60px 20px 24px}.lead-form h2{font-size:29px}.lead-form #lead-intro{font-size:15px;margin-bottom:16px}.lead-form .lead-phone-row #lead-country{flex-basis:104px}.lead-phone-row{gap:8px}}
/* Keep localized forms within the mobile viewport; avoid moving click targets while scrolling. */
.lead-dialog{overflow-x:hidden;scroll-behavior:auto}.lead-form,.lead-form>*{min-width:0}.lead-form h2,.lead-form #lead-intro,.lead-form #lead-hint{overflow-wrap:anywhere}.lead-dialog *{scroll-behavior:auto}

/* Contain the CTA highlight in its button (including RTL) and keep touch targets stable. */
.lead-form #lead-continue{position:relative;isolation:isolate;overflow:hidden}.lead-form #lead-continue::before{pointer-events:none}
