/* Easy Elements Widget List — Showcase + Menu styles */
.eewl-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	color: #1f2937;
	max-width: 1280px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* ─────────────────────────────────────────────
   Toolbar — filters (left) + search (right)
   ───────────────────────────────────────────── */
.eewl-toolbar {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 24px;
	justify-content: space-between;
}

/* JS-driven sticky toolbar (showcase layout only).
   The .is-stuck class is added by filter.js when scroll passes the toolbar. */
.eewl-toolbar.is-stuck {
	position: fixed;
	z-index: 100;
	background: #fff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	padding-top: 12px;
	padding-bottom: 12px;
	padding-left: 28px;
	padding-right: 28px;
	box-sizing: border-box;
	margin: 0;
}

.eewl-filters {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
}

.eewl-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
	font-family: inherit;
	line-height: 1.2;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	z-index: 1;
}

.eewl-filter:hover {
	color: #1f2937;
	border-color: #d1d5db;
	background: none;
}

.eewl-filter.is-active {
	background: #7455FF;
	color: #fff;
	border-color: #7455FF;
	box-shadow: 0 4px 12px rgba(116, 85, 255, 0.25);
}

.eewl-filter[data-filter="free"].is-active {
	background: #10b981;
	border-color: #10b981;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.eewl-filter[data-filter="pro"].is-active {
	background: #ec4899;
	border-color: #ec4899;
	box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.eewl-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 20px;
	padding: 0 6px;
	background: rgba(0, 0, 0, 0.06);
	color: inherit;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.eewl-filter.is-active .eewl-count {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.eewl-search {
	position: relative;
	flex: 0 1 280px;
	min-width: 220px;
}

.eewl-search-icon {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	color: #9ca3af;
	pointer-events: none;
}

.eewl-search-input {
	width: 100%;
	padding: 10px 44px 10px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	font-size: 13px;
	color: #1f2937;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
	box-sizing: border-box;
	font-family: inherit;
}

.eewl-search-input:focus {
	outline: none;
	border-color: #7455FF;
	box-shadow: 0 0 0 3px rgba(116, 85, 255, 0.15);
}

/* ─────────────────────────────────────────────
   Showcase layout — category groups + icon cards
   ───────────────────────────────────────────── */
.eewl-groups {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.eewl-group-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #111827;
	margin: 15px 0 25px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e7eb;
	letter-spacing: 0.2px;
}

.eewl-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.eewl-card {
	position: relative;
	background: #eef0fb;
	border-radius: 12px;
	padding: 24px 16px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	min-height: 130px;
	justify-content: center;
}

a.eewl-card:not(.eewl-menu-item):hover {
	transform: translateY(-3px);
	background: #e3e6f9;
	box-shadow: 0 10px 25px rgba(116, 85, 255, 0.15);
}

.eewl-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #fff;
	border-radius: 8px;
	color: #1f2937;
	font-size: 22px;
}

.eewl-card-icon i {
	display: inline-block;
	line-height: 1;
}

.eewl-card-title {
	font-size: 14px;
	font-weight: 500;
	color: #1f2937;
	text-align: center;
	line-height: 1.3;
}

.eewl-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
	letter-spacing: 0.3px;
	text-transform: capitalize;
	line-height: 1.2;
}

.eewl-badge--pro {
	background: #ec4899;
}

.eewl-badge--free {
	background: #10b981;
}

.eewl-card.is-hidden,
.eewl-menu-item.is-hidden {
	display: none !important;
}
.sidebar-on-mobile .eewl-menu-list i{
	display: none !important;
}
/* Hide an entire group section when all its cards are filtered out */
.eewl-group.is-empty {
	display: none;
}

/* ─────────────────────────────────────────────
   Menu layout — compact multi-column text list
   ───────────────────────────────────────────── */
.eewl-wrap--menu {
	max-width: none;
	padding: 24px 28px;
}

.eewl-wrap--menu .eewl-toolbar {
	margin-bottom: 0;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}

.eewl-menu-list {
	column-count: 6;
	column-gap: 24px;
	padding-top: 18px;
}

.eewl-menu-item {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 6px 0;
	text-decoration: none;
	color: #4b5563;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	break-inside: avoid;
	page-break-inside: avoid;
	flex-direction: row;
	min-height: auto;
	justify-content: flex-start;
	background: none;
}
.eewl-menu-item:hover {
	box-shadow: none;
	background: none;
	text-decoration: underline;
}

a.eewl-menu-item:hover .eewl-menu-name {
	color: #7455FF;
}

.eewl-menu-name {
	transition: color .15s ease;
}

.eewl-menu-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1px 5px 2px 5px;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.4px;
	border-radius: 3px;
	line-height: 1.4;
	text-transform: uppercase;
}

.eewl-menu-tag--pro {
	background: #ec4899;
	color: #fff;
}

.eewl-menu-tag--free {
	background: #10b981;
	color: #fff;
}

.eewl-menu-tag--new {
	background: #0ea5e9;
	color: #fff;
}

.eewl-menu-tag--upcoming {
	background: #10b981;
	color: #fff;
}

.eewl-menu-item.is-hidden {
	display: none !important;
}

/* ─────────────────────────────────────────────
   Empty states
   ───────────────────────────────────────────── */
.eewl-empty,
.eewl-empty-state {
	padding: 40px 20px;
	text-align: center;
	color: #6b7280;
	font-size: 14px;
	background: #f9fafb;
	border-radius: 10px;
	margin-top: 16px;
}

/* ─────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────── */
@media (max-width: 1200px) {
	.eewl-menu-list {
		column-count: 5;
	}
}

@media (max-width: 1100px) {
	.eewl-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 992px) {
	.eewl-menu-list {
		column-count: 1;
	}
}

@media (max-width: 850px) {
	.eewl-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.eewl-menu-list {
		column-count: 1;
	}
}

@media (max-width: 600px) {
	.eewl-wrap {
		padding: 20px;
	}
	.eewl-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.eewl-menu-list {
		column-count: 1;
		column-gap: 20px;
	}
	.eewl-toolbar {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	.eewl-search {
		flex: 1 1 auto;
		min-width: 0;
	}
	.eewl-filters {
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.eewl-grid {
		grid-template-columns: 1fr;
	}
	.eewl-menu-list {
		column-count: 1;
	}
}
