/* Agencia Mendia - Widget Menú de Precios
 * La mayoría de los estilos visuales (colores, tipografía, bordes, etc.)
 * se generan dinámicamente desde los controles de Elementor.
 * Este archivo solo contiene la estructura/layout base. */

.amw-menu-precios {
	width: 100%;
}

.amw-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	border-bottom: 1px solid transparent; /* color/grosor lo define Elementor */
	transition: background-color 0.3s ease;
}

.amw-item[data-image-position="right"] {
	flex-direction: row-reverse;
}

.amw-item[data-image-position="top"] {
	flex-direction: column;
}

.amw-item__link-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
}

.amw-item__image {
	flex-shrink: 0;
	position: relative;
	width: 70px;
	height: 70px;
}

.amw-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.amw-hover-scale-on .amw-item:hover .amw-item__image img {
	transform: scale(1.08);
}

.amw-item__body {
	flex: 1;
	min-width: 0;
}

.amw-item__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.amw-item__title-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.amw-item__title {
	font-weight: 600;
	position: relative;
	z-index: 2;
	text-decoration: none;
	color: inherit;
}

a.amw-item__title:hover {
	text-decoration: underline;
}

.amw-item__price-wrap {
	display: flex;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
}

.amw-item__old-price {
	text-decoration: line-through;
	opacity: 0.7;
	font-size: 0.85em;
}

.amw-item__price {
	font-weight: 700;
}

.amw-item__description {
	margin-top: 4px;
	line-height: 1.5;
}

.amw-item__badge {
	display: inline-block;
	font-size: 0.7em;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	padding: 4px 8px;
	border-radius: 4px;
	background-color: #27ae60;
	color: #fff;
}

.amw-item__badge--on-image {
	position: absolute;
	top: 4px;
	right: 4px;
}

.amw-item__header {
	display: flex;
	align-items: baseline;
}

.amw-item__title-wrap,
.amw-item__price-wrap {
	flex: none;
}

.amw-item__dots {
	flex: 1 1 auto;
	position: relative;
	min-width: 16px;
	height: 0;
	border-bottom: 2px dotted #c9c9c9;
}
.amw-lightbox-hint {
	position: fixed;
	left: 50%;
	bottom: 30px;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.7);
	color: #ffffff;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	z-index: 10001;
	opacity: 1;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.amw-lightbox-hint.is-hidden {
	opacity: 0;
}

.elementor-lightbox .dialog-close-button {
	z-index: 10002;
}

@media (max-width: 480px) {
	.amw-item__header {
		flex-wrap: wrap;
	}
}
