/* ==========================================================================
   Awesome Price Menu Widget
   ========================================================================== */

.awea-price-menu-list {
	--awea-pm-primary: var(--e-global-color-primary, #4f46e5);
	--awea-pm-heading: #0f172a;
	--awea-pm-text: #475569;
	--awea-pm-border: #e2e8f0;

	list-style: none;
	padding: 36px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
	background-color: #ffffff;
	border: 1px solid var(--awea-pm-border);
	border-radius: 28px;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.awea-price-menu-list *,
.awea-price-menu-list *::before,
.awea-price-menu-list *::after {
	box-sizing: border-box;
}

.awea-price-menu-list:hover {
	border-color: var(--awea-pm-primary);
}

/* --------------------------------------------------------------------------
   1. Menu Row Item
   -------------------------------------------------------------------------- */
.awea-price-menu {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid #f1f5f9;
}

.awea-price-menu:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	border-bottom: none !important;
}

/* --------------------------------------------------------------------------
   2. Thumbnail Image
   -------------------------------------------------------------------------- */
.awea-price-menu-thumb {
	width: 76px;
	height: 76px;
	border-radius: 16px;
	overflow: hidden;
	background-color: #f1f5f9;
	flex-shrink: 0;
	border: 1px solid var(--awea-pm-border);
}

.awea-price-menu-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.awea-price-menu:hover .awea-price-menu-thumb img {
	transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   3. Details & Fluid Dotted Leader Header
   -------------------------------------------------------------------------- */
.awea-price-menu-details {
	flex-grow: 1;
	min-width: 0;
}

.awea-price-menu-header {
	display: flex;
	align-items: baseline;
	gap: 10px;
	position: relative;
	width: 100%;
}

.awea-price-menu-title {
	order: 1;
	flex-shrink: 1;
	min-width: 0;
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.015em;
	color: var(--awea-pm-heading);
	line-height: 1.3;
	word-break: break-word;
	transition: color 0.25s ease;
}

.awea-price-menu-title a {
	color: inherit;
	text-decoration: none;
}

.awea-price-menu-title a:focus-visible {
	outline: 2px solid var(--awea-pm-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.awea-price-menu:hover .awea-price-menu-title,
.awea-price-menu:hover .awea-price-menu-title a {
	color: var(--awea-pm-primary);
}

.awea-price-menu-badge {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	margin-inline-start: 8px;
	padding: 2px 8px;
	border-radius: 100px;
	background-color: rgba(79, 70, 229, 0.08);
	color: var(--awea-pm-primary);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.4;
}

.awea-price-menu-header::after {
	content: "";
	order: 2;
	flex: 1 1 auto;
	border-bottom-style: dotted;
	border-bottom-width: 2px;
	border-bottom-color: rgba(15, 23, 42, 0.16);
	margin: 0 4px;
	min-width: 16px;
}

.awea-price {
	order: 3;
	flex-shrink: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--awea-pm-primary);
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
}

.awea-description {
	margin: 6px 0 0 0;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--awea-pm-text);
	word-break: break-word;
}

/* --------------------------------------------------------------------------
   4. Accessibility & Responsive
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.awea-price-menu-list,
	.awea-price-menu-thumb img,
	.awea-price-menu-title {
		transition: none !important;
		transform: none !important;
	}
}

@media (max-width: 640px) {
	.awea-price-menu-list {
		padding: 24px 18px;
		border-radius: 20px;
	}

	.awea-price-menu {
		gap: 14px;
	}

	.awea-price-menu-thumb {
		width: 60px;
		height: 60px;
		border-radius: 12px;
	}

	.awea-price-menu-header {
		gap: 8px;
	}

	.awea-price-menu-title,
	.awea-price {
		font-size: 1.05rem;
	}
}