/* MGBlock – stili comuni (modalità preventivo) */

/* carrello nascosto: non si compra online */
.ct-header-cart, .ct-cart-item, .woocommerce-mini-cart, .site-header .cart-contents { display: none !important; }

.mgb-quote-btn.button,
.woocommerce .mgb-quote-btn.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--mgb-red); color: #fff; border: 0; border-radius: 0;
	padding: 12px 20px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
	transition: background .2s, transform .2s;
}
.mgb-quote-btn.button:hover { background: var(--mgb-red-hover); color: #fff; transform: translateY(-2px); }
.mgb-quote-btn--lg.button { padding: 16px 28px; font-size: 14px; }

.mgb-quote-box {
	margin: 24px 0; padding: 22px 24px;
	border-left: 3px solid var(--mgb-red); background: rgba(0,0,0,.035);
}
.mgb-quote-box__text { margin: 0 0 14px; }

/* evidenzia il modulo quando si arriva da "Richiedi preventivo" */
.mgb-quote-target { animation: mgb-flash 1.6s ease .4s 1; }
@keyframes mgb-flash { 0%,100% { box-shadow: 0 0 0 0 rgba(143,43,36,0); } 35% { box-shadow: 0 0 0 6px rgba(143,43,36,.3); } }

/* card che si inclinano in 3D (vedi mgb-site.js) */
.mgb-tilt { position: relative; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; transform-style: preserve-3d; will-change: transform; }
.mgb-tilt:hover { box-shadow: 0 22px 40px -18px rgba(0,0,0,.35); transition-duration: .12s; }
.mgb-tilt::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(circle at var(--mgb-gx, 50%) var(--mgb-gy, 50%), rgba(255,255,255,.35), transparent 55%);
}
.mgb-tilt:hover::after { opacity: 1; }

/* voce di menu del configuratore */
.mgb-menu-config > a { color: var(--mgb-red) !important; font-weight: 700; }
