/**
 * Congresso — Costi mobile (schede generate da congresso-costi-mobile.js).
 */

@media (max-width: 767px) {
	body.single-evento.elementor-page-90 .site-main .elementor-90 .elementor-element-b5331e7.aiop-costi-mobile-active .elementor-element-f350f1d,
	body.elementor-page-90 .site-main .elementor-90 .elementor-element-b5331e7.aiop-costi-mobile-active .elementor-element-f350f1d {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 1.25rem !important;
		overflow-x: visible !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		--flex-direction: column !important;
	}

	body.single-evento.elementor-page-90 .site-main .elementor-90 .elementor-element-b5331e7.aiop-costi-mobile-active .elementor-element-f350f1d > .e-con.e-child,
	body.elementor-page-90 .site-main .elementor-90 .elementor-element-b5331e7.aiop-costi-mobile-active .elementor-element-f350f1d > .e-con.e-child {
		flex: 1 1 auto !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		--width: 100% !important;
		--flex-basis: auto !important;
	}

	body.single-evento.elementor-page-90 .site-main .elementor-90
		.elementor-element-b5331e7.aiop-costi-mobile-active [data-aiop-costi-mobile-panel='1']
		> :not(.aiop-costi-mobile__mount),
	body.elementor-page-90 .site-main .elementor-90
		.elementor-element-b5331e7.aiop-costi-mobile-active [data-aiop-costi-mobile-panel='1']
		> :not(.aiop-costi-mobile__mount) {
		display: none !important;
	}

	.elementor-element-b5331e7.aiop-costi-mobile-active .aiop-costi-mobile__mount {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin-top: 0;
	}

	.elementor-element-b5331e7.aiop-costi-mobile-active .aiop-costi-mobile__mount--main {
		margin-top: 0.75rem;
	}

	.elementor-element-b5331e7.aiop-costi-mobile-active
		[data-aiop-costi-desktop-grid='1'] {
		display: none !important;
	}

	.elementor-element-b5331e7.aiop-costi-mobile-active .elementor-element-eafaeb4 {
		overflow-x: visible !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.aiop-costi-mobile__table {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
	}

	.aiop-costi-mobile__group-title {
		margin: 0 0 0.5rem;
		padding: 0.5rem 0.75rem;
		background: #f0eeed;
		color: #1a121f;
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		line-height: 1.3;
		border-radius: 8px 8px 0 0;
	}

	.aiop-costi-mobile__group .aiop-costi-mobile__card:first-of-type {
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}

	.aiop-costi-mobile__group .aiop-costi-mobile__group-title + .aiop-costi-mobile__card {
		margin-top: 0;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}

	.aiop-costi-mobile__card {
		border: 1px solid rgba(0, 0, 0, 0.12);
		border-radius: 10px;
		background: #fff;
		overflow: hidden;
		margin-bottom: 0.35rem;
	}

	.aiop-costi-mobile__card-title {
		margin: 0;
		padding: 0.75rem 1rem;
		background: #faf9f9;
		font-size: 0.88rem;
		font-weight: 600;
		line-height: 1.35;
		color: #1a121f;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		min-width: 0;
		overflow-wrap: anywhere;
		word-break: break-word;
		hyphens: auto;
	}

	.aiop-costi-mobile__lines {
		margin: 0;
		padding: 0;
	}

	.aiop-costi-mobile__line {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0.65rem 1rem;
		border-top: 1px solid rgba(0, 0, 0, 0.08);
	}

	.aiop-costi-mobile__line:first-child {
		border-top: 0;
	}

	.aiop-costi-mobile__line dt {
		flex: 1 1 0;
		min-width: 0;
		margin: 0;
		font-size: 0.68rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: #eb6037;
		line-height: 1.3;
		overflow-wrap: anywhere;
		word-break: break-word;
		hyphens: auto;
	}

	.aiop-costi-mobile__line dd {
		flex: 0 1 auto;
		max-width: 42%;
		min-width: 0;
		margin: 0;
		font-size: 0.9rem;
		font-weight: 700;
		color: #1a121f;
		text-align: right;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.aiop-costi-mobile__cena {
		margin-top: 0.5rem;
	}

	.aiop-costi-mobile__cena-body {
		border: 1px solid rgba(0, 0, 0, 0.12);
		border-radius: 10px;
		background: #fff;
		padding: 0.75rem 1rem;
		text-align: center;
	}

	.aiop-costi-mobile__cena-body .elementor-heading-title {
		font-size: 0.75rem !important;
		line-height: 1.35 !important;
	}

	/* Pannelli quote satellite (Odontotecnica, Igienisti, ASO) */
	.aiop-costi-mobile__panel {
		border: 2px solid #eb6037;
		border-radius: 12px;
		overflow: hidden;
		background: #fff;
	}

	.aiop-costi-mobile__panel-head {
		padding: 0.65rem 0.85rem 0.55rem;
		background: linear-gradient(180deg, rgba(235, 96, 55, 0.12) 0%, #fff 100%);
		border-bottom: 1px solid rgba(235, 96, 55, 0.25);
	}

	.aiop-costi-mobile__panel-title {
		margin: 0;
		font-size: clamp(0.68rem, 3.1vw, 0.8rem);
		font-weight: 700;
		line-height: 1.35;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		color: #1a121f;
		min-width: 0;
		overflow-wrap: anywhere;
		word-break: break-word;
		hyphens: auto;
	}

	.aiop-costi-mobile__panel-note {
		margin: 0.35rem 0 0;
		font-size: 0.65rem;
		font-weight: 400;
		line-height: 1.35;
		color: rgba(26, 18, 31, 0.72);
		min-width: 0;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.aiop-costi-mobile__table--simple {
		padding: 0.5rem 0.65rem 0.65rem;
		gap: 0.35rem;
	}

	.aiop-costi-mobile__card--quote {
		border-radius: 8px;
		margin-bottom: 0;
		border-color: rgba(0, 0, 0, 0.1);
		min-width: 0;
	}

	.aiop-costi-mobile__quote-row {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 0.5rem;
		padding: 0.55rem 0.65rem;
		min-width: 0;
	}

	.aiop-costi-mobile__quote-label {
		flex: 1 1 0;
		min-width: 0;
		font-size: 0.72rem;
		font-weight: 500;
		line-height: 1.4;
		color: #1a121f;
		text-align: left;
		overflow-wrap: anywhere;
		word-break: break-word;
		hyphens: auto;
	}

	.aiop-costi-mobile__quote-value {
		flex: 0 1 auto;
		max-width: 38%;
		min-width: 3.25rem;
		font-size: 0.8rem;
		font-weight: 700;
		line-height: 1.35;
		color: #1a121f;
		text-align: right;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

@media (min-width: 768px) {
	.elementor-element-b5331e7 .aiop-costi-mobile__mount {
		display: none !important;
	}
}
