/* evvoli.it v2 enhancement layer (audit 24 Oct 2026, docs/audit-2026-10-24.md).
   Loaded after site.css on every page; remove the v2.css / v2.js tags to go back to the review-v1 look.
   Rules: everything eases (no jumps), no cyan glow, phones checked. Halloween layer untouched. */
:root{--v2-ink:rgba(255,255,255,.92);--v2-soft:rgba(255,255,255,.7);--v2-line:rgba(255,255,255,.16);--v2-ease:cubic-bezier(.2,.7,.2,1)}

/* ---------- 1. Buttons: one size system, ink hovers (no cyan) ---------- */
.btn,.btn-o{min-height:48px!important;font-size:13px!important;transition:background .35s ease,border-color .35s ease,color .35s ease,box-shadow .45s ease,transform .45s var(--v2-ease)}
.btn:hover{background:#fff!important;box-shadow:0 14px 34px -14px rgba(0,0,0,.95)!important;transform:translateY(-1px)}
.btn-o:hover{border-color:rgba(255,255,255,.9)!important;background:rgba(255,255,255,.06)!important;box-shadow:none!important;transform:translateY(-1px)}
.btn:active,.btn-o:active{transform:translateY(0);transition-duration:.15s}
header .btn{min-height:40px!important;padding:0 20px!important;font-size:12.5px!important}
/* model switch pills (8 L / 4 L) */
a[style*="border-radius: 100px"]:not(.btn):not(.btn-o){transition:border-color .35s ease,color .35s ease,background .35s ease}
a[style*="border-radius: 100px"]:not(.btn):not(.btn-o):hover{border-color:rgba(255,255,255,.85)!important;color:#fff!important;background:rgba(255,255,255,.04)}

/* ---------- 2. Links: the underline draws in, in ink ---------- */
.lnk{background-image:linear-gradient(currentColor,currentColor)!important;transition:background-size .4s var(--v2-ease),color .3s ease}
.lnk:hover{color:#fff}
footer a{background:linear-gradient(currentColor,currentColor) left calc(100% - 2px)/0% 1px no-repeat;transition:background-size .4s var(--v2-ease),color .3s ease}
footer a:hover{background-size:100% 1px;color:#fff}
.dots a:hover::before{background:#fff!important;box-shadow:none!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[role=tab]:focus-visible,[role=button]:focus-visible{outline:1px solid #fff!important;outline-offset:4px}
/* scroll progress line and newsletter wash: ink instead of cyan */
.prog{background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.75))!important}
#next{background:radial-gradient(50% 60% at 50% 0%,rgba(255,255,255,.035),rgba(255,255,255,0) 70%),#0D0D0E!important}

/* ---------- 3. Home: range cards that line up ---------- */
/* hero height unchanged: the wide photo's crop keeps the tower clear of the headline only at its current height */
#range .uv img{transition:scale 1s var(--v2-ease)}
#range .rv:hover .uv img{scale:1.035}
.card-actions{margin-top:auto!important;padding-top:10px;align-items:center;gap:18px!important;font-size:13px!important}
.card-actions a:first-child{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border:1px solid rgba(255,255,255,.3);border-radius:100px;background-image:none!important;
  transition:border-color .35s ease,background .35s ease,color .35s ease}
.card-actions a:first-child:hover{border-color:#fff;background:rgba(255,255,255,.06);color:#fff}
.card-actions a:last-child::after{content:' →';display:inline-block;transition:transform .4s var(--v2-ease)}
.card-actions a:last-child:hover::after{transform:translateX(4px)}

/* ---------- 4. Icons (line, 1.4 stroke, drawn for evvoli.it) ---------- */
.ico{display:inline-block;flex:none;width:24px;height:24px;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.ico-shield{--i:url(icons/shield.svg)}.ico-book{--i:url(icons/book.svg)}.ico-return{--i:url(icons/return.svg)}.ico-phone{--i:url(icons/phone.svg)}
/* "Buy with confidence" (Home): icon + label */
a.conf{display:flex!important;align-items:flex-start;gap:14px;line-height:1.5}
a.conf .ico{width:22px;height:22px;margin-top:1px;color:rgba(255,255,255,.85);transition:transform .5s var(--v2-ease)}
a.conf:hover .ico{transform:translateY(-2px)}
/* Support cards: icon above the title */
section[aria-label="Help options"] .ico{width:28px;height:28px;color:rgba(255,255,255,.85);margin-bottom:6px}
section[aria-label="Help options"] a.lnk{font-size:13px!important}

/* ---------- 5. Support: photo beside the hero ---------- */
.v2-split{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(32px,6vw,88px);align-items:end}
.v2-hero-ph{overflow:hidden}
.v2-hero-ph img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
@media (max-width:860px){.v2-split{grid-template-columns:1fr}}

/* ---------- 6. Balanced grids (no orphans) ---------- */
div:has(> a.buy-row){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 48px!important}
a.buy-row{align-items:center!important;gap:16px;min-height:80px}
a.buy-row .row-thumb{width:56px;height:56px;flex:none;object-fit:cover;border-radius:2px;transition:scale .6s var(--v2-ease)}
a.buy-row .row-name{flex:1}
a.buy-row:hover .row-thumb{scale:1.06}
#manuals .rv[style*="grid-template-columns"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
div:has(> .rv > div[style*="font-size: 60px"]){grid-template-columns:repeat(5,minmax(0,1fr))!important}
div:has(> .rv > div[style*="font-size: 60px"]) > .rv > div[style*="font-size: 60px"]{font-size:clamp(38px,3.6vw,52px)!important;white-space:nowrap}
@media (max-width:1100px){div:has(> .rv > div[style*="font-size: 60px"]){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:700px){
  div:has(> a.buy-row),#manuals .rv[style*="grid-template-columns"]{grid-template-columns:1fr!important}
  div:has(> .rv > div[style*="font-size: 60px"]){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  div:has(> .rv > div[style*="font-size: 60px"]) > .rv:last-child:nth-child(odd){grid-column:1 / -1}
}

/* ---------- 7. Type: reading measure, no widows ---------- */
/* labels and meta lines: nothing under 12.5 px (was 11-12 px) */
:is([style*="font-size: 11px"],[style*="font-size: 11.5px"],[style*="font-size: 12px"]):not([id^=hw-]){font-size:12.5px!important}
p{max-width:72ch}
p.note{max-width:72ch!important}
.nw{white-space:nowrap}

/* ---------- 8. Phones: comfortable tap targets ---------- */
@media (max-width:700px){
  a.lnk:not(.buy-row):not(.conf):not([style*="display: flex"]){display:inline-flex;align-items:center;min-height:44px}
  footer a{display:inline-flex;align-items:center;min-height:44px;padding:0!important}
  header > a[aria-label]{min-height:44px;align-items:center}
  .offmap{min-height:44px}
}

/* ---------- 9. Phone menu ---------- */
.v2-menu-btn{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-8px;border:0;background:transparent;color:#fff;cursor:pointer}
.v2-menu-btn i{position:relative;display:block;width:20px;height:1px;background:currentColor;transition:background .3s ease}
.v2-menu-btn i::before,.v2-menu-btn i::after{content:'';position:absolute;left:0;width:20px;height:1px;background:currentColor;transition:transform .45s var(--v2-ease)}
.v2-menu-btn i::before{transform:translateY(-6px)}.v2-menu-btn i::after{transform:translateY(6px)}
.v2-menu-open .v2-menu-btn i{background:transparent}
.v2-menu-open .v2-menu-btn i::before{transform:rotate(45deg)}.v2-menu-open .v2-menu-btn i::after{transform:rotate(-45deg)}
@media (max-width:900px){.v2-menu-btn{display:inline-flex}}
@media (max-width:700px){header > div:last-of-type > span{display:none}}
.v2-menu{position:fixed;inset:0;z-index:34;display:flex;flex-direction:column;justify-content:space-between;padding:calc(110px + env(safe-area-inset-top,0px)) 24px calc(32px + env(safe-area-inset-bottom,0px));
  background:rgba(9,9,9,.99);visibility:hidden;opacity:0;transition:opacity .45s ease,visibility 0s linear .45s}
.v2-menu-open .v2-menu{visibility:visible;opacity:1;transition:opacity .45s ease}
.v2-menu nav{display:flex;flex-direction:column;gap:6px}
.v2-menu nav a{font-family:'Playfair Display',serif;font-size:36px;line-height:1.25;color:var(--v2-ink);opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .6s var(--v2-ease),color .3s ease}
.v2-menu-open .v2-menu nav a{opacity:1;transform:none}
.v2-menu nav a:hover{color:#fff}
.v2-menu .v2-menu-foot{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:rgba(255,255,255,.55);opacity:0;transition:opacity .6s ease .25s}
.v2-menu-open .v2-menu .v2-menu-foot{opacity:1}
.v2-menu-open{overflow:hidden}

/* ---------- 10. Product tabs: Specifications / Manual & warranty ---------- */
.v2-tabs{display:flex;gap:28px;border-bottom:1px solid var(--v2-line);margin-bottom:8px}
.v2-tabs [role=tab]{position:relative;padding:14px 0 16px;border:0;background:none;color:rgba(255,255,255,.55);font:400 clamp(22px,2.4vw,30px)/1.15 'Playfair Display',serif;cursor:pointer;transition:color .35s ease}
.v2-tabs [role=tab]:hover{color:rgba(255,255,255,.85)}
.v2-tabs [role=tab][aria-selected=true]{color:#fff}
.v2-tabs [role=tab]::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:1px;background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .5s var(--v2-ease)}
.v2-tabs [role=tab][aria-selected=true]::after{transform:scaleX(1)}
.v2-panels{position:relative;overflow:hidden;transition:height .5s var(--v2-ease)}
.v2-panel{transition:opacity .4s ease,transform .5s var(--v2-ease)}
.v2-panel[hidden]{display:block!important;position:absolute;inset:0 0 auto;opacity:0;transform:translateY(8px);pointer-events:none;visibility:hidden}
.v2-panel-mw{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px 56px;padding-top:28px}
.v2-panel-mw h3{margin:0 0 10px;font:400 22px/1.2 'Playfair Display',serif}
.v2-panel-mw p{margin:0 0 14px;font-weight:300;font-size:15.5px;line-height:1.75;color:var(--v2-soft)}
.v2-vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- 11. Gallery thumbnails switch the main photo ---------- */
.v2-thumb{cursor:pointer;position:relative}
.v2-thumb img{transition:opacity .4s ease,scale .6s var(--v2-ease)}
.v2-thumb:hover img{scale:1.05}
.v2-thumb::after{content:'';position:absolute;inset:0;border:1px solid transparent;transition:border-color .35s ease;pointer-events:none}
.v2-thumb[aria-pressed=true]::after{border-color:rgba(255,255,255,.85)}
.v2-fade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .55s ease}

/* ---------- 12. FAQ: eased open and close ---------- */
details > summary > span[aria-hidden]{display:inline-block;transition:transform .45s var(--v2-ease)}
details.v2-open > summary > span[aria-hidden]{transform:rotate(45deg)}
details > summary{transition:color .3s ease}
details > summary:hover{color:#fff}

/* ---------- 13. Product pages: the cross-link becomes a proper card; table header at label size ---------- */
:is(section[aria-label="The other model"],section[aria-label^="Also in"]) > .rv{gap:28px!important;align-items:center!important}
:is(section[aria-label="The other model"],section[aria-label^="Also in"]) > .rv > img{width:clamp(120px,14vw,168px)!important;height:auto!important;aspect-ratio:4/5;transition:scale .9s var(--v2-ease)}
:is(section[aria-label="The other model"],section[aria-label^="Also in"]) > .rv:hover > img{scale:1.04}
:is(section[aria-label="The other model"],section[aria-label^="Also in"]) > .rv > a.lnk{font-size:clamp(24px,2.6vw,34px)!important;line-height:1.2}
section[aria-label="Specifications"] th{font-size:12.5px!important}

/* ---------- 14. Phones: product details fit the screen; one-row buy bar ---------- */
@media (max-width:700px){
  .v2-tabs{gap:22px}
  .v2-tabs [role=tab]{font-size:20px;white-space:nowrap}
  section[aria-label="Specifications"] table{min-width:0!important;table-layout:fixed}
  section[aria-label="Specifications"] :is(th,td){padding:14px 0!important;vertical-align:top;overflow-wrap:anywhere}
  section[aria-label="Specifications"] :is(th,td):first-child{width:42%;padding-right:16px!important}
  div[role=region][aria-label="Buy this product"]{flex-wrap:nowrap!important;gap:12px!important;padding-top:10px!important;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
  div[role=region][aria-label="Buy this product"] > div{min-width:0}
  div[role=region][aria-label="Buy this product"] > div div{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  div[role=region][aria-label="Buy this product"] > div div div:last-child{display:none}
  div[role=region][aria-label="Buy this product"] .btn{flex:none;min-height:44px!important;padding:0 18px!important}
}

/* ---------- 15. Language switch: IT · EN with a sliding underline; letterbox scene change between languages ---------- */
.v2-lang{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:rgba(255,255,255,.4)}
.v2-lang a{position:relative;display:inline-flex;align-items:center;min-height:32px;padding:0 2px;color:rgba(255,255,255,.55);letter-spacing:0;transition:color .35s ease}
.v2-lang a::after{content:'';position:absolute;left:0;right:0;bottom:6px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .45s var(--v2-ease)}
.v2-lang a:hover{color:#fff}
.v2-lang a:hover::after{transform:scaleX(1)}
.v2-lang a[aria-current]{color:#fff;font-weight:700}
.v2-lang a[aria-current]::after{transform:scaleX(1)}
.v2-menu .v2-lang a{min-height:44px;font-size:14px}
/* the cut: two black bars close from top and bottom, the language name appears, the bars open on the new page */
.v2-lang-cut{position:fixed;inset:0;z-index:95;pointer-events:none;visibility:hidden;transition:visibility 0s linear .7s}
.v2-lang-cut i{position:absolute;left:0;right:0;height:50.5%;background:#050505;transform:scaleY(0);transition:transform .62s cubic-bezier(.7,0,.2,1)}
.v2-lang-cut i:first-child{top:0;transform-origin:top}
.v2-lang-cut i:nth-child(2){bottom:0;transform-origin:bottom}
.v2-lang-cut b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) translateY(10px);font:italic 400 clamp(34px,5vw,64px)/1 'Playfair Display',serif;color:#efebe3;opacity:0;white-space:nowrap;
  transition:opacity .35s ease,transform .6s var(--v2-ease)}
.v2-lang-cut.shut{visibility:visible;pointer-events:auto;transition:visibility 0s}
.v2-lang-cut.shut i{transform:scaleY(1)}
.v2-lang-cut.shut b{opacity:1;transform:translate(-50%,-50%);transition-delay:.38s}
.v2-lang-cut.instant i,.v2-lang-cut.instant b{transition:none!important}

@media (prefers-reduced-motion:reduce){
  .v2-lang a,.v2-lang a::after,.v2-lang-cut,.v2-lang-cut *,.btn,.btn-o,.lnk,footer a,.card-actions a,#range .uv img,a.buy-row .row-thumb,.v2-menu,.v2-menu *,.v2-tabs *,.v2-panels,.v2-panel,.v2-thumb img,.v2-fade,details > summary > span{transition:none!important}
  .btn:hover,.btn-o:hover{transform:none}
}

/* Links whose target is not supplied yet (manual PDFs, cookie settings): shown, not clickable */
.lnk-off { opacity: .45; cursor: default; pointer-events: none; }

/* Message box that opens for "Other questions": eased height, no jump */
.v2-reveal { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: -16px; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease, margin-top .45s cubic-bezier(.2,.7,.2,1); }
.v2-reveal > div { overflow: hidden; min-height: 0; }
.v2-reveal.open { grid-template-rows: 1fr; opacity: 1; margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .v2-reveal { transition: none; } }

/* Form status under the send button: fades in, never jumps */
.v2-form-status { flex-basis: 100%; margin: 0; min-height: 0; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.7); opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .4s ease; }
.v2-form-status.on { opacity: 1; transform: none; }
.v2-form-status.bad { color: #f0c9b8; }
.v2-form-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .v2-form-status { transition: none; } }

/* Long words (Italian compounds like "termoventilatore") wrap instead of pushing the page wider on small phones */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 400px) { h1, h2, h3 { hyphens: auto; } }

/* Skip link for keyboard and screen-reader users: hidden until focused */
.v2-skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 100px; background: #fafafa; color: #0a0a0a; font: 700 13px Lato, sans-serif; text-decoration: none; transition: top .25s ease; }
.v2-skip:focus { top: 12px; }

/* About numbers (Gemma, 27 Oct): home photo that melts into the page, one full-width sentence that fades in word by word while its numbers roll into place */
.v2-globe { position: relative; overflow: hidden; padding: 140px clamp(20px, 8.5vw, 120px); background: #090909; }
.v2-globe-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0; transform: scale(1.06); transition: opacity 1.8s ease, transform 2.6s cubic-bezier(.2,.7,.2,1); }
.v2-globe.in .v2-globe-bg { opacity: .5; transform: none; }
.v2-globe::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, #090909 0%, rgba(9,9,9,.55) 30%, rgba(9,9,9,.5) 55%, rgba(11,11,11,.85) 85%, #0B0B0B 100%), radial-gradient(ellipse at 50% 50%, rgba(9,9,9,0) 40%, rgba(9,9,9,.75) 100%); }
.v2-globe-bg { z-index: 0; }
.v2-globe-in { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(460px, 44vw, 680px); }
.v2-globe-line { margin: 0; max-width: none; width: 100%; font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(32px, 5vw, 76px); line-height: 1.2; color: rgba(255,255,255,.88); text-shadow: 0 0 40px rgba(9,9,9,.95); }
.v2-globe-line .v2-w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.3em); transition: opacity 1.4s ease, filter 1.4s ease, transform 1.6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(1.2s + var(--w) * .13s); }
.v2-globe.in .v2-globe-line .v2-w { opacity: 1; filter: none; transform: none; }
.v2-odo { color: #fff; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.v2-odo > span:not(.v2-sr) { display: inline-block; height: 1.2em; line-height: 1.2; vertical-align: top; }
.v2-odo-d { overflow: hidden; clip-path: inset(0); }
.v2-globe-line .v2-odo-d.v2-w { filter: none; transform: none; }
.v2-odo-s { display: flex; flex-direction: column; line-height: 1.2; transform: translateY(0); transition: transform 2.6s cubic-bezier(.16,.84,.24,1); transition-delay: calc(1.4s + var(--w) * .13s + var(--k) * .09s); }
.v2-globe.in .v2-odo-s { transform: translateY(calc(var(--to) * -1.2em)); }
.v2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) { .v2-globe { padding: 110px 20px; } .v2-globe-in { min-height: 520px; } }
@media (prefers-reduced-motion: reduce) { .v2-globe-bg, .v2-globe-line .v2-w, .v2-odo-s { transition: none; } }
