/* Maus Conformità Legale. Colori presi dalla palette Astra del sito. */
:root {
	--mcl-text: #333333;
	--mcl-muted: #5f6b7a;
	--mcl-line: #e1e6ec;
	--mcl-soft: #f5f7f9;
	--mcl-accent: #0075be;
	--mcl-accent-dark: #243673;
}

/* Documenti legali */
.mcl-doc { color: var(--mcl-text); line-height: 1.65; }
.mcl-doc h2 { font-size: 1.35em; margin: 2em 0 .6em; line-height: 1.3; }
.mcl-doc h3 { font-size: 1.1em; margin: 1.5em 0 .5em; }
.mcl-doc p, .mcl-doc ul, .mcl-doc ol { margin: 0 0 1em; }
.mcl-doc ul, .mcl-doc ol { padding-left: 1.3em; }
.mcl-doc li { margin-bottom: .35em; }
.mcl-doc a { color: var(--mcl-accent); text-decoration: underline; text-underline-offset: 2px; }
.mcl-updated { color: var(--mcl-muted); font-size: .9em; }
.mcl-seller { background: var(--mcl-soft); border-left: 3px solid var(--mcl-accent); padding: 14px 18px; }
.mcl-toc { background: var(--mcl-soft); padding: 14px 18px; margin: 0 0 1.5em; }
.mcl-toc ol { margin: .5em 0 0; columns: 2; column-gap: 32px; }
.mcl-toc a { text-decoration: none; }
.mcl-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .93em; display: block; overflow-x: auto; }
.mcl-table th, .mcl-table td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--mcl-line); }
.mcl-table thead th { background: var(--mcl-soft); font-weight: 600; }
.mcl-table code { font-size: .92em; white-space: normal; word-break: break-word; background: none; padding: 0; }
.mcl-modulo { border: 1px dashed #b9c3cf; padding: 16px 18px; }
.mcl-small { font-size: .85em; color: var(--mcl-muted); }
.mcl-dl dt { font-weight: 600; margin-top: .8em; }
.mcl-dl dd { margin: .2em 0 0; }

/* Bottoni */
.mcl-btn, .mcl-embed__btn {
	display: inline-block; background: var(--mcl-accent); color: #fff !important; border: 0; border-radius: 3px;
	padding: 11px 20px; font-weight: 600; line-height: 1.2; text-decoration: none !important; cursor: pointer;
}
.mcl-btn:hover, .mcl-btn:focus, .mcl-embed__btn:hover, .mcl-embed__btn:focus { background: var(--mcl-accent-dark); color: #fff; }
.mcl-cta { margin: 1em 0 1.4em; }

/* Garanzia legale */
.mcl-avviso { margin: 0 0 1.2em; }
.mcl-avviso img { display: block; max-width: 100%; height: auto; border: 1px solid var(--mcl-line); }
.mcl-avviso--compact img { max-width: 320px; }
.mcl-garanzia { border: 1px solid var(--mcl-line); border-left: 4px solid #1f6f43; background: #f6fbf8; padding: 12px 16px; margin: 0 0 1.2em; }
.mcl-garanzia p { margin: 0 0 .4em; }
.mcl-garanzia p:last-child { margin-bottom: 0; }
.mcl-garanzia__title { font-weight: 700; }
.mcl-garanzia--compact { font-size: .88em; }
.mcl-product-guarantee { clear: both; margin: 18px 0 6px; }

/* Omnibus */
.mcl-omnibus { display: block; font-size: .72em; font-weight: 400; color: var(--mcl-muted); line-height: 1.4; margin-top: 4px; }
.products .mcl-omnibus { font-size: .78em; }

/* Recensioni */
.mcl-reviews-note { font-size: .9em; color: var(--mcl-muted); background: var(--mcl-soft); padding: 10px 14px; }

/* Checkout */
.mcl-checkout-box { border: 1px solid var(--mcl-line); background: var(--mcl-soft); padding: 14px 18px; margin: 0 0 18px; font-size: .92em; }
.mcl-checkout-box__title { font-weight: 700; margin: 0 0 6px; }
.mcl-checkout-box ul { margin: 0 0 10px 1.1em; padding: 0; }
.mcl-checkout-box li { margin: 0 0 4px; }

/* Barra legale nel footer */
.mcl-legalbar { background: var(--mcl-soft); border-top: 1px solid var(--mcl-line); color: var(--mcl-muted); font-size: 13px; line-height: 1.6; }
.mcl-legalbar__inner { max-width: 1240px; margin: 0 auto; padding: 14px 16px; text-align: center; }
.mcl-legalbar p, .mcl-legalbar nav { margin: 0; }
.mcl-legalbar__links { margin-top: 4px !important; }
.mcl-legalbar a { color: var(--mcl-text); text-decoration: none; }
.mcl-legalbar a:hover, .mcl-legalbar a:focus { color: var(--mcl-accent); text-decoration: underline; }
.mcl-legalbar__recesso { font-weight: 600; color: var(--mcl-accent) !important; }
.mcl-sep { color: #a3adb9; }

/* Contenuti incorporati */
.mcl-embed { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 260px; background: #eef2f6; border: 1px solid var(--mcl-line); box-sizing: border-box; }
.mcl-embed__box { max-width: 460px; padding: 22px 20px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--mcl-text); }
.mcl-embed__box p { margin: 0 0 12px; }
.mcl-embed__box p:last-child { margin-bottom: 0; }
.mcl-embed__box a { color: var(--mcl-accent); }
.mcl-ig-note { min-height: 0; margin: 10px 0; }
.elementor-widget-google_maps .mcl-embed { min-height: 300px; }

/* Modulo di recesso */
.mcl-form { max-width: 640px; margin-top: 1.4em; }
.mcl-field { margin: 0 0 16px; border: 0; padding: 0; }
.mcl-field label, .mcl-field legend { display: block; font-weight: 600; margin-bottom: 5px; }
.mcl-field fieldset label, fieldset.mcl-field label { font-weight: 400; display: block; margin: 4px 0; }
.mcl-field input[type="text"], .mcl-field input[type="email"], .mcl-field input[type="date"], .mcl-field textarea { width: 100%; box-sizing: border-box; }
.mcl-field small { display: block; color: var(--mcl-muted); margin-top: 4px; }
.mcl-req { color: #b32d2e; }
.mcl-privacy { font-size: .88em; color: var(--mcl-muted); }
.mcl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mcl-btn--primary { font-size: 1.05em; padding: 13px 26px; }
.mcl-alert { padding: 14px 18px; margin: 0 0 18px; border-left: 4px solid; }
.mcl-alert ul { margin: .3em 0 0 1.1em; }
.mcl-alert--error { border-color: #b32d2e; background: #fcf0f1; }
.mcl-alert--ok { border-color: #1f6f43; background: #edf7f0; }
.mcl-alert__title { font-weight: 700; font-size: 1.15em; margin: 0 0 6px; }
.mcl-order-recesso { margin-top: 16px; }

/* Banner cookie integrato: i tre pulsanti hanno lo stesso aspetto (nessuna scelta favorita) */
.mcl-cb[hidden] { display: none !important; }
.mcl-cb { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 999999; display: flex; justify-content: center; pointer-events: none; }
.mcl-cb__inner { position: relative; pointer-events: auto; width: 100%; max-width: 760px; background: #fff; color: var(--mcl-text); border: 1px solid var(--mcl-line); border-radius: 6px; box-shadow: 0 10px 40px rgba(20, 30, 45, .18); padding: 20px 22px 18px; font-size: 14.5px; line-height: 1.55; }
.mcl-cb__title { font-weight: 700; font-size: 16px; margin: 0 28px 6px 0; }
.mcl-cb__text { margin: 0 0 14px; }
.mcl-cb__text a { color: var(--mcl-accent); text-decoration: underline; }
.mcl-cb__close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; background: none; color: var(--mcl-muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
.mcl-cb__close:hover, .mcl-cb__close:focus { color: var(--mcl-text); background: var(--mcl-soft); border-radius: 4px; }
.mcl-cb__prefs { border-top: 1px solid var(--mcl-line); padding-top: 10px; margin: 0 0 14px; }
.mcl-cb__cat { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; margin: 0; font-weight: 400; cursor: pointer; }
.mcl-cb__cat input { margin-top: 4px; flex: 0 0 auto; width: 16px; height: 16px; }
.mcl-cb__cat strong { display: block; }
.mcl-cb__cat span { color: var(--mcl-muted); }
.mcl-cb__cat strong { color: var(--mcl-text); }
.mcl-cb__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.mcl-cb__btn { flex: 1 1 0; min-width: 140px; background: var(--mcl-accent); color: #fff; border: 0; border-radius: 4px; padding: 11px 16px; font-size: 14.5px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.mcl-cb__btn:hover, .mcl-cb__btn:focus { background: var(--mcl-accent-dark); color: #fff; }
.mcl-cb__btn[hidden] { display: none; }
@media (max-width: 560px) {
	.mcl-cb { left: 0; right: 0; bottom: 0; }
	.mcl-cb__inner { border-radius: 8px 8px 0 0; padding: 18px 16px 16px; max-height: 85vh; overflow-y: auto; }
	.mcl-cb__btn { flex-basis: 100%; }
}
@media print { .mcl-cb { display: none !important; } }

/* Segnaposto visibili solo agli amministratori */
.mcl-todo { background: #fff3a0; color: #5c4a00; padding: 1px 5px; font-size: .9em; font-weight: 600; }

@media (max-width: 640px) {
	.mcl-toc ol { columns: 1; }
	.mcl-legalbar__inner { text-align: left; }
}

@media print {
	.mcl-legalbar, .mcl-cookie-prefs, .mcl-form button { display: none !important; }
}
