/* Weekend Party · catálogo de DJ Sessions. Solo se carga en /weekend-party/. */
.djw {
	--djw-surface: #15111D; --djw-surface-2: #1E1829; --djw-line: #2D2538; --djw-ink: #F5EFF8; --djw-muted: #A99FB5; --djw-soft: #D9CFE3;
	--djw-grad: linear-gradient(100deg, #BB62F1 0%, #EE4B4B 52%, #FFBD13 100%); --djw-on-grad: #160B12;
	--djw-display: "Syne", "Arial Black", sans-serif; --djw-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Hero compacto ---------- */
.e-con.djw-hero { position: relative; gap: 12px !important; padding-top: clamp(32px, 5vw, 64px) !important; padding-bottom: clamp(20px, 3vw, 32px) !important; }
.e-con.djw-hero::before {
	content: ""; position: absolute; inset: -20% -10% -10%; z-index: -1; pointer-events: none;
	background: radial-gradient(40% 60% at 15% 30%, rgba(187, 98, 241, .22), transparent 70%), radial-gradient(35% 55% at 70% 10%, rgba(238, 75, 75, .14), transparent 70%);
}
.e-con.djw-hero > .elementor-widget { width: 100%; }
.djw-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 12px/1 "DM Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--djw-soft); }
.djw-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--djw-grad); }
.djw-title { margin: 0; font: 800 clamp(40px, 8vw, 96px)/.92 var(--djw-display); letter-spacing: -.045em; color: var(--djw-ink); }
.djw-tagline { margin: 4px 0 0; font: 800 clamp(22px, 2.6vw, 34px)/1.1 var(--djw-display); letter-spacing: -.01em; background: var(--djw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.djw-lead { margin: 0; max-width: 58ch; color: var(--djw-soft); font: 400 clamp(16px, 1.4vw, 18.5px)/1.6 var(--djw-body); }

/* ---------- Filtros ---------- */
.djw-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.djw .djw-chip {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px !important; border-radius: 99px !important;
	border: 1px solid var(--djw-line) !important; background: var(--djw-surface) !important; color: var(--djw-soft) !important;
	font: 600 14.5px/1 var(--djw-body); text-transform: none; letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: border-color .2s, color .2s;
}
.djw .djw-chip:hover { border-color: #BB62F1 !important; color: var(--djw-ink) !important; }
.djw .djw-chip.is-active { background: var(--djw-grad) !important; border-color: transparent !important; color: var(--djw-on-grad) !important; }
.djw .djw-chip:focus-visible { outline: 2px solid #FFBD13; outline-offset: 3px; }
.djw-empty { margin: 8px 0 0; color: var(--djw-muted); }
.djw-empty[hidden] { display: none; }

/* ---------- Catálogo ---------- */
.e-con.djw-catalog { padding-bottom: clamp(56px, 8vw, 104px) !important; gap: 0 !important; }
.e-con.djw-catalog > .elementor-widget { width: 100%; }
.djw-listing .jet-listing-grid__item.djw-hidden { display: none !important; }

.djw-card { position: relative; height: 100%; border-radius: 24px; border: 1px solid var(--djw-line); background: var(--djw-surface); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.djw-card:hover { transform: translateY(-4px); border-color: #4A3D5C; box-shadow: 0 22px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(187, 98, 241, .15); }
.e-con.djw-card { gap: 0 !important; }
.e-con.djw-card > .elementor-widget { width: 100%; margin: 0 !important; }

.djw-card__cover { position: relative; overflow: hidden; }
.djw-card__cover .jet-listing-dynamic-image, .djw-card__cover a { display: block; }
.djw-card__cover img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; transition: scale .6s ease; }
.djw-card:hover .djw-card__cover img { scale: 1.04; }
.djw-card__cover::after {
	content: ""; position: absolute; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; pointer-events: none;
	background: var(--djw-grad) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23160B12' d='M8 5.2c0-.8.9-1.3 1.6-.9l10.2 6.2c.7.4.7 1.4 0 1.8L9.6 18.7c-.7.4-1.6-.1-1.6-.9z'/%3E%3C/svg%3E") 55% 50% / 22px no-repeat;
	box-shadow: 0 10px 26px rgba(238, 75, 75, .35); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.djw-card:hover .djw-card__cover::after { opacity: 1; transform: none; }

.e-con.djw-card__body { gap: 10px !important; padding: 18px 20px 20px !important; }
.e-con.djw-card__body > .elementor-widget { width: 100%; margin: 0 !important; }
.djw-card__cats .jet-listing-dynamic-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.djw-card__cats .jet-listing-dynamic-terms__link {
	display: inline-flex; padding: 5px 10px; border-radius: 99px; background: rgba(187, 98, 241, .14); color: #E5C9FF;
	font: 500 11px/1.2 "DM Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase;
}
.djw-card__cats .jet-listing-dynamic-terms__delimiter { display: none; }
.djw-card__title .elementor-heading-title, .djw-card__title .elementor-heading-title a { margin: 0; font: 700 21px/1.18 var(--djw-display); color: var(--djw-ink); text-decoration: none; }
.djw-card__title .elementor-heading-title a:hover { color: #fff; }
.djw-card__meta { display: flex; align-items: center; gap: 8px; color: var(--djw-muted); font: 500 13px/1 "DM Mono", ui-monospace, monospace; }
.djw-card__time { display: inline-flex; align-items: center; gap: 6px; }
.djw-card__time svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Acciones de la tarjeta: aquí se añadirá «Agregar a mi fiesta» en la siguiente fase. */
.e-con.djw-card__actions { flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; margin-top: 6px; }
.e-con.djw-card__actions > .elementor-widget { width: auto !important; }
.djw-card__listen .elementor-button {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 99px; border: 0;
	background: var(--djw-grad); color: var(--djw-on-grad); font: 700 14.5px/1 var(--djw-body); transition: box-shadow .2s, transform .2s;
}
.djw-card__listen .elementor-button:hover { color: var(--djw-on-grad); box-shadow: 0 10px 26px rgba(238, 75, 75, .32); transform: translateY(-1px); }
.djw-card__listen .elementor-button:focus-visible { outline: 2px solid #FFBD13; outline-offset: 3px; }

@media (max-width: 767px) {
	.djw-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--dja-gutter, 16px) * -1); padding-right: var(--dja-gutter, 16px); scrollbar-width: none; }
	.djw-filters::-webkit-scrollbar { display: none; }
	.e-con.djw-card__body { padding: 16px 16px 18px !important; }
	.djw-card__cover::after { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .djw-card, .djw-card__cover img, .djw-card__cover::after { transition: none; } }

/* ---------- «Arma tu fiesta» (tres pasos) ---------- */
.djw-steps {
	position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr); align-items: center; gap: clamp(24px, 3vw, 48px);
	margin: 18px 0 6px; padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.6vw, 38px); border-radius: 28px; border: 1px solid var(--djw-line); overflow: hidden;
	background: radial-gradient(60% 120% at 0% 0%, rgba(187, 98, 241, .16), transparent 60%), radial-gradient(50% 120% at 100% 100%, rgba(255, 189, 19, .08), transparent 60%), var(--djw-surface);
}
.djw-steps::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--djw-grad); opacity: .8; }
.djw-steps__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.djw-steps__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 500 12px/1 "DM Mono", ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--djw-soft); }
.djw-steps__eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--djw-grad); }
.djw-steps__title { margin: 0; font: 800 clamp(24px, 2.4vw, 36px)/1.08 var(--djw-display); letter-spacing: -.02em; color: var(--djw-ink); }
.djw-steps__title span { background: var(--djw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.djw-steps__lead { margin: 12px 0 0; max-width: 46ch; color: var(--djw-soft); font: 400 16px/1.55 var(--djw-body); }
.djw-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.djw-step {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 20px 18px 18px;
	border-radius: 20px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .03); transition: border-color .2s, transform .2s;
}
.djw-step:hover { border-color: rgba(187, 98, 241, .45); transform: translateY(-2px); }
.djw-step:not(:last-child)::after {
	content: ""; position: absolute; top: 50%; right: -12px; z-index: 1; width: 8px; height: 8px; margin-top: -4px;
	border-top: 2px solid #EE4B4B; border-right: 2px solid #EE4B4B; transform: rotate(45deg); opacity: .8;
}
.djw-step__icon {
	display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 12px; border-radius: 20px;
	background: linear-gradient(145deg, rgba(187, 98, 241, .2), rgba(238, 75, 75, .1)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 12px 28px rgba(187, 98, 241, .16);
}
.djw-step__icon svg { width: 40px; height: 40px; fill: none; stroke: url(#djw-steps-grad); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.djw-step__num { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--djw-grad); color: var(--djw-on-grad); font: 700 13px/1 "DM Mono", ui-monospace, monospace; box-shadow: 0 6px 16px rgba(238, 75, 75, .3); }
.djw-step__name { font: 800 19px/1.1 var(--djw-display); letter-spacing: .02em; text-transform: uppercase; color: var(--djw-ink); }
.djw-step__sub { font: 400 14.5px/1.35 var(--djw-body); color: var(--djw-muted); }

/* ---------- Escritorio amplio: más presencia para el catálogo ---------- */
@media (min-width: 1280px) {
	.e-con.dja-wrap.djw { max-width: 1440px !important; }
	.e-con.djw-card__body { padding: 22px 24px 24px !important; }
	.djw-card__title .elementor-heading-title, .djw-card__title .elementor-heading-title a { font-size: 24px; }
	.djw-card__meta { font-size: 14px; }
	.djw-step__icon { width: 78px; height: 78px; border-radius: 22px; }
	.djw-step__icon svg { width: 48px; height: 48px; }
	.djw-step__name { font-size: 21px; }
	.djw-step__sub { font-size: 15px; }
}

/* ---------- Tableta ---------- */
@media (max-width: 1024px) {
	.djw-steps { grid-template-columns: 1fr; gap: 18px; }
	.djw-steps__lead { max-width: 60ch; }
}
/* ---------- Celular: compacto ---------- */
@media (max-width: 600px) {
	.djw-steps { gap: 14px; margin-top: 12px; padding: 18px 14px 14px; border-radius: 22px; }
	.djw-steps__eyebrow { margin-bottom: 8px; font-size: 11px; }
	.djw-steps__lead { margin-top: 8px; font-size: 14.5px; line-height: 1.45; }
	.djw-steps__list { gap: 8px; }
	.djw-step { align-items: center; gap: 2px; padding: 12px 6px 11px; border-radius: 16px; text-align: center; }
	.djw-step:not(:last-child)::after { right: -7px; width: 6px; height: 6px; margin-top: -3px; }
	.djw-step__icon { width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; }
	.djw-step__icon svg { width: 28px; height: 28px; stroke-width: 2.8; }
	.djw-step__num { top: 7px; right: 7px; width: 20px; height: 20px; font-size: 11px; }
	.djw-step__name { font: 800 13px/1.1 var(--djw-body); letter-spacing: .06em; }
	.djw-step__sub { font-size: 11.5px; line-height: 1.3; }
	.djw-step:not(:last-child)::after { display: none; }
	.djw-steps__title { font-size: 19px; }
	.djw-steps__lead { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .djw-step { transition: none; } }

/* ---------- Buscador (artista, canción o DJ Session) ---------- */
.djw-sr { position: absolute !important; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.djw-search {
	position: relative; display: flex; align-items: center; max-width: 640px; margin-top: 16px;
	border-radius: 99px; padding: 1px; background: linear-gradient(100deg, rgba(187, 98, 241, .55), rgba(238, 75, 75, .45), rgba(255, 189, 19, .45));
	box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}
.djw-search:focus-within { background: var(--djw-grad); box-shadow: 0 14px 40px rgba(238, 75, 75, .22); }
.djw-search__icon { position: absolute; left: 20px; width: 20px; height: 20px; fill: none; stroke: #D9CFE3; stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.djw .djw-search__input, .djw-search__input[type="search"] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 56px; margin: 0; padding: 0 52px 0 52px !important;
	border: 0 !important; border-radius: 99px !important; background: #120E19 !important; color: var(--djw-ink) !important;
	font: 500 16.5px/1 var(--djw-body) !important; box-shadow: none !important; outline: none;
}
.djw-search__input::placeholder { color: #8E849B; opacity: 1; }
.djw-search__input::-webkit-search-cancel-button, .djw-search__input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.djw .djw-search__clear {
	-webkit-appearance: none !important; appearance: none !important; position: absolute; right: 10px; display: grid !important; place-items: center;
	width: 36px; height: 36px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .08) !important;
	color: var(--djw-soft) !important; cursor: pointer;
}
.djw .djw-search__clear:hover, .djw .djw-search__clear:focus { background: rgba(238, 75, 75, .25) !important; color: #fff !important; }
.djw .djw-search__clear[hidden] { display: none !important; }
.djw-search__clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.djw-search__spin { position: absolute; right: 56px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: #EE4B4B; opacity: 0; transition: opacity .15s; animation: djw-spin .7s linear infinite; pointer-events: none; }
.djw-search.is-busy .djw-search__spin { opacity: 1; }
@keyframes djw-spin { to { transform: rotate(360deg); } }
.djw-search + .djw-filters { margin-top: 14px; }

/* Coincidencia en el tracklist, dentro de la tarjeta */
.djw-card__match {
	display: flex; align-items: center; gap: 7px; margin: 0; padding: 7px 11px; border-radius: 12px; max-width: 100%;
	background: rgba(255, 189, 19, .08); border: 1px solid rgba(255, 189, 19, .22); color: var(--djw-soft); font: 500 13px/1.3 var(--djw-body);
}
.djw-card__match svg { flex: none; width: 15px; height: 15px; fill: none; stroke: #FFBD13; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.djw-card__match span { flex: none; color: var(--djw-muted); }
.djw-card__match b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: #FFE7A6; }

@media (max-width: 600px) {
	.djw-search { margin-top: 12px; }
	.djw .djw-search__input, .djw-search__input[type="search"] { height: 50px; font-size: 16px !important; padding: 0 48px 0 46px !important; }
	.djw-search__icon { left: 17px; width: 18px; height: 18px; }
	.djw-search__spin { right: 52px; }
}
@media (prefers-reduced-motion: reduce) { .djw-search__spin { animation-duration: 2s; } }

/* Etiqueta VIDEO en las tarjetas */
.djw-card__badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: 99px; background: var(--djw-grad); color: var(--djw-on-grad); font: 700 11px/1 "DM Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.djw-card__badge svg { width: 11px; height: 11px; fill: currentColor; }
