.ed-brand-directory {
	--ed-pink: #ec3e73;
	--ed-pink-dark: #ca2459;
	--ed-ink: #20212a;
	--ed-muted: #686b76;
	--ed-line: #ececf1;
	max-width: 1280px;
	margin: 0 auto;
	padding: 6px 0 56px;
	color: var(--ed-ink);
}

/* Reuse the Blog archive artwork in the native Flatsome page banner. */
.parallax-title .banner {
	height: 260px !important;
	padding-top: 260px !important;
}

.parallax-title .banner-bg {
	background-image: url("../eighteendoll-blog-hero-preview/hero-gift-large-roses-2400x480.webp");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.parallax-title .banner-bg > img.bg {
	opacity: 0 !important;
}

@media (max-width: 849px) {
	.parallax-title .banner {
		height: 170px !important;
		padding-top: 170px !important;
	}

	.parallax-title .banner-bg {
		background-position: 18% center;
	}
}

.ed-brand-hero {
	position: relative;
	overflow: hidden;
	padding: 48px 52px;
	margin-bottom: 26px;
	border: 1px solid #f8dbe5;
	border-radius: 24px;
	background: linear-gradient(135deg, #fff7fa 0%, #fff 58%, #fff0f5 100%);
	text-align: center;
}

.ed-brand-hero::after {
	position: absolute;
	top: -100px;
	right: -90px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(236, 62, 115, 0.09);
	content: "";
}

.ed-brand-eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 8px;
	color: var(--ed-pink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
}

.ed-brand-hero h1 {
	position: relative;
	z-index: 1;
	margin: 0 0 14px;
	color: var(--ed-ink);
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.ed-brand-intro {
	position: relative;
	z-index: 1;
	max-width: 820px;
	margin: 0 auto;
	color: #444650;
	font-size: 17px;
	line-height: 1.7;
}

.ed-brand-tools {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	justify-items: center;
	justify-content: center;
	padding: 10px 24px 4px;
	margin-bottom: 56px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ed-brand-search-wrap {
	width: 650px;
	max-width: 100%;
	margin: 0;
}

.ed-brand-search {
	width: 100%;
	height: 46px;
	padding: 0 18px !important;
	margin: 0 !important;
	border: 1px solid #dfe0e6 !important;
	border-radius: 999px !important;
	background: #fafafd !important;
	box-shadow: none !important;
	font-size: 15px !important;
}

.ed-brand-search:focus {
	border-color: var(--ed-pink) !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(236, 62, 115, 0.12) !important;
}

.ed-brand-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
}

.ed-brand-filter {
	min-height: 38px;
	padding: 7px 16px !important;
	margin: 0 !important;
	border: 1px solid #e2e3e8 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #4d4f59 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.ed-brand-filter:hover,
.ed-brand-filter:focus-visible {
	border-color: #f2a7bd !important;
	color: var(--ed-pink-dark) !important;
}

.ed-brand-filter.is-active {
	border-color: var(--ed-pink) !important;
	background: var(--ed-pink) !important;
	color: #fff !important;
}

.ed-brand-filter span {
	margin-left: 3px;
	opacity: 0.75;
}

.ed-brand-result {
	margin: 3px 0 0;
	color: var(--ed-muted);
	font-size: 13px;
	text-align: center;
}

.ed-brand-selection-summary {
	margin: 0 0 14px;
	padding: 0 16px;
	text-align: center;
}

.ed-brand-selection-heading {
	margin: 0;
	color: #555762;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.45;
}

.ed-brand-selection-heading[hidden] {
	display: none;
}

.ed-brand-grid {
	align-items: stretch;
}

.ed-brand-grid > .col {
	padding-bottom: 18px;
}

.ed-brand-grid > .col[hidden] {
	display: none !important;
}

.ed-brand-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 222px;
	padding: 22px 18px 18px;
	border: 1px solid var(--ed-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(26, 27, 34, 0.045);
	text-align: center;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ed-brand-card:hover {
	transform: translateY(-4px);
	border-color: #f3bbcb;
	box-shadow: 0 13px 30px rgba(70, 25, 43, 0.11);
}

.ed-brand-card .ed-brand-logo {
	width: 100%;
	margin: 0 auto 13px;
}

.ed-brand-card .ed-brand-logo .img-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 98px;
	background: #fff;
}

.ed-brand-card .ed-brand-logo img {
	width: auto !important;
	max-width: 100% !important;
	max-height: 94px !important;
	object-fit: contain;
}

.ed-brand-card h3 {
	margin: 0 0 13px;
	font-size: 17px;
	line-height: 1.3;
}

.ed-brand-card h3 a {
	color: var(--ed-ink);
}

.ed-brand-card h3 a:hover {
	color: var(--ed-pink);
}

.ed-brand-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: auto;
}

.ed-brand-badge {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.ed-badge-silicone { background: #ffe6ee; color: #b51f51; }
.ed-badge-tpe { background: #e0f6ef; color: #137357; }
.ed-badge-s-tpe { background: #e6efff; color: #315ea8; }
.ed-badge-hybrid { background: #efe7ff; color: #6943a6; }
.ed-badge-torso { background: #fff1d6; color: #8a5a0a; }

.ed-brand-empty {
	padding: 42px 20px;
	border: 1px dashed #d9dae1;
	border-radius: 18px;
	color: var(--ed-muted);
	text-align: center;
}

@media (max-width: 849px) {
	.ed-brand-directory { padding: 6px 0 38px; }
	.ed-brand-hero { padding: 34px 22px; border-radius: 18px; }
	.ed-brand-intro { font-size: 15px; }
	.ed-brand-tools {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		padding: 6px 12px 4px;
		margin: 0 10px 56px;
	}
	.ed-brand-search-wrap { width: 100%; }
	.ed-brand-filters { gap: 7px; }
	.ed-brand-filter { padding: 7px 12px !important; font-size: 12px !important; }
	.ed-brand-selection-summary {
		margin: 0 10px 14px;
		padding: 0 12px;
	}
	.ed-brand-selection-heading { font-size: 16px; }
	.ed-brand-card { min-height: 194px; padding: 16px 10px 14px; border-radius: 14px; }
	.ed-brand-card .ed-brand-logo .img-inner { height: 76px; }
	.ed-brand-card .ed-brand-logo img { max-height: 72px !important; }
	.ed-brand-card h3 { font-size: 15px; }
	.ed-brand-badge { padding: 4px 7px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.ed-brand-card { transition: none; }
}
