.ag-mp {
	--ag-mp-gap: 12px;
	--ag-mp-content-gap: 6px;
	--ag-mp-circle-diameter: 92px;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--ag-mp-gap);
}

.ag-mp__btn {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	justify-content: center;
	padding: 12px 18px;
	min-height: 48px;
	box-sizing: border-box;
	text-decoration: none;
	text-align: center;
	background: #ffffff;
	color: #1f2937;
	border: 1px solid #dbe3ee;
	border-radius: 12px;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ag-mp__btn:hover,
.ag-mp__btn:focus-visible {
	text-decoration: none;
}

.ag-mp__btn:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.ag-mp__btn--round-pill {
	border-radius: 999px;
}

.ag-mp__btn--round-circle {
	width: var(--ag-mp-circle-diameter);
	height: var(--ag-mp-circle-diameter);
	border-radius: 50%;
	padding: 0;
}

.ag-mp__main {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 8px;
	height: 100%;
	min-width: 0;
	max-width: 100%;
}

.ag-mp__main--icon-end,
.ag-mp-icon-position-end .ag-mp__main {
	flex-direction: row-reverse;
}

.ag-mp__icon {
	display: inline-flex;
	flex: 0 0 auto;
	min-height: 100%;
	align-self: stretch;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.ag-mp__icon-img {
	display: block;
	width: 20px;
	height: 20px;
	max-width: 20px;
	max-height: 20px;
	object-fit: contain;
}

.ag-mp__content {
	display: inline-flex;
	flex-wrap: wrap;
	align-self: center;
	align-items: center;
	justify-content: center;
	gap: var(--ag-mp-content-gap);
	min-width: 0;
	max-width: 100%;
}

.ag-mp__label,
.ag-mp__price {
	line-height: 1.25;
}

.ag-mp__label {
	font-weight: 500;
}

.ag-mp__price {
	font-weight: 700;
}

.ag-mp__btn--round-circle .ag-mp__main,
.ag-mp__btn--round-circle .ag-mp__content {
	max-width: calc(100% - 16px);
}

.ag-mp__separator {
	opacity: 0.7;
}

.ag-mp__badge {
	position: absolute;
	top: 0;
	right: 0;
	transform: translate(30%, -30%);
	z-index: 2;
	padding: 4px 8px;
	border-radius: 999px;
	background: #fee2e2;
	color: #991b1b;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

.ag-mp__empty {
	width: 100%;
	padding: 18px;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	background: #f8fafc;
	color: #475569;
	text-align: center;
}

.ag-mp__debug {
	margin-top: 16px;
	padding: 12px;
	border: 1px solid #fde68a;
	border-radius: 8px;
	background: #fef3c7;
	color: #92400e;
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.ag-mp {
		justify-content: center;
	}

	.ag-mp__btn {
		max-width: 100%;
	}

	.ag-mp--hide-text-mobile .ag-mp__content {
		display: none;
	}

	.ag-mp--hide-text-mobile .ag-mp__main {
		gap: 0;
	}
}
