/**
 * Service Pricing List for Elementor – frontend styles.
 */

.spl-elementor-widget,
.spl-elementor-widget *,
.spl-elementor-widget *::before,
.spl-elementor-widget *::after {
	box-sizing: border-box;
}

.spl-elementor-widget {
	width: 100%;
	max-width: 100%;
}

/* Grid List Container ---------------------------------------------- */

.spl-elementor-list {
	display: grid;
	/* Removed the hardcoded grid-template-columns: 1fr; so Elementor's dynamic CSS takes full control */
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	align-items: stretch; 
}

/* Row -------------------------------------------------------------- */

.spl-elementor-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	width: 100%;
	height: 100%; 
	min-width: 0;
	padding: 28px 32px;
	background-color: #eeeeee;
	border-radius: 18px;
	box-shadow: none;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Service information ---------------------------------------------- */

.spl-elementor-service {
	flex: 1 1 250px;
	min-width: 0;
	text-align: left;
}

.spl-elementor-service-name {
	margin: 0;
	color: #292929;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	overflow-wrap: break-word;
}

.spl-elementor-service-desc {
	margin: 6px 0 0;
	color: #666666;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	overflow-wrap: break-word;
}

/* Pricing ---------------------------------------------------------- */

.spl-elementor-pricing {
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.spl-elementor-price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	line-height: 1.2;
	white-space: nowrap;
}

.spl-elementor-price-label {
	display: block;
	color: #777777;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.spl-elementor-price-value {
	color: #292929;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.spl-elementor-price-badge {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	gap: 1px;
	padding: 8px 18px;
	background-color: #94d1ce;
	color: #292929;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 8px;
	white-space: nowrap;
}

.spl-elementor-currency,
.spl-elementor-amount {
	display: inline;
	text-decoration: inherit;
	text-decoration-thickness: inherit;
	text-underline-offset: inherit;
}

.spl-elementor-discount {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	background-color: #ed1c24;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 4px;
	white-space: nowrap;
}

/* Button ----------------------------------------------------------- */

.spl-elementor-actions {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

.spl-elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	background-color: #ed1c24;
	background-image: none;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 10px;
	box-shadow: none;
	cursor: pointer;
	transition: all 0.3s ease;
	-webkit-tap-highlight-color: transparent;
}

.spl-elementor-button:hover,
.spl-elementor-button:focus {
	background-color: #c8102e;
	color: #ffffff;
	text-decoration: none;
}

.spl-elementor-button:focus-visible {
	outline: 3px solid #1e1e1e;
	outline-offset: 2px;
}

.spl-elementor-button--static {
	cursor: default;
}

.spl-elementor-button-text {
	display: inline-block;
}

.spl-elementor-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.spl-elementor-button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Layout: vertical ------------------------------------------------- */

.spl-elementor-widget.spl-layout-vertical .spl-elementor-row {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
}

.spl-elementor-widget.spl-layout-vertical .spl-elementor-service {
	flex: 0 1 auto;
}

.spl-elementor-widget.spl-layout-vertical .spl-elementor-actions {
	justify-content: flex-end;
}

/* ==================================================================
 * RESPONSIVE STACKING (Tablets & Mobile)
 * ================================================================== */

@media (max-width: 1080px) {
	.spl-elementor-widget.spl-layout-horizontal .spl-elementor-row {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		gap: 16px;
		padding: 22px 20px;
	}

	.spl-elementor-widget.spl-layout-horizontal .spl-elementor-service {
		flex: 0 1 auto;
		width: 100%;
	}

	.spl-elementor-widget.spl-layout-horizontal .spl-elementor-pricing {
		width: 100%;
		gap: 16px;
	}

	.spl-elementor-widget.spl-layout-horizontal .spl-elementor-actions {
		justify-content: flex-start;
		width: 100%;
	}

	.spl-elementor-service-name {
		font-size: 22px;
	}

	.spl-elementor-price-value,
	.spl-elementor-price-badge {
		font-size: 19px;
	}

	.spl-elementor-button {
		padding: 12px 22px;
		font-size: 15px;
	}
}

/* Mobile refinements (767px and below) */
@media (max-width: 767px) {
	.spl-elementor-widget.spl-layout-horizontal .spl-elementor-actions,
	.spl-elementor-widget.spl-button-full-mobile .spl-elementor-actions {
		justify-content: stretch;
	}

	.spl-elementor-widget.spl-layout-horizontal .spl-elementor-actions .spl-elementor-button,
	.spl-elementor-widget.spl-button-full-mobile .spl-elementor-actions .spl-elementor-button {
		width: 100%;
		min-height: 48px;
	}

	.spl-elementor-service-name {
		font-size: 20px;
	}

	.spl-elementor-service-desc {
		font-size: 14px;
	}

	.spl-elementor-price-value,
	.spl-elementor-price-badge {
		font-size: 18px;
	}

	.spl-elementor-price-badge {
		padding: 7px 14px;
	}
}

.elementor-editor-active .spl-elementor-widget {
	min-height: 1px;
}