/**
 * Services Widget
 * shop-zen-pro-addons
 *
 */

.szpa-services-wrap {
	width: 100%;
}

/* ─── Section heading (with flanking ••• dots) ─────────────────────── */
.szpa-services-head {
	text-align: center;
	margin-bottom: 32px;
}

.szpa-services-heading {
	font-family: "Outfit", "Inter", sans-serif;
	font-weight: 800;
	letter-spacing: -0.02em;
	font-size: 36px;
	line-height: 1.2;
	position: relative;
	display: inline-block;
	padding: 0 26px;
	color: #1A202C;
	--szpa-services-dot: #3A5F3F;
}

.szpa-services-heading::before,
.szpa-services-heading::after {
	content: '•••';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 9px;
	letter-spacing: 4px;
	color: var(--szpa-services-dot);
	opacity: 0.35;
	font-weight: 900;
}

.szpa-services-heading::before { left: 0; }
.szpa-services-heading::after  { right: 0; }

.szpa-services-subheading {
	color: #6B7280;
	max-width: 560px;
	margin: 6px auto 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}

/* ─── Grid ────────────────────────────────────────────────────────── */
.szpa-services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* ─── Card ────────────────────────────────────────────────────────── */
.szpa-services-card {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 16px;
	padding: 28px 22px;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
	color: inherit;
	text-decoration: none;
	display: block;
}

.szpa-services-hover .szpa-services-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Top-left corner accent (only when enabled via the wrap class) */
.szpa-services-corner .szpa-services-card::before {
	content: '';
	position: absolute;
	top: 8px;
	left: 8px;
	width: 14px;
	height: 14px;
	border-left: 2px solid #3A5F3F;
	border-top: 2px solid #3A5F3F;
	opacity: 0.15;
	border-radius: 2px 0 0 0;
	pointer-events: none;
}

/* ─── Icon chip ───────────────────────────────────────────────────── */
.szpa-services-iconwrap {
	width: 48px;
	height: 48px;
	margin: 0 auto 14px;
	border-radius: 12px;
	background: #E9EFE9;
	border: 1px solid #D4E2D1;
	display: grid;
	place-items: center;
	color: #3A5F3F;
	flex-shrink: 0;
	line-height: 1;
}

.szpa-services-icon {
	color: inherit;
	line-height: 1;
	display: inline-block;
}

/* Inline SVG icon */
svg.szpa-services-icon,
.szpa-services-icon.e-font-icon-svg,
.szpa-services-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	display: inline-block;
	vertical-align: middle;
}

/* ─── Title ───────────────────────────────────────────────────────── */
.szpa-services-title {
	font-family: "Outfit", "Inter", sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 8px;
	color: #1A202C;
	letter-spacing: -0.02em;
}

/* ─── Description ─────────────────────────────────────────────────── */
.szpa-services-desc {
	font-size: 13px;
	line-height: 1.55;
	color: #6B7280;
	margin: 0;
}

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.szpa-services-heading { font-size: 30px; }
}

@media (max-width: 768px) {
	.szpa-services-heading { font-size: 28px; }
}

@media (max-width: 600px) {
	.szpa-services-heading { font-size: 26px; padding: 0; }
	.szpa-services-heading::before,
	.szpa-services-heading::after { display: none; }
}
