/* Menu del telefono: pannello da destra a scomparti (scelto da Ivan il 02/11/2026). Colori e caratteri del sito: rosso #d60a2e, inchiostro #222529. */
.eqm-m { --r: #d60a2e; --ink: #222529; --riga: #e7e7e7; --testo: #6f7378; position: fixed; inset: 0; z-index: 100000; visibility: hidden; pointer-events: none; font-family: Poppins, sans-serif; }
.eqm-m.aperto { visibility: visible; pointer-events: auto; }
html.eqm-m-bloccato, html.eqm-m-bloccato body { overflow: hidden; }
.eqm-m a { text-decoration: none; }
.eqm-m-velo { position: absolute; inset: 0; background: rgba(20, 21, 24, .55); opacity: 0; transition: opacity .3s ease; }
.eqm-m.aperto .eqm-m-velo { opacity: 1; }
.eqm-m-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 420px); display: flex; flex-direction: column; background: #fff; overflow: hidden; transform: translateX(100%); transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.eqm-m.aperto .eqm-m-box { transform: none; }
.eqm-m-testa { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 20px; border-bottom: 1px solid var(--riga); }
.eqm-m-marchio { font-size: 17px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.eqm-m-marchio b { font-weight: 300; }
.eqm-m-x { position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.eqm-m-x span { position: absolute; left: 12px; top: 21px; width: 20px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.eqm-m-x span + span { transform: rotate(-45deg); }
.eqm-m-corpo { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 20px 20px; }
.eqm-m-scomparto { border-bottom: 1px solid var(--riga); }
.eqm-m-apri { display: flex; align-items: center; width: 100%; min-height: 60px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); font-family: inherit; }
.eqm-m-apri span { font-size: 20px; font-weight: 600; }
.eqm-m-apri small { margin-left: 10px; font-size: 12px; color: var(--testo); }
.eqm-m-apri i { margin-left: auto; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .25s ease; }
.eqm-m-scomparto.aperto .eqm-m-apri i { transform: rotate(-135deg); }
.eqm-m-dentro { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.eqm-m-scomparto.aperto .eqm-m-dentro { max-height: 900px; padding-bottom: 16px; }
.eqm-m-modelli { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
.eqm-m-modelli a { color: var(--ink); text-align: center; }
.eqm-m-mini { display: block; aspect-ratio: 1; background: #e9e9e9; border-radius: 10px; overflow: hidden; }
.eqm-m-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eqm-m-modelli b { display: block; font-size: 10px; font-weight: 600; margin-top: 5px; letter-spacing: .02em; }
.eqm-m-tutti { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--r); }
.eqm-m-riga { display: flex; justify-content: space-between; padding: 12px 0; font-size: 15px; color: var(--ink); border-top: 1px solid var(--riga); }
.eqm-m-riga small { color: var(--testo); }
.eqm-m-voce { display: flex; align-items: center; min-height: 56px; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--riga); }
.eqm-m-dove { font-size: 12px; line-height: 1.6; color: var(--testo); margin: 14px 0 0; }
.eqm-m-fondo { display: grid; grid-template-columns: 1.8fr 1fr; gap: 8px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--riga); background: #fff; }
.eqm-m-btn { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.eqm-m-btn-cta { background: var(--r); color: #fff !important; }
.eqm-m-btn-wa { border: 1px solid currentColor; color: var(--ink) !important; }

@media (prefers-reduced-motion: reduce) { .eqm-m *, .eqm-m-box { transition: none !important; } }
