/* ── Accolade Pricing Table ── */

.elementor-widget-accolade-pricing-table-static .accolade-pt {
	width: 100%;
	overflow: hidden;
}

/* ── Grid layout ── */

.elementor-widget-accolade-pricing-table-static .accolade-pt__header,
.elementor-widget-accolade-pricing-table-static .accolade-pt__row {
	display: grid;
	grid-template-columns: var(--accolade-pt-cols, repeat(4, 1fr));
	align-items: center;
}

/* ── Header ── */

.elementor-widget-accolade-pricing-table-static .accolade-pt__header {
	background-color: #1a2457;
	border-radius: 6px 6px 0 0;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__header-cell {
	color: #ffffff;
	font-weight: 600;
	padding: 18px 24px;
	text-align: center;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__column-photo,
.elementor-widget-accolade-pricing-table-static .accolade-pt__cell .accolade-pt__column-photo {
	display: block;
	width: 100%;
	max-width: 140px;
	height: 88px;
	margin: 0 auto 10px;
	object-fit: cover;
	border-radius: 6px;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__header-label {
	display: block;
}

/* ── Body ── */

.elementor-widget-accolade-pricing-table-static .accolade-pt__row {
	background-color: #f5f5f5;
	transition: background-color 0.2s ease;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__body .accolade-pt__row:last-child {
	border-radius: 0 0 6px 6px;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__cell {
	color: #333333;
	padding: 16px 24px;
	text-align: center;
	transition: color 0.2s ease;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__cell-value {
	display: inline;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__cell img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	vertical-align: middle;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__row + .accolade-pt__row {
	border-top: 1px solid #e0e0e0;
}

/* ── Alternate rows ── */

.elementor-widget-accolade-pricing-table-static .accolade-pt__body .accolade-pt__row:nth-child(even) {
	background-color: #eef0f5;
}

/* ── Row hover ── */

.elementor-widget-accolade-pricing-table-static .accolade-pt__body .accolade-pt__row:hover {
	background-color: #e8ebf2;
}

.elementor-widget-accolade-pricing-table-static .accolade-pt__body .accolade-pt__row:hover .accolade-pt__cell {
	color: #1a2457;
}

/* ── Mobile card label (hidden on desktop) ── */

.elementor-widget-accolade-pricing-table-static .accolade-pt__cell::before {
	content: none;
}

/* ── Mobile cards ── */

@media (max-width: 767px) {

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards .accolade-pt__header {
		display: none;
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards .accolade-pt__body {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards .accolade-pt__row {
		display: flex;
		flex-direction: column;
		background-color: #ffffff;
		border-radius: 8px;
		border-top: none;
		overflow: hidden;
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards .accolade-pt__row + .accolade-pt__row {
		border-top: none;
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt--card-shadow .accolade-pt__row {
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards .accolade-pt__cell + .accolade-pt__cell {
		border-top: 1px solid #eee;
	}

	/* Disable desktop alt-row + hover on cards */
	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards .accolade-pt__body .accolade-pt__row:nth-child(even),
	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards .accolade-pt__body .accolade-pt__row:hover {
		background-color: inherit;
	}

	/* ── Side-by-side (row) layout ── */

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards-row .accolade-pt__cell {
		display: grid;
		grid-template-columns: 40% 1fr;
		align-items: baseline;
		text-align: left;
		padding: 12px 20px;
		gap: 12px;
		width: 100%;
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards-row .accolade-pt__cell::before {
		content: attr(data-label);
		font-weight: 600;
		color: #1a2457;
		text-align: left;
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards-row .accolade-pt__cell-value {
		display: block;
		text-align: left;
	}

	/* ── Stacked (column) layout ── */

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards-column .accolade-pt__cell {
		display: flex;
		flex-direction: column;
		text-align: left;
		padding: 12px 20px;
		gap: 4px;
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt--cards-column .accolade-pt__cell::before {
		content: attr(data-label);
		font-weight: 600;
		color: #1a2457;
		font-size: 0.85em;
	}
}

/* ── Keep-table mobile: horizontal scroll ── */

@media (max-width: 767px) {
	.elementor-widget-accolade-pricing-table-static .accolade-pt:not(.accolade-pt--cards) {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.elementor-widget-accolade-pricing-table-static .accolade-pt:not(.accolade-pt--cards) .accolade-pt__header,
	.elementor-widget-accolade-pricing-table-static .accolade-pt:not(.accolade-pt--cards) .accolade-pt__row {
		min-width: 600px;
	}
}

/* ── Custom text highlight ── */
.elementor-widget-accolade-pricing-table-static .accolade-pt__cell mark,
.elementor-widget-accolade-pricing-table-static .accolade-pt__cell .highlight {
	background-color: #e7f0ff; /* soft pale blue from design system */
	color: #10387e; /* primary brand navy */
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 600;
}
