/* Only the plugin's own UI; no Woo/theme selectors or externally loaded fonts. */
.eca-legacy-waitlist { box-sizing: border-box; font-family: Roboto, Arial, sans-serif; color: #112233; font-size: 15px; line-height: 1.5; }
.eca-legacy-waitlist *, .eca-legacy-waitlist *::before, .eca-legacy-waitlist *::after { box-sizing: border-box; }
.eca-legacy-waitlist [hidden], .eca-legacy-waitlist[hidden] { display: none !important; }
.eca-legacy-waitlist__main { width: 100%; max-width: 560px; margin: 24px 0; }
.eca-legacy-waitlist label { display: block; font-size: 14px; margin: 10px 0 4px; }
.eca-legacy-waitlist input, .eca-legacy-waitlist select, .eca-legacy-waitlist textarea { display: block; width: 100%; min-width: 0; max-width: 100%; padding: 10px 12px; margin: 0; border: 1px solid #aab4bd; border-radius: 3px; background: #fff; color: #112233; font: inherit; line-height: 1.4; box-shadow: none; }
.eca-legacy-waitlist textarea { resize: vertical; }
.eca-legacy-waitlist input:focus-visible, .eca-legacy-waitlist select:focus-visible, .eca-legacy-waitlist textarea:focus-visible, .eca-legacy-waitlist button:focus-visible { outline: 2px solid #263f5b; outline-offset: 3px; }
.eca-legacy-waitlist .eca-legacy-waitlist__cta, button.eca-legacy-waitlist__cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 14px 24px; margin: 16px 0 0; border: 0; border-radius: 5px; background: linear-gradient(to bottom, #152535, #091929); color: #fff; font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: .2em; text-decoration: none; cursor: pointer; box-shadow: none; }
.eca-legacy-waitlist .eca-legacy-waitlist__cta:hover, button.eca-legacy-waitlist__cta:hover { background: linear-gradient(to bottom, #263f5b, #112233); }
.eca-legacy-waitlist button:disabled { cursor: wait; opacity: .7; }
/* Presentation from the theme-owned legacy signup component (440px / 16px),
   with its standard-product-actions submit treatment. Native dialog/JS stay owned here. */
.eca-legacy-waitlist__dialog { width: min(440px, calc((100vw - 40px) * .95)); max-width: calc(100vw - 40px); max-height: calc(100dvh - 40px); margin: 20px auto; padding: 16px; border: 0; border-radius: 5px; background: #fff; box-shadow: 0 0 10px #555; overflow: auto; overscroll-behavior: contain; font-size: 16px; line-height: 1.5; }
.eca-legacy-waitlist__dialog::backdrop { background: rgba(50, 50, 50, .4); }
.eca-legacy-waitlist__dialog h2 { font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 26px; font-weight: 400; line-height: 1.5; text-align: center; margin: 0; color: #112233; }
.eca-legacy-waitlist__dialog p { margin: 10px 0; font: inherit; }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__select-heading { margin: 16px 0 14px; text-align: center; font: 200 20px/14px 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; }
.eca-legacy-waitlist .eca-legacy-waitlist__close { position: absolute; right: 0; top: 0; width: 32px; height: 32px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: #112233; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 50; box-shadow: none; font: 400 28px/1 Arial, sans-serif; }
.eca-legacy-waitlist__close span { display: block; }
.eca-legacy-waitlist__models { display: flex; flex-wrap: wrap; padding: 0 16px; margin: 0 0 20px; gap: 0; }
.eca-legacy-waitlist .eca-legacy-waitlist__model { display: flex; flex: 1 1 120px; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: #112233; font: 400 14px/14px 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; cursor: pointer; overflow-wrap: anywhere; box-shadow: none; text-transform: none; letter-spacing: normal; }
.eca-legacy-waitlist__model-image { display: block; width: 100%; border: 2px solid transparent; border-radius: 5px; }
.eca-legacy-waitlist__model.is-selected .eca-legacy-waitlist__model-image { border-color: #112233; }
.eca-legacy-waitlist__model img { display: block; width: 100%; height: auto; max-width: 100%; border: 2px solid #fff; transition: transform 200ms; }
.eca-legacy-waitlist__model:hover img { transform: scale(.97); }
.eca-legacy-waitlist__dialog form { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 16px; }
.eca-legacy-waitlist__dialog input { height: 49.5px; min-height: 0; padding: 12.75px 12px; border: 1px solid #e5e7eb; border-radius: 5px; color: #112233; font: 400 16px/22px Roboto, Arial, sans-serif; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); transition: border-color 160ms ease, box-shadow 160ms ease; }
.eca-legacy-waitlist__dialog input::placeholder { color: #888; opacity: 1; font-size: 14px; }
.eca-legacy-waitlist__dialog textarea { display: inline-block; min-height: 0; height: 30px; padding: 10px 10px 0; margin: 3px 0 5px; border: 0; border-radius: 5px; color: #112233; font: 400 15px/20px Roboto, Arial, sans-serif; resize: none; transition: height 200ms; }
.eca-legacy-waitlist__message { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); min-height: 50px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.eca-legacy-waitlist__message:focus-within { border-color: #112233; box-shadow: 0 0 0 3px rgb(17 34 51 / 14%); }
.eca-legacy-waitlist__message-input { border: 1px solid #fff; border-radius: 5px; padding-bottom: 6px; }
.eca-legacy-waitlist__dialog textarea:focus { color: #112233; outline: none; }
.eca-legacy-waitlist__dialog textarea::placeholder { color: #777; opacity: 1; }
.eca-legacy-waitlist__dialog textarea:focus, .eca-legacy-waitlist__dialog textarea:not(:placeholder-shown) { height: 90px; }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__delivery { width: 100%; padding: 0 5px; margin: -8px 0 0; text-align: left; color: #697580; font: 400 12px/1.4 Roboto, Arial, sans-serif; }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__cta { width: 220px; max-width: 100%; min-height: 52px; height: auto; padding: 14px 24px; margin: 4px auto 0; background: #112233; border-radius: 5px; color: #f5f6f7; font-size: clamp(14px, 2vw, 17px); font-weight: 400; line-height: 1.2; }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__cta:hover { background: #263f5b; }
.eca-legacy-waitlist__dialog button:focus-visible { outline: 2px solid #56718d; outline-offset: 3px; }
.eca-legacy-waitlist .eca-legacy-waitlist__notice { display: block; font-size: 13px; color: #8a2424; overflow-wrap: anywhere; }
.eca-legacy-waitlist__notice:empty, .eca-legacy-waitlist [data-eca-legacy-status]:empty { display: none; }
.eca-legacy-waitlist__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Original success screen overlays the retained form, preserving modal proportions. */
.eca-legacy-waitlist__success { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; background: #fff; text-align: center; color: #404040; font: 200 16px/20px Roboto; animation: eca-legacy-success-in 200ms ease; }
.eca-legacy-waitlist__success h3 { width: 100%; margin: 0; color: inherit; font: 400 26px/20px 'Roboto Condensed'; }
.eca-legacy-waitlist__success p { margin: 12px 0; }
.eca-legacy-waitlist__success h3 + p { margin-top: 28px; }
.eca-legacy-waitlist__success p + p { margin-top: 5px; }
.eca-legacy-waitlist__checkmark { display: flex; flex-shrink: 0; width: 80px; height: 80px; margin: 0 auto 1.2rem; position: relative; }
.eca-legacy-waitlist__checkmark circle { stroke: #e8f5e9; stroke-width: 4; }
.eca-legacy-waitlist__checkmark path { stroke: #4CAF50; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: eca-legacy-check 800ms ease forwards 400ms; }
@keyframes eca-legacy-check { to { stroke-dashoffset: 0; } }
@keyframes eca-legacy-success-in { from { opacity: 0; } to { opacity: 1; } }
button.eca-legacy-waitlist__floating { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: max-content; max-width: calc(100vw - 32px); margin: 0; }
@media (max-width: 600px) {
    .eca-legacy-waitlist__main .eca-legacy-waitlist__cta, button.eca-legacy-waitlist__floating { font-size: 14px; padding-inline: 16px; }
    button.eca-legacy-waitlist__floating { left: 0; right: 0; margin-inline: auto; }
}

/* Original Timepod floating fields, notices and country list, locally scoped. */
.eca-legacy-waitlist__field { position: relative; width: 100%; }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__field-label { position: absolute; left: 13px; top: 0; max-width: calc(100% - 26px); margin: 0; padding: 0; color: #777; font: 400 14px/19px Roboto, Arial, sans-serif; transform: translateY(15.5px); transform-origin: top left; transition: transform 200ms ease, color 160ms ease; cursor: text; }
.eca-legacy-waitlist__field input:focus + label,
.eca-legacy-waitlist__field input:not(:placeholder-shown) + label,
.eca-legacy-waitlist__field input:autofill + label { transform: translateY(7px) scale(.857143); }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__field input:focus,
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__field input:not(:placeholder-shown),
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__field input:autofill { padding: 21px 12px 4.5px; }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__field input:focus { border-color: #112233; box-shadow: 0 0 0 3px rgb(17 34 51 / 14%); outline: 2px solid transparent; outline-offset: 2px; }
@media (forced-colors: active) {
    .eca-legacy-waitlist__dialog .eca-legacy-waitlist__field input:focus,
    .eca-legacy-waitlist__dialog textarea:focus { outline: 2px solid Highlight; }
}
.eca-legacy-waitlist__field .eca-legacy-waitlist__notice { position: absolute; top: -10px; right: 0; z-index: 11; max-width: 100%; margin: 0; padding: 2px .8rem; background: #fffff0; border: 1px solid burlywood; color: #000; font: 400 12px/24px 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; }
.eca-legacy-waitlist__countries { position: absolute; top: 100%; left: 0; right: 0; max-height: 200px; overflow-y: auto; margin: 4px 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid #c0c0c0; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.15); z-index: 10; }
.eca-legacy-waitlist__countries li { margin: 0; padding: 10px 16px; cursor: pointer; font: 400 16px/24px 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; color: #112233; }
.eca-legacy-waitlist__countries li:hover,
.eca-legacy-waitlist__countries li[aria-selected=true] { background: #f0f0f0; }

/* Original legacy model caption: parent title followed by the first finish value. */
.eca-legacy-waitlist__model-name { text-align: center; font: 400 14px/14px 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; color: #112233; }
.eca-legacy-waitlist__model-name > span { font-weight: 400; }
.eca-legacy-waitlist__model-name > span + span { display: inline-block; margin-left: .2rem; font-size: 12px; color: #777; }
@media (max-width: 480px) {
    .eca-legacy-waitlist__model-name { display: flex; flex-direction: column; }
}

/* Pending email confirmation only; the existing ready/success views are unchanged. */
/* Retain the form's layout footprint, but remove it and its title from view/accessibility. */
.eca-legacy-waitlist__dialog.is-awaiting-confirmation { overflow: hidden; }
.eca-legacy-waitlist__dialog.is-awaiting-confirmation > h2,
.eca-legacy-waitlist__dialog.is-awaiting-confirmation [data-eca-legacy-ready] { visibility: hidden; }
.eca-legacy-waitlist__pending { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; overflow: auto; padding: 40px 32px; background: #fff; text-align: center; overflow-wrap: anywhere; }
.eca-legacy-waitlist__pending > * { flex-shrink: 0; max-width: 100%; }
.eca-legacy-waitlist__pending > :first-child { margin-top: auto; }
.eca-legacy-waitlist__pending > :last-child { margin-bottom: auto; }
.eca-legacy-waitlist__pending h3 { margin: 0 0 20px; color: #112233; font: 500 22px/1.3 'Roboto Condensed', Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.eca-legacy-waitlist__pending p { color: #526170; }
.eca-legacy-waitlist__pending .eca-legacy-waitlist__pending-email { color: #112233; font-weight: 500; }
.eca-legacy-waitlist__pending details { margin-top: 24px; font-size: 14px; }
.eca-legacy-waitlist__pending summary { display: list-item; list-style-position: inside; padding: 9px 14px; border: 1px solid #dce1e6; border-radius: 5px; background: #f5f7f9; color: #263f5b; cursor: pointer; }
.eca-legacy-waitlist__pending ul { margin: 8px 0 0; padding: 14px 16px 14px 32px; border: 1px solid #dce1e6; border-radius: 5px; background: #f5f7f9; text-align: left; list-style: disc outside; line-height: 1.5; }
.eca-legacy-waitlist__pending li { margin: 0; padding: 0; }
.eca-legacy-waitlist__pending li + li { margin-top: 6px; }
.eca-legacy-waitlist__pending .eca-legacy-waitlist__pending-note { font-size: 14px; line-height: 1.5; }
.eca-legacy-waitlist .eca-legacy-waitlist__pending-reset { margin-top: 16px; padding: 10px; border: 0; background: transparent; color: #263f5b; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.eca-legacy-waitlist__pending summary:focus-visible { outline: 2px solid #56718d; outline-offset: 3px; }

/* In-flight signup stays out of document flow; the form remains visible beneath it. */
.eca-legacy-waitlist__dialog.is-sending { overflow: hidden; }
.eca-legacy-waitlist__sending { position: absolute; left: 0; right: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: rgb(255 255 255 / 88%); text-align: center; color: #112233; cursor: wait; outline: none; }
.eca-legacy-waitlist__sending h3 { margin: 0 0 10px; font: 500 22px/1.3 'Roboto Condensed', Arial, sans-serif; letter-spacing: .04em; }
.eca-legacy-waitlist__sending p { max-width: 280px; margin: 0; color: #526170; font: 400 14px/1.5 Roboto, Arial, sans-serif; }
.eca-legacy-waitlist__sending-indicator { width: 24px; height: 24px; margin-bottom: 18px; border: 2px solid #dce1e6; border-top-color: #112233; border-radius: 50%; animation: eca-legacy-sending 1s linear infinite; }
@keyframes eca-legacy-sending { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .eca-legacy-waitlist__sending-indicator { animation: none; } }

/* Optional newsletter UI preview; no signup integration yet. */
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__newsletter-choice { display: flex; align-items: flex-start; gap: 8px; width: 100%; margin: 0; padding: 3px 0; color: #526170; font: 400 12px/1.45 Roboto, Arial, sans-serif; cursor: pointer; }
.eca-legacy-waitlist__dialog .eca-legacy-waitlist__newsletter-choice input { flex: 0 0 16px; width: 16px; height: 16px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: #112233; box-shadow: none; }
.eca-legacy-waitlist__newsletter-choice span { min-width: 0; }

.eca-legacy-waitlist__dialog .eca-legacy-waitlist__newsletter-preview-note { color: #697580; font-size: 12px; line-height: 1.5; }
