/**
 * Escort Directory ? Design System + Header
 */

:root {
	--ed-color-primary: #e91e63;
	--ed-color-primary-hover: #c2185b;
	--ed-color-secondary: #2c3e50;
	--ed-color-action: #4caf50;
	--ed-color-action-hover: #43a047;
	--ed-color-bg: #ffffff;
	--ed-color-surface: #f8f9fa;
	--ed-color-text: #222222;
	--ed-color-text-muted: #666666;
	--ed-color-border: #ececec;
	--ed-brand-red: #d3111c;
	--ed-brand-dark: #000000;
	--ed-radius: 12px;
	--ed-radius-sm: 8px;
	--ed-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	--ed-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.1);
	--ed-gap: 1rem;
	--ed-header-height: auto;
	--ed-search-max-width: 560px;
	--ed-transition: 0.2s ease;
	--ed-font: "Inter", system-ui, -apple-system, sans-serif;
}

html[data-ed-theme="dark"] {
	--ed-color-bg: #0d0d0d;
	--ed-color-surface: #1a1a1a;
	--ed-color-text: #f2f2f2;
	--ed-color-text-muted: #a0a0a0;
	--ed-color-border: #2e2e2e;
	--ed-color-secondary: #e8e8e8;
	--ed-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
	--ed-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.ed-site-header,
.ed-card,
.ed-search,
.ed-btn,
.ed-chip,
.ed-mobile-panel {
	font-family: var(--ed-font);
	color: var(--ed-color-text);
}

/* ??? Header ??? */
.ed-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--ed-color-bg);
	border-bottom: 1px solid var(--ed-color-border);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.ed-site-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0.45rem 1.25rem 0.5rem;
}

.ed-site-header__top {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
}

.ed-site-header__brand {
	line-height: 0;
	flex-shrink: 0;
}

.ed-site-header__logo {
	display: block;
	height: 44px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	border-radius: 4px;
}

.ed-site-header__search {
	justify-self: center;
	width: 100%;
	max-width: var(--ed-search-max-width);
}

.ed-site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-self: end;
}

/* ??? Buscador ??? */
.ed-search {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 0.5rem;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.ed-search:focus-within {
	box-shadow: none;
}

.ed-search__input {
	flex: 1;
	min-width: 0;
	padding: 0.65rem 1.25rem;
	color: var(--ed-color-text);
	background: var(--ed-color-surface);
	border: 1px solid var(--ed-color-border);
	border-radius: 999px;
	font-size: 0.95rem;
	font-family: inherit;
	box-shadow: var(--ed-shadow);
	transition: border-color var(--ed-transition), box-shadow var(--ed-transition);
}

.ed-search__input::placeholder {
	color: #c8c8c8;
	opacity: 1;
}

html[data-ed-theme="dark"] .ed-search__input::placeholder {
	color: #f0f0f0;
	opacity: 0.85;
}

.ed-search__input:focus {
	outline: none;
	border-color: #2196f3;
	box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}

.ed-search__submit {
	flex-shrink: 0;
	padding: 0.65rem 1.35rem;
	color: #fff;
	background: #2196f3;
	border: none;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	font-family: inherit;
	cursor: pointer;
	box-shadow: var(--ed-shadow);
	transition: background var(--ed-transition), transform var(--ed-transition);
}

.ed-search__submit:hover,
.ed-search__submit:focus-visible {
	background: #1e88e5;
}

.ed-search__submit:focus-visible {
	outline: 2px solid #1565c0;
	outline-offset: 2px;
}

/* ??? Nav chips ??? */
.ed-site-header__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin-top: 0.45rem;
	padding-top: 0.45rem;
	border-top: 1px solid var(--ed-color-border);
}

.ed-nav-group {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
	flex: 1;
}

.ed-nav-group__label {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ed-color-text-muted);
}

.ed-nav-chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.ed-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--ed-color-border);
	background: var(--ed-color-surface);
	color: var(--ed-color-text);
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: background var(--ed-transition), border-color var(--ed-transition), color var(--ed-transition);
}

.ed-chip:hover,
.ed-chip:focus-visible {
	border-color: var(--ed-color-primary);
	color: var(--ed-color-primary);
	background: rgba(233, 30, 99, 0.06);
}

.ed-chip:focus-visible {
	outline: 2px solid var(--ed-color-primary);
	outline-offset: 2px;
}

/* ??? Botones ??? */
.ed-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.55rem 1.1rem;
	border-radius: var(--ed-radius-sm);
	border: 1px solid transparent;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--ed-transition), color var(--ed-transition), border-color var(--ed-transition);
}

.ed-btn:focus-visible {
	outline: 2px solid var(--ed-color-primary);
	outline-offset: 2px;
}

.ed-btn--primary {
	color: #fff;
	background: var(--ed-color-primary);
}

.ed-btn--primary:hover {
	background: var(--ed-color-primary-hover);
	color: #fff;
}

.ed-btn--ghost {
	color: var(--ed-color-secondary);
	background: transparent;
	border-color: var(--ed-color-border);
}

.ed-btn--ghost:hover {
	background: var(--ed-color-surface);
	color: var(--ed-color-text);
}

.ed-btn--action {
	color: #fff;
	background: var(--ed-color-action);
}

.ed-btn--action:hover {
	background: var(--ed-color-action-hover);
	color: #fff;
}

.ed-btn--block {
	width: 100%;
}

.ed-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--ed-color-border);
	border-radius: var(--ed-radius-sm);
	background: var(--ed-color-bg);
	color: var(--ed-color-text);
	cursor: pointer;
	transition: background var(--ed-transition), border-color var(--ed-transition);
}

.ed-icon-btn:hover,
.ed-icon-btn:focus-visible {
	background: var(--ed-color-surface);
	border-color: var(--ed-color-primary);
}

.ed-icon-btn:focus-visible {
	outline: 2px solid var(--ed-color-primary);
	outline-offset: 2px;
}

.ed-icon-btn__sun {
	display: none;
}

html[data-ed-theme="dark"] .ed-icon-btn__moon {
	display: none;
}

html[data-ed-theme="dark"] .ed-icon-btn__sun {
	display: inline;
}

/* Burger */
.ed-burger,
.ed-burger::before,
.ed-burger::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--ed-transition), opacity var(--ed-transition);
}

.ed-burger {
	position: relative;
}

.ed-burger::before,
.ed-burger::after {
	content: "";
	position: absolute;
	left: 0;
}

.ed-burger::before {
	top: -6px;
}

.ed-burger::after {
	top: 6px;
}

.ed-site-header.is-menu-open .ed-burger {
	background: transparent;
}

.ed-site-header.is-menu-open .ed-burger::before {
	top: 0;
	transform: rotate(45deg);
}

.ed-site-header.is-menu-open .ed-burger::after {
	top: 0;
	transform: rotate(-45deg);
}

.ed-site-header__menu-toggle {
	display: none;
}

/* ??? Mobile panel ??? */
.ed-mobile-panel {
	border-top: 1px solid var(--ed-color-border);
	background: var(--ed-color-bg);
}

.ed-mobile-panel[hidden] {
	display: none;
}

.ed-mobile-panel__inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem 1.25rem 1.25rem;
	max-width: 1280px;
	margin: 0 auto;
}

.ed-mobile-panel__section {
	padding-top: 0.5rem;
}

.ed-mobile-panel__title {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ed-color-text-muted);
}

.ed-mobile-panel__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ed-mobile-panel__list a {
	display: block;
	padding: 0.55rem 0;
	color: var(--ed-color-text);
	text-decoration: none;
	border-bottom: 1px solid var(--ed-color-border);
	font-weight: 500;
}

.ed-mobile-panel__list a:hover {
	color: var(--ed-color-primary);
}

/* ??? Cards ??? */
.ed-card {
	display: flex;
	flex-direction: column;
	background: var(--ed-color-bg);
	border: 1px solid var(--ed-color-border);
	border-radius: var(--ed-radius);
	overflow: hidden;
	box-shadow: var(--ed-shadow);
	transition: transform var(--ed-transition), box-shadow var(--ed-transition);
}

.ed-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ed-shadow-hover);
}

.ed-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem;
	flex: 1;
}

.ed-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--ed-color-text);
}

.ed-card__meta {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ed-color-text-muted);
}

.ed-card__price {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ed-color-secondary);
}

.ed-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ed-badge--verified {
	color: #fff;
	background: var(--ed-color-action);
}

.ed-badge--available {
	color: #fff;
	background: var(--ed-color-primary);
}

@media (max-width: 900px) {
	.ed-hide-mobile {
		display: none !important;
	}

	.ed-site-header__menu-toggle {
		display: inline-flex;
	}

	.ed-site-header__nav {
		display: none;
	}

	.ed-site-header__top {
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"brand brand actions"
			"search search search";
	}

	.ed-site-header__brand {
		grid-area: brand;
	}

	.ed-site-header__search {
		grid-area: search;
		max-width: none;
		justify-self: stretch;
	}

	.ed-site-header__actions {
		grid-area: actions;
	}

	.ed-site-header__logo {
		height: 36px;
	}
}

/* ??? Home / Hero ??? */
.ed-home {
	width: 100%;
}

.ed-hero {
	padding: 2.5rem 1.25rem 2rem;
	background:
		radial-gradient(ellipse at top right, rgba(233, 30, 99, 0.12), transparent 55%),
		var(--ed-color-surface);
	border-bottom: 1px solid var(--ed-color-border);
}

.ed-hero__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.ed-hero__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ed-color-primary);
}

.ed-hero__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.6rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ed-color-text);
}

.ed-hero__text {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	color: var(--ed-color-text-muted);
	line-height: 1.5;
}

.ed-home__sections {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.ed-section-header {
	margin-bottom: 1.25rem;
}

.ed-section-header__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ed-color-text);
}

.ed-listings__empty {
	margin: 0;
	padding: 1.5rem;
	text-align: center;
	color: var(--ed-color-text-muted);
	background: var(--ed-color-surface);
	border: 1px dashed var(--ed-color-border);
	border-radius: var(--ed-radius);
}

/* ??? Grid cards ??? */
.ed-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.ed-card__media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--ed-color-surface);
	overflow: hidden;
}

.ed-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ed-card:hover .ed-card__media img {
	transform: scale(1.04);
}

.ed-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, var(--ed-color-surface), var(--ed-color-border));
}

.ed-card__badges {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.ed-card__title a {
	color: inherit;
	text-decoration: none;
}

.ed-card__title a:hover {
	color: var(--ed-color-primary);
}

.ed-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.ed-card__price--muted {
	font-weight: 500;
	color: var(--ed-color-text-muted);
}

.ed-btn--sm {
	padding: 0.4rem 0.75rem;
	font-size: 0.75rem;
}

/* ??? Footer ??? */
.ed-footer {
	background: var(--ed-color-secondary);
	color: #f5f5f5;
	margin-top: 2rem;
}

html[data-ed-theme="dark"] .ed-footer {
	background: #050505;
	border-top: 1px solid var(--ed-color-border);
}

.ed-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2rem 1.25rem;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.5rem;
	align-items: start;
}

.ed-footer__logo {
	display: block;
	height: 40px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	border-radius: 4px;
}

.ed-footer__tagline {
	margin: 0.65rem 0 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ed-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	justify-content: flex-end;
}

.ed-footer__nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
}

.ed-footer__nav a:hover,
.ed-footer__nav a:focus-visible {
	color: var(--ed-color-primary);
}

.ed-footer__copy {
	grid-column: 1 / -1;
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.65);
}

.ed-footer__copy a {
	color: inherit;
	text-decoration: none;
}

.ed-footer__copy a:hover {
	color: #fff;
}

@media (max-width: 1100px) {
	.ed-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.ed-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
	}

	.ed-footer__inner {
		grid-template-columns: 1fr;
	}

	.ed-footer__nav {
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.ed-grid {
		grid-template-columns: 1fr;
	}
}

/* ??? Filters home (estilo directorio) ??? */
.ed-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.ed-filters {
	border-bottom: 1px solid var(--ed-color-border);
	background: var(--ed-color-bg);
}

.ed-filters__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.ed-filters__group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ed-filters__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ed-color-text-muted);
}

.ed-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.ed-chip__count {
	margin-left: 0.25rem;
	opacity: 0.65;
	font-weight: 600;
}

.ed-section-header--row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}

.ed-section-header__link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ed-color-primary);
	text-decoration: none;
}

.ed-section-header__link:hover {
	text-decoration: underline;
}

.ed-badge--membership {
	color: #fff;
	background: var(--ed-color-secondary);
}

.ed-btn--lg {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
}

/* ??? Publish landing ??? */
.ed-publish {
	width: 100%;
}

.ed-publish-hero {
	padding: 3.5rem 1.25rem;
	background:
		radial-gradient(ellipse at top, rgba(233, 30, 99, 0.16), transparent 60%),
		var(--ed-color-surface);
	border-bottom: 1px solid var(--ed-color-border);
	text-align: center;
}

.ed-publish-hero__inner,
.ed-publish-block__inner,
.ed-publish-cta__inner {
	max-width: 880px;
	margin: 0 auto;
}

.ed-publish-hero__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ed-color-primary);
}

.ed-publish-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
}

.ed-publish-hero__lead {
	margin: 0 auto 1.5rem;
	max-width: 640px;
	font-size: 1.05rem;
	color: var(--ed-color-text-muted);
	line-height: 1.55;
}

.ed-publish-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.ed-publish-block {
	padding: 2.75rem 1.25rem;
}

.ed-publish-block--alt {
	background: var(--ed-color-surface);
	border-block: 1px solid var(--ed-color-border);
}

.ed-publish-block h2 {
	margin: 0 0 1rem;
	font-size: 1.5rem;
}

.ed-publish-block p {
	margin: 0 0 1rem;
	color: var(--ed-color-text-muted);
	line-height: 1.6;
}

.ed-publish-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.ed-publish-feature {
	padding: 1.25rem;
	background: var(--ed-color-bg);
	border: 1px solid var(--ed-color-border);
	border-radius: var(--ed-radius);
	box-shadow: var(--ed-shadow);
}

.ed-publish-feature h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.ed-publish-feature p {
	margin: 0;
	font-size: 0.925rem;
}

.ed-publish-quotes {
	display: grid;
	gap: 1rem;
	margin-top: 1.25rem;
}

.ed-publish-quote {
	margin: 0;
	padding: 1.25rem;
	background: var(--ed-color-surface);
	border-left: 3px solid var(--ed-color-primary);
	border-radius: 0 var(--ed-radius-sm) var(--ed-radius-sm) 0;
}

.ed-publish-quote p {
	margin: 0 0 0.65rem;
	color: var(--ed-color-text);
	font-style: italic;
}

.ed-publish-quote cite {
	font-size: 0.85rem;
	font-style: normal;
	color: var(--ed-color-text-muted);
}

.ed-publish-cta {
	padding: 3rem 1.25rem;
	text-align: center;
	background:
		linear-gradient(180deg, rgba(233, 30, 99, 0.08), transparent),
		var(--ed-color-bg);
	border-top: 1px solid var(--ed-color-border);
}

.ed-publish-cta h2 {
	margin: 0 0 0.75rem;
	font-size: 1.75rem;
}

.ed-publish-cta p {
	margin: 0 auto 1.5rem;
	max-width: 560px;
	color: var(--ed-color-text-muted);
}

.ed-publish-cta__legal {
	margin-top: 1.5rem !important;
	font-size: 0.85rem;
}

.ed-publish-cta__legal a {
	color: var(--ed-color-text-muted);
	text-decoration: none;
}

.ed-publish-cta__legal a:hover {
	color: var(--ed-color-primary);
}

@media (max-width: 782px) {
	.ed-publish-features {
		grid-template-columns: 1fr;
	}
}

/* ��� Ocultar t�tulo �Inicio� en portada ��� */
body.ed-hide-page-title .hero-section,
body.ed-hide-page-title .ct-page-title-container,
body.ed-hide-page-title .entry-header,
body.ed-hide-page-title .page-title,
body.ed-hide-page-title .ct-container > header.entry-header,
body.home.ed-has-custom-header #main-container > .hero-section,
body.home .ct-page-title {
	display: none !important;
}

body.ed-hide-page-title main#main,
body.ed-hide-page-title .ct-container[data-vertical-spacing] {
	padding-top: 0 !important;
}

/* Buscador pegado al header + filtros flush */
.ed-filters--flush {
	margin-top: 0;
	border-top: none;
}

.ed-home {
	margin-top: 0;
}

.ed-home__sections {
	padding-top: 1.25rem;
}

.ed-search-results[hidden],
[data-ed-browse][hidden] {
	display: none !important;
}

.ed-taxonomy-archive__hero {
	padding: 1.25rem 1rem 0;
}

.ed-taxonomy-archive__hero-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.ed-taxonomy-archive__crumb {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	color: #9a9a9a;
}

.ed-taxonomy-archive__crumb a {
	color: #e91e63;
	text-decoration: none;
}

.ed-taxonomy-archive__crumb a:hover {
	text-decoration: underline;
}

.ed-taxonomy-archive__count {
	font-weight: 500;
	color: #9a9a9a;
	font-size: 0.85em;
}

.ed-taxonomy-archive__desc {
	margin: 0 0 0.5rem;
	color: #bdbdbd;
	font-size: 0.95rem;
	max-width: 42rem;
}

.ed-taxonomy-archive__results {
	padding-top: 0.5rem;
}

.ed-infinite {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 48px;
	padding: 1.25rem 0 2rem;
}

.ed-infinite__loader {
	width: 28px;
	height: 28px;
	border: 3px solid var(--ed-color-border);
	border-top-color: #2196f3;
	border-radius: 50%;
	animation: ed-spin 0.7s linear infinite;
}

.ed-infinite__loader[hidden] {
	display: none;
}

[data-ed-sentinel] {
	width: 100%;
	height: 1px;
}

@keyframes ed-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ��� Body gris oscuro + l�nea roja + barra filtros ��� */
body.ed-has-custom-header,
body.ed-has-custom-header #main-container,
body.ed-has-custom-header main {
	background: #1c1c1c !important;
	color: #f0f0f0;
}

body.ed-has-custom-header .ed-site-header {
	background: #111;
	border-bottom: none;
}

.ed-accent-line {
	height: 3px;
	width: 100%;
	background: #d3111c;
	margin: 0;
	padding: 0;
	border: 0;
}

.ed-filter-bar {
	background: #242424;
	border-bottom: 1px solid #333;
	padding: 0.85rem 0;
}

.ed-filter-bar__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.25rem;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: 0.75rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ed-filter-field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 140px;
	flex: 1;
	margin: 0;
}

.ed-filter-field--age {
	min-width: 180px;
	flex: 1.2;
}

.ed-filter-field__label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #b0b0b0;
}

.ed-filter-field__control {
	width: 100%;
	padding: 0.55rem 0.75rem;
	border-radius: 999px;
	border: 1px solid #3a3a3a;
	background: #161616;
	color: #f2f2f2;
	font-family: var(--ed-font);
	font-size: 0.9rem;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
	background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 1.75rem;
}

.ed-filter-field__control:focus {
	outline: none;
	border-color: #d3111c;
	box-shadow: 0 0 0 2px rgba(211, 17, 28, 0.25);
}

.ed-filter-field__age-row {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.ed-filter-field__sep {
	color: #888;
	font-weight: 600;
}

.ed-filter-bar__submit {
	flex-shrink: 0;
	border-radius: 999px;
	white-space: nowrap;
	align-self: flex-end;
	min-height: 42px;
}

body.ed-has-custom-header .ed-section-header__title,
body.ed-has-custom-header .ed-card__title,
body.ed-has-custom-header .ed-card__price {
	color: #f2f2f2;
}

body.ed-has-custom-header .ed-card {
	background: #222;
	border-color: #333;
}

body.ed-has-custom-header .ed-card__meta,
body.ed-has-custom-header .ed-filters__label {
	color: #a8a8a8;
}

body.ed-has-custom-header .ed-chip {
	background: #2a2a2a;
	border-color: #3a3a3a;
	color: #eee;
}

body.ed-has-custom-header .ed-filters {
	background: transparent;
	border-color: #333;
}

@media (max-width: 900px) {
	.ed-filter-bar__inner {
		flex-wrap: wrap;
	}

	.ed-filter-field,
	.ed-filter-field--age {
		min-width: calc(50% - 0.5rem);
		flex: 1 1 calc(50% - 0.5rem);
	}

	.ed-filter-bar__submit {
		width: 100%;
	}
}

/* ��� P�gina Publicar: sin t�tulo, pegado, t�tulos blancos ��� */
body.ed-publish-page .ed-publish--flush {
	margin-top: 0;
	padding-top: 0;
}

body.ed-publish-page .ed-publish-block--first {
	padding-top: 1.25rem;
}

body.ed-publish-page .ed-publish-block h2,
body.ed-publish-page .ed-publish-feature h3,
body.ed-publish-page .ed-publish-cta h2 {
	color: #ffffff !important;
	font-weight: 700;
}

body.ed-publish-page .ed-publish-block p,
body.ed-publish-page .ed-publish-feature p,
body.ed-publish-page .ed-publish-cta p {
	color: #cfcfcf;
}

body.ed-publish-page .ed-publish-hero {
	display: none;
}

body.ed-modal-open {
	overflow: hidden;
}

.ed-modal[hidden] {
	display: none !important;
}

.ed-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.ed-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.ed-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(860px, calc(100vw - 2rem));
	max-height: min(90vh, 820px);
	overflow: auto;
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 16px;
	padding: 1.5rem;
	color: #f2f2f2;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.ed-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.75rem;
	border: none;
	background: transparent;
	color: #aaa;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.ed-modal__title {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: #fff;
}

.ed-modal__lead {
	margin: 0 0 1.25rem;
	color: #bdbdbd;
	font-size: 0.95rem;
}

.ed-modal-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin-bottom: 1rem;
}

.ed-modal-field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin: 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: #bbb;
}

.ed-modal-field--full {
	grid-column: 1 / -1;
}

.ed-modal-field input,
.ed-modal-field select {
	padding: 0.6rem 0.75rem;
	border-radius: 10px;
	border: 1px solid #3a3a3a;
	background: #111;
	color: #fff;
	font-size: 0.95rem;
	font-family: inherit;
}

.ed-modal-field input[type="file"] {
	padding: 0.45rem;
	font-size: 0.85rem;
}

.ed-modal__hint {
	margin: 0 0 1rem;
	color: #888;
	font-size: 0.8rem;
}

.ed-modal-field input:focus,
.ed-modal-field select:focus {
	outline: none;
	border-color: #e91e63;
}

.ed-modal__submit {
	width: 100%;
}

.ed-modal__error {
	color: #ff6b7a;
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
}

.ed-payment-box {
	background: #111;
	border: 1px solid #333;
	border-radius: 12px;
	padding: 1rem 1.1rem;
	margin-bottom: 1.25rem;
}

.ed-payment-box p {
	margin: 0.35rem 0;
	color: #e8e8e8;
	font-size: 0.95rem;
	word-break: break-all;
}

@media (max-width: 600px) {
	.ed-modal {
		padding: 0.6rem;
	}

	.ed-modal__dialog {
		width: min(100%, calc(100vw - 1.2rem));
		padding: 1rem;
	}

	.ed-modal-form__grid {
		grid-template-columns: 1fr;
	}
}

/* ��� Perfil individual (ficha t�cnica) ��� */
.ed-profile {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem 1.25rem 3rem;
	color: #f0f0f0;
}

.ed-breadcrumb {
	margin-bottom: 1.25rem;
}

.ed-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
	color: #9a9a9a;
}

.ed-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.ed-breadcrumb a {
	color: #cfcfcf;
	text-decoration: none;
}

.ed-breadcrumb a:hover {
	color: #e91e63;
}

.ed-breadcrumb__sep {
	opacity: 0.5;
}

.ed-profile__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 1.75rem;
	align-items: start;
	margin-bottom: 2rem;
}

.ed-gallery__main {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #111;
	border: 1px solid #333;
	aspect-ratio: 3 / 4;
}

.ed-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ed-gallery__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
}

.ed-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	gap: 0.5rem;
	margin-top: 0.65rem;
}

.ed-gallery__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background: #111;
	cursor: pointer;
	aspect-ratio: 1;
}

.ed-gallery__thumb.is-active,
.ed-gallery__thumb:hover {
	border-color: #e91e63;
}

.ed-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ed-gallery__placeholder {
	aspect-ratio: 3 / 4;
	border-radius: 14px;
	background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
	border: 1px solid #333;
}

.ed-profile__name {
	margin: 0 0 0.35rem;
	font-size: clamp(1.75rem, 4vw, 2.4rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.15;
}

.ed-profile__location {
	margin: 0 0 0.75rem;
	color: #bdbdbd;
	font-size: 1rem;
}

.ed-profile__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1.25rem;
}

.ed-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	padding: 1rem;
	background: #222;
	border: 1px solid #333;
	border-radius: 14px;
}

.ed-specs__item {
	margin: 0;
}

.ed-specs__item dt {
	margin: 0 0 0.2rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9a9a9a;
}

.ed-specs__item dd {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	color: #fff;
}

.ed-specs__item--price dd {
	color: #e91e63;
	font-size: 1.25rem;
}

.ed-profile__schedule {
	margin: 0 0 1.25rem;
	color: #cfcfcf;
}

.ed-profile__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 1rem;
}

.ed-profile__payments {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	color: #a8a8a8;
	font-size: 0.875rem;
}

.ed-profile__body {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.ed-profile__section {
	padding: 1.25rem 1.35rem;
	background: #222;
	border: 1px solid #333;
	border-radius: 14px;
}

.ed-profile__section h2 {
	margin: 0 0 0.85rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.ed-profile__content {
	color: #d4d4d4;
	line-height: 1.65;
}

.ed-profile__content p:first-child {
	margin-top: 0;
}

.ed-profile__content p:last-child {
	margin-bottom: 0;
}

.ed-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ed-tag {
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #2a2a2a;
	border: 1px solid #3a3a3a;
	color: #eee;
	font-size: 0.85rem;
	font-weight: 500;
}

.ed-profile__similar {
	padding-top: 0.5rem;
	border-top: 1px solid #333;
}

@media (max-width: 900px) {
	.ed-profile__layout {
		grid-template-columns: 1fr;
	}

	.ed-gallery__main {
		aspect-ratio: 4 / 5;
	}
}

@media (max-width: 520px) {
	.ed-specs {
		grid-template-columns: 1fr;
	}
}

/* Cuenta de anunciantes */
.ed-account {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1.25rem 1.25rem 3rem;
	color: #f0f0f0;
}

.ed-account__inner {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.ed-account__hero,
.ed-account__card {
	background: #222;
	border: 1px solid #333;
	border-radius: 16px;
	padding: 1.25rem;
	box-shadow: var(--ed-shadow);
}

.ed-account__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e91e63;
}

.ed-account__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.4rem);
	color: #fff;
}

.ed-account__lead {
	margin: 0;
	max-width: 760px;
	color: #cfcfcf;
	line-height: 1.6;
}

.ed-account__notices {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ed-account__notice {
	margin: 0;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	border: 1px solid #333;
}

.ed-account__notice--success {
	background: rgba(76, 175, 80, 0.12);
	border-color: rgba(76, 175, 80, 0.45);
	color: #c8f0cb;
}

.ed-account__notice--error {
	background: rgba(233, 30, 99, 0.12);
	border-color: rgba(233, 30, 99, 0.45);
	color: #ffd2de;
}

.ed-account__grid {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 1.25rem;
}

.ed-account__grid--login {
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.ed-account__sidebar,
.ed-account__main {
	min-width: 0;
}

.ed-account__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.ed-account__welcome {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0;
}

.ed-account__welcome strong {
	font-size: 1rem;
	color: #fff;
}

.ed-account__welcome span {
	color: #bcbcbc;
}

.ed-account__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ed-account__card h2 {
	margin: 0 0 1rem;
	color: #fff;
	font-size: 1.25rem;
}

.ed-account__card p {
	color: #d0d0d0;
	line-height: 1.6;
}

.ed-account__list {
	margin: 0;
	padding-left: 1.1rem;
	color: #d0d0d0;
}

.ed-account__list li + li {
	margin-top: 0.5rem;
}

.ed-account__stats {
	display: grid;
	gap: 0.85rem;
	margin: 0;
}

.ed-account__stats dt {
	margin: 0 0 0.2rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9a9a9a;
}

.ed-account__stats dd {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
}

.ed-account-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ed-account-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.ed-account-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.ed-account-form__field--full {
	grid-column: 1 / -1;
}

.ed-account-form__field span,
.ed-account-form__check span,
.ed-account-photos__label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #bdbdbd;
}

.ed-account-form__field input,
.ed-account-form__field textarea {
	padding: 0.7rem 0.8rem;
	border-radius: 10px;
	border: 1px solid #3a3a3a;
	background: #111;
	color: #fff;
	font-family: inherit;
	font-size: 0.95rem;
}

.ed-account-form__field textarea {
	resize: vertical;
	min-height: 150px;
}

.ed-account-form__field input:focus,
.ed-account-form__field textarea:focus {
	outline: none;
	border-color: #e91e63;
	box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.15);
}

.ed-account-form__check {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.ed-account-form__submit {
	width: 100%;
}

.ed-account-photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.ed-account-photos__item {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.ed-account-photos__item img,
.ed-account-photos__placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid #333;
	background: #111;
}

.ed-account-photos__placeholder {
	background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
}

.ed-account-photos__item input[type="file"] {
	font-size: 0.85rem;
	color: #d0d0d0;
}

.ed-account__help {
	margin: 0;
	font-size: 0.86rem;
	color: #9f9f9f;
}

@media (max-width: 900px) {
	.ed-account__grid,
	.ed-account__grid--login {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.ed-account-form__grid,
	.ed-account-photos {
		grid-template-columns: 1fr;
	}
}
