/* Marinelli Veicoli 1.1.1 - "Trova il tuo ricambio" (verde del sito aziendale) */
.mv{
	--mv-ink:#0b1119;
	--mv-panel:#131b27;
	--mv-red:#3bb375;
	--mv-red-dark:#42965b;
	--mv-line:rgba(255,255,255,.18);
	font-family:"Space Grotesk","Open Sans",system-ui,sans-serif;
	color:#fff;
	background:var(--mv-panel);
	position:relative;
	z-index:5;
}
.mv *,.mv *::before,.mv *::after{box-sizing:border-box}
.mv__in{display:flex;align-items:center;gap:18px;width:100%;max-width:1280px;margin:0 auto;padding:10px 32px}
.mv__toggle{display:flex;align-items:center;gap:12px;flex:none;margin:0;padding:0;border:0;background:none;color:#fff;text-align:left;cursor:default;font-family:inherit}
.mv__icon{display:grid;place-items:center;width:38px;height:38px;flex:none;background:var(--mv-red);color:#06140c;clip-path:polygon(0 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%)}
.mv__titles{display:flex;flex-direction:column;line-height:1.2}
.mv__titles strong{font-size:14px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
.mv__titles small{margin-top:3px;font-size:12px;color:#aeb9c2}
.mv.is-active .mv__titles small{color:#7fe0ab;font-weight:600}
.mv__chev{display:none}
.mv__form{display:flex;align-items:center;gap:10px;flex:1;min-width:0;margin:0}
.mv .mv__form select{flex:1 1 0;min-width:0;width:auto;height:42px;margin:0;padding:0 34px 0 14px;border:1px solid var(--mv-line);border-radius:0;background-color:rgba(255,255,255,.07);
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 13px center;color:#fff;font-family:inherit;font-size:14px;font-weight:500;line-height:1.2;appearance:none;-webkit-appearance:none;box-shadow:none;cursor:pointer;transition:border-color .2s,background-color .2s}
.mv .mv__form select:hover:not(:disabled),.mv .mv__form select:focus{border-color:#fff;background-color:rgba(255,255,255,.12);outline:0}
.mv .mv__form select:disabled{opacity:.42;cursor:not-allowed}
.mv .mv__form select option{color:#0b1119;background:#fff}
.mv .mv__go{flex:none;display:inline-flex;align-items:center;justify-content:center;height:42px;margin:0;padding:0 24px;border:0;border-radius:0;background:var(--mv-red);color:#06140c;font-family:inherit;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;clip-path:polygon(0 0,100% 0,100% calc(100% - 11px),calc(100% - 11px) 100%,0 100%);transition:background-color .2s,opacity .2s}
.mv .mv__go:hover:not(:disabled){background:var(--mv-red-dark);color:#fff}
.mv .mv__go:disabled{opacity:.45;cursor:not-allowed}
.mv .mv__clear{flex:none;font-size:13px;font-weight:600;color:#fff;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.mv .mv__clear:hover{color:#7fe0ab}
.mv .mv__form select[name="v_cat"]{border-color:rgba(59,179,117,.75)}
@media (min-width:1024px){.mv--bar .mv__form select[name="v_cat"]{flex:1.45 1 0}}
.mv__form.is-loading select{cursor:progress}
.mv--empty .mv__in{font-size:13px;color:#aeb9c2}

/* riquadro in pagina (widget Elementor / shortcode) */
.mv--card{background:var(--mv-panel);z-index:1}
.mv--card .mv__in{flex-direction:column;align-items:stretch;gap:20px;max-width:none;padding:30px 30px 32px}
.mv--card .mv__icon{width:52px;height:52px}
.mv--card .mv__titles strong{font-family:"Oswald","Arial Narrow",sans-serif;font-size:30px;font-weight:600;letter-spacing:0;white-space:normal;line-height:1.05}
.mv--card .mv__titles small{font-size:14px;margin-top:6px}
.mv--card .mv__form{flex-wrap:wrap}
.mv--card .mv__form select{flex:1 1 180px;height:50px}
.mv--card .mv__form select[name="v_cat"]{flex:1 1 100%}
.mv--card .mv__go{height:50px;flex:1 1 180px}

/* telefono e tablet: la barra si apre con un tocco */
@media (max-width:1023px){
	.mv--bar .mv__in{flex-direction:column;align-items:stretch;gap:0;padding:0 18px}
	.mv--bar .mv__toggle{width:100%;padding:10px 0;cursor:pointer}
	.mv--bar .mv__titles{flex:1;min-width:0}
	.mv--bar .mv__titles strong{white-space:normal}
	.mv--bar .mv__chev{display:block;width:10px;height:10px;margin-right:6px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);transition:transform .2s}
	.mv--bar.is-open .mv__chev{transform:rotate(-135deg)}
	.mv--bar .mv__form{display:none;flex-direction:column;align-items:stretch;padding:4px 0 16px}
	.mv--bar.is-open .mv__form{display:flex}
	.mv--bar .mv__form select,.mv--bar .mv__go{flex:none;width:100%;height:48px}
	.mv--bar .mv__clear{align-self:center;padding:6px 0}
	.mv--card .mv__in{padding:22px 18px 24px}
	.mv--card .mv__form select,.mv--card .mv__go{flex:1 1 100%}
}
