/* EMME Visioncare – lens tint try-on. Scoped to .ett. Same buttons/chips as the site quizzes. */
.ett{margin:0 0 30px;color:#1f2a30;font:inherit}
.ett *{box-sizing:border-box}
.ett-box{max-width:820px;border:1px solid #d9e2e7;background:#f6f9fa;border-radius:8px;padding:18px 20px}
.ett-title{margin:0 0 4px;font-size:17px;font-weight:700;color:#002352}
.ett-intro{margin:0 0 6px;color:#45565f;font-size:14px}
.ett-priv{margin:0 0 14px;color:#45565f;font-size:12.5px}
.ett-priv::before{content:"\1F512\00a0"}
.ett-stage{position:relative;width:100%;background:#16232a;border-radius:8px;overflow:hidden;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;user-select:none;-webkit-user-select:none}
@supports not (aspect-ratio:4/3){.ett-stage{height:0;padding-top:75%}}
.ett-stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%}
.ett-stage video{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.ett-start{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;text-align:center;color:#fff;background:linear-gradient(160deg,#0f4c5c,#16232a)}
.ett-start p{margin:0;font-size:13.5px;opacity:.9;max-width:420px}
.ett-start .ett-glyph{width:150px;height:56px;margin-bottom:4px}
.ett-msg{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);background:rgba(0,0,0,.62);color:#fff;font-size:13px;padding:6px 12px;border-radius:16px;max-width:90%;text-align:center;pointer-events:none}
.ett-msg:empty{display:none}
.ett-tl{position:absolute;top:10px;right:10px;display:flex;gap:6px}
.ett-ic{border:0;border-radius:18px;min-height:34px;padding:0 12px;white-space:nowrap;background:rgba(255,255,255,.92);color:#0f4c5c;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.ett-ic[hidden]{display:none}
.ett-big{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:22px;border:0;background:#fff;color:#0f4c5c;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.ett-big.ett-alt{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.75)}
.ett-ctl{margin-top:14px}
.ett-row{margin:0 0 12px}
.ett-lbl{margin:0 0 6px;font-weight:700;color:#0f4c5c;font-size:14px}
.ett-lbl small{font-weight:400;color:#45565f}
.ett-opts{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2px 2px 6px;scrollbar-width:thin}
.ett-opts.ett-wrap{flex-wrap:wrap;overflow:visible}
.ett-opt{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:14px;line-height:1.2;min-height:40px;padding:6px 14px;border-radius:20px;border:1.5px solid #0f4c5c;background:#fff;color:#0f4c5c;cursor:pointer;white-space:nowrap}
@media (hover:hover){.ett-opt:hover{background:#e8f1f3}}
.ett-opt[aria-pressed="true"]{background:#0f4c5c;color:#fff}
.ett-opt:focus-visible,.ett-ic:focus-visible,.ett-big:focus-visible,.ett-btn:focus-visible{outline:3px solid #1d5c74;outline-offset:2px}
.ett-sw{width:20px;height:20px;border-radius:50%;border:1px solid rgba(0,0,0,.18);flex:0 0 auto}
.ett-range{display:flex;align-items:center;gap:10px;font-size:13px;color:#45565f}
.ett-range input{flex:1;accent-color:#0f4c5c}
.ett-info{margin:4px 0 0;padding:10px 12px;background:#fff;border:1px solid #d9e2e7;border-radius:8px;font-size:14px}
.ett-info b{color:#0f4c5c}
.ett-info .ett-warn{display:block;margin-top:4px;color:#8a4b00;font-size:13px}
.ett-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ett-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:0 18px;border:0;border-radius:21px;color:#fff!important;text-decoration:none!important;font-weight:600;font-size:14px;line-height:1.2;background:#0f4c5c;cursor:pointer;font-family:inherit}
.ett-btn.ett-wa{background:#25d366}
.ett-btn.ett-ghost{background:#fff;color:#0f4c5c!important;border:1.5px solid #0f4c5c}
.ett-btn:hover{opacity:.9}
.ett-note{margin:12px 0 0;color:#45565f;font-size:12.5px}
.ett-hide{display:none!important}
.ett-close{display:none}
.ett-save{position:absolute;right:54px;bottom:10px;z-index:2}
.ett-exp{position:absolute;right:10px;bottom:10px;z-index:2;width:36px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.ett-exp[hidden]{display:none}
.ett-kiosk .ett-exp{width:48px}
.ett-kiosk .ett-save{right:68px}
/* expanded photo: fills the screen, whole photo visible */
html.ett-lock2,html.ett-lock2 body{overflow:hidden!important}
.ett-bigview .ett-stage,.ett-bigview .ett-stage.ett-on{position:fixed!important;inset:0!important;top:0!important;z-index:2147483600!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;background:#000!important;box-shadow:none!important}
.ett-bigview .ett-stage canvas{object-fit:contain;cursor:zoom-in}
.ett-bigview .ett-close,.ett-bigview .ett-save,.ett-bigview .ett-ic[data-k="live"],.ett-bigview .ett-msg,.ett-bigview .ett-next{display:none!important}
.ett-save[hidden]{display:none}
@media(max-width:600px){.ett-box{padding:14px 12px}.ett-stage{aspect-ratio:3/4}
/* phones: keep the picture in view while tapping colours below it */
.ett-stage.ett-on{position:sticky;top:var(--ett-top,0px);z-index:20;aspect-ratio:1/1;box-shadow:0 6px 14px rgba(0,0,0,.18)}}
/* Once a photo is up: no scrolling back and forth between the picture and the colours */
.ett-main{display:block}
@media(min-width:900px){
.ett-using .ett-box{max-width:none}
.ett-using .ett-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;align-items:start}
.ett-using .ett-stage{aspect-ratio:1/1;position:sticky;top:calc(var(--ett-top,0px) + 10px);max-height:calc(100vh - var(--ett-top,0px) - 20px)}
.ett-using .ett-ctl{margin-top:0}
.ett-using .ett-side .ett-opts{flex-wrap:wrap;overflow:visible}
.ett-using .ett-side .ett-opt{min-height:36px;padding:5px 12px;font-size:13.5px}
.ett-using .ett-acts{margin-top:10px}}
/* Phones and tablets: once a photo is up, the tool fills the screen like a camera app -
   photo on top, tints in a fixed panel underneath, nothing to scroll back and forth */
@media(max-width:899px){
html.ett-lock,html.ett-lock body{overflow:hidden!important}
.ett-using:not(.ett-kiosk) .ett-box{position:fixed;inset:0;z-index:2147483000;max-width:none;margin:0;border:0;border-radius:0;padding:0;background:#fff;display:flex;flex-direction:column}
.ett-using:not(.ett-kiosk) .ett-title,.ett-using:not(.ett-kiosk) .ett-intro,.ett-using:not(.ett-kiosk) .ett-priv,.ett-using:not(.ett-kiosk) .ett-note{display:none}
.ett-using:not(.ett-kiosk) .ett-main{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.ett-using:not(.ett-kiosk) .ett-stage,.ett-using:not(.ett-kiosk) .ett-stage.ett-on{position:relative;top:auto;flex:1 1 auto;min-height:0;height:auto;aspect-ratio:auto;border-radius:0;box-shadow:none;padding-top:0}
.ett-using:not(.ett-kiosk) .ett-side{flex:0 0 auto;height:40vh;height:40dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d9e2e7}
.ett-using:not(.ett-kiosk) .ett-ctl{margin:0}
.ett-using:not(.ett-kiosk) .ett-row{margin:0 0 8px}
.ett-using:not(.ett-kiosk) .ett-lbl{margin:0 0 3px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#45565f}
.ett-using:not(.ett-kiosk) .ett-opts{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:2px 2px 4px;scrollbar-width:none}
.ett-using:not(.ett-kiosk) .ett-opts::-webkit-scrollbar{display:none}
.ett-using:not(.ett-kiosk) .ett-opt{min-height:34px;padding:4px 12px;font-size:13.5px}
.ett-using:not(.ett-kiosk) .ett-swopt{flex-direction:column;gap:4px;min-width:60px;min-height:0;padding:2px;border:0;border-radius:10px;background:none;color:#1f2a30;font-size:11.5px;white-space:nowrap}
.ett-using:not(.ett-kiosk) .ett-swopt .ett-sw{width:38px;height:38px;border:2px solid #fff;box-shadow:0 0 0 1px #c9d4d9}
.ett-using:not(.ett-kiosk) .ett-swopt[aria-pressed="true"]{background:none;color:#0f4c5c;font-weight:700}
.ett-using:not(.ett-kiosk) .ett-swopt[aria-pressed="true"] .ett-sw{box-shadow:0 0 0 3px #0f4c5c}
.ett-using:not(.ett-kiosk) .ett-info{margin:2px 0 0;padding:6px 10px;font-size:12.5px;line-height:1.35}
.ett-using:not(.ett-kiosk) .ett-acts{flex-wrap:nowrap;overflow-x:auto;gap:6px;margin-top:8px;scrollbar-width:none}
.ett-using:not(.ett-kiosk) .ett-acts::-webkit-scrollbar{display:none}
.ett-using:not(.ett-kiosk) .ett-btn{flex:1 1 0;min-width:0;min-height:40px;padding:4px 8px;font-size:12.5px;line-height:1.15;text-align:center;white-space:normal}
.ett-using:not(.ett-kiosk) .ett-close{display:inline-flex;align-items:center;justify-content:center;position:absolute;top:10px;left:10px;width:36px;padding:0;font-size:16px;z-index:2}
.ett-using:not(.ett-kiosk) .ett-close[hidden]{display:none}
@media(min-width:600px){.ett-using:not(.ett-kiosk) .ett-side{height:34vh;height:34dvh;padding-left:20px;padding-right:20px}}}
/* In-store iPad (portrait) mode */
.ett-kiosk{margin:0}
.ett-kiosk .ett-box{max-width:none;border:0;background:transparent;padding:0}
.ett-kiosk .ett-title,.ett-kiosk .ett-intro,.ett-kiosk .ett-priv,.ett-kiosk .ett-note{display:none}
.ett-kiosk .ett-stage,.ett-kiosk .ett-stage.ett-on{aspect-ratio:auto;height:56vh;height:56dvh;position:relative;top:auto;border-radius:14px;box-shadow:none}
.ett-kiosk .ett-ctl{margin-top:16px}
.ett-kiosk .ett-row{margin-bottom:10px}
.ett-kiosk .ett-start .ett-big{min-height:64px;padding:0 40px;font-size:22px;border-radius:32px}
.ett-kiosk .ett-start p{font-size:17px}
.ett-kiosk .ett-start .ett-glyph{width:220px;height:82px}
.ett-kiosk .ett-ic{min-height:48px;padding:0 18px;font-size:16px;border-radius:24px}
.ett-kiosk .ett-ic.ett-next{background:#0f4c5c;color:#fff}
.ett-kiosk .ett-msg{font-size:17px;padding:8px 16px;border-radius:20px}
.ett-kiosk .ett-lbl{font-size:16px}
.ett-kiosk .ett-opt{min-height:50px;padding:8px 18px;font-size:17px;border-radius:25px}
.ett-kiosk .ett-sw{width:24px;height:24px}
.ett-kiosk .ett-range{font-size:16px}
.ett-kiosk .ett-info{font-size:16px}
