/* ==========================================================================
   DJ TORA OFICIAL / Music Dj — estilos principales
   ========================================================================== */

:root {
	/* Paleta premium: negro profundo, tarjetas gris oscuro, verde lima + fucsia de acento. */
	--dj-bg: #0b0b0b;
	--dj-bg-2: #111111;
	--dj-surface: #171717;
	--dj-surface-2: #1f1f1f;
	--dj-border: #2a2a2a;
	--dj-text: #ffffff;
	--dj-text-2: #d4d4d4;
	--dj-text-3: #8c8c8c;
	--dj-muted: #b3b3b3;
	--dj-primary: #b8f75a;
	--dj-primary-hover: #c8fa7f;
	--dj-primary-soft: rgba(184, 247, 90, 0.12);
	--dj-primary-glow: 0 6px 20px rgba(184, 247, 90, 0.18);
	--dj-accent: #f02d9b;
	--dj-accent-soft: rgba(240, 45, 155, 0.14);
	--dj-accent-line: rgba(240, 45, 155, 0.45);
	--dj-danger: #ff4d4d;
	--dj-radius: 14px;
	--dj-radius-sm: 8px;
	/* Tipografía estilo Beatport: una sola familia (Figtree, alternativa libre a Aeonik). */
	--dj-font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	--dj-font-display: var(--dj-font);
	--dj-fs-xs: .75rem;    /* 12px: sellos, metadatos, insignias */
	--dj-fs-sm: .875rem;   /* 14px: menú, botones, nombres de canciones */
	--dj-fs-md: 1rem;      /* 16px: texto base */
	--dj-fs-lg: 1.25rem;   /* 20px: títulos de tarjetas grandes */
	--dj-fs-xl: 1.5rem;    /* 24px: títulos de sección */
	--dj-tracking-tight: -.017em;
	--dj-tracking-caps: .06em;
	--dj-container: 1240px;
	--dj-header-h: 72px;
	--dj-player-h: 76px;
}

/* Base ------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--dj-header-h) + 16px); }

body {
	margin: 0;
	background: var(--dj-bg);
	color: var(--dj-text);
	font-family: var(--dj-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.dj-player-open { padding-bottom: var(--dj-player-h); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dj-primary); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--dj-font-display); line-height: 1.15; margin: 0 0 .5em; color: #fff; }
p { margin: 0 0 1em; }
::selection { background: var(--dj-primary); color: #000; }
:focus-visible { outline: 2px solid var(--dj-primary); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.dj-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--dj-primary); color: #000; padding: 8px 16px; border-radius: var(--dj-radius-sm); }
.dj-skip:focus { left: 16px; }

.dj-container { width: 100%; max-width: var(--dj-container); margin: 0 auto; padding: 0 20px; }

.dj-icon { width: 22px; height: 22px; flex-shrink: 0; }

.dj-eyebrow {
	font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--dj-primary); margin: 0 0 .5rem;
}

/* Botones ---------------------------------------------------------------- */
.dj-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wp-element-button,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.5em; border: 2px solid var(--dj-primary); border-radius: 999px;
	background: var(--dj-primary); color: #000; font-family: var(--dj-font); font-weight: 700;
	font-size: .95rem; line-height: 1.2; cursor: pointer; text-transform: none;
	transition: box-shadow .2s, transform .2s, background .2s, color .2s;
}
.dj-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.wp-element-button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--dj-primary); color: #000; box-shadow: var(--dj-primary-glow); transform: translateY(-1px);
}
.dj-btn--ghost { background: transparent; color: var(--dj-primary); }
.dj-btn--ghost:hover { background: var(--dj-primary-soft); color: #fff; }
.dj-btn.is-disabled { opacity: .55; pointer-events: none; }
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] { background: var(--dj-surface-2); border-color: var(--dj-border); color: var(--dj-muted); }
.woocommerce a.added_to_cart { display: inline-block; margin-top: .5em; font-size: .85rem; color: var(--dj-primary); }

.dj-icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
	border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--dj-text);
	cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.dj-icon-btn:hover { color: var(--dj-primary); border-color: var(--dj-border); background: var(--dj-surface); }

/* Header ----------------------------------------------------------------- */
.dj-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11, 11, 11, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent; transition: border-color .2s;
}
.admin-bar .dj-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dj-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .dj-header { top: 0; } }
.dj-header.is-scrolled { border-bottom-color: var(--dj-border); }
.dj-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--dj-header-h); }

.dj-brand { flex-shrink: 0; }
.dj-brand .custom-logo { max-height: 48px; width: auto; }
.dj-brand__text {
	display: inline-flex; align-items: baseline; gap: .3em; color: #fff;
	font-family: var(--dj-font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em;
}
.dj-brand__text span { color: var(--dj-primary); text-shadow: var(--dj-primary-glow); }
.dj-brand__text small { font-size: .6rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--dj-muted); }
.dj-brand__text:hover { color: #fff; }

.dj-nav { margin-left: auto; }
.dj-menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dj-menu a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--dj-text); font-weight: 500; font-size: .95rem; }
.dj-menu a:hover,
.dj-menu .current-menu-item > a,
.dj-menu .current_page_item > a { color: var(--dj-primary); background: var(--dj-primary-soft); }
.dj-menu li { position: relative; }
.dj-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 200px; margin: 0; padding: 8px; list-style: none;
	background: var(--dj-surface); border: 1px solid var(--dj-border); border-radius: var(--dj-radius-sm);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.dj-menu li:hover > .sub-menu,
.dj-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.dj-header__actions { display: flex; align-items: center; gap: 4px; }
.dj-nav-toggle { display: none; }
.dj-cart-count {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--dj-primary); color: #000; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center;
}
.dj-cart-count.is-empty { display: none; }

.dj-search-panel { border-top: 1px solid var(--dj-border); padding: 16px 0; background: var(--dj-bg); }

/* Buscador --------------------------------------------------------------- */
.dj-search {
	position: relative; display: flex; align-items: center; gap: 8px; width: 100%;
	padding: 6px; background: var(--dj-surface); border: 1px solid var(--dj-border); border-radius: 999px;
	transition: border-color .2s, box-shadow .2s;
}
.dj-search:focus-within { border-color: var(--dj-primary); box-shadow: 0 0 0 3px var(--dj-primary-soft); }
.dj-search__icon { display: grid; place-items: center; padding-left: 12px; color: var(--dj-muted); }
.dj-search__input {
	flex: 1; min-width: 0; padding: 10px 4px; border: 0; background: transparent; color: var(--dj-text);
	font: inherit; font-size: 1rem; outline: none;
}
.dj-search__input::placeholder { color: var(--dj-muted); }
.dj-search__select {
	max-width: 160px; padding: 10px 28px 10px 14px; border: 0; border-left: 1px solid var(--dj-border);
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23b8f75a'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 8px center;
	color: var(--dj-text); font: inherit; font-size: .9rem; appearance: none; cursor: pointer; outline: none;
}
.dj-search__select option { background: var(--dj-surface); color: var(--dj-text); }
.dj-search .dj-btn { padding: .7em 1.4em; }

/* Hero ------------------------------------------------------------------- */
.dj-hero { position: relative; overflow: hidden; padding: 96px 0 72px; border-bottom: 1px solid var(--dj-border); }
.dj-hero__glow {
	position: absolute; inset: -40% -10% auto; height: 120%; pointer-events: none;
	background:
		radial-gradient(ellipse 50% 40% at 50% 30%, rgba(184, 247, 90, .18), transparent 70%),
		radial-gradient(ellipse 30% 25% at 85% 60%, rgba(184, 247, 90, .08), transparent 70%);
}
.dj-hero__inner { position: relative; z-index: 1; text-align: center; max-width: 880px; }
.dj-hero__title {
	font-size: clamp(2.6rem, 8vw, 5.5rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .25em;
}
.dj-hero__title span { color: var(--dj-primary); text-shadow: var(--dj-primary-glow); }
.dj-hero__lead { max-width: 620px; margin: 0 auto 2rem; color: var(--dj-muted); font-size: 1.1rem; }
.dj-hero__search { max-width: 720px; margin: 0 auto 1.5rem; }
.dj-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.dj-eq { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 48px; margin-top: 48px; }
.dj-eq span {
	width: 6px; height: 100%; border-radius: 3px; background: var(--dj-primary); opacity: .8;
	box-shadow: 0 0 8px rgba(184, 247, 90, .5); transform-origin: bottom;
	animation: dj-eq 1.2s ease-in-out infinite;
}
.dj-eq span:nth-child(3n) { animation-duration: .9s; }
.dj-eq span:nth-child(3n+1) { animation-duration: 1.4s; animation-delay: -.3s; }
.dj-eq span:nth-child(4n) { animation-duration: 1.1s; animation-delay: -.6s; }
.dj-eq span:nth-child(5n) { animation-duration: 1.6s; animation-delay: -.2s; }
@keyframes dj-eq { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
	.dj-eq span { animation: none; transform: scaleY(.4); }
	html { scroll-behavior: auto; }
}

/* Secciones -------------------------------------------------------------- */
.dj-section { padding: 72px 0; }
.dj-section--alt { background: var(--dj-bg-2); border-top: 1px solid var(--dj-border); border-bottom: 1px solid var(--dj-border); }
.dj-section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.dj-section__title { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0; }
.dj-link-more { font-weight: 600; white-space: nowrap; }
.dj-empty {
	padding: 32px; border: 1px dashed var(--dj-border); border-radius: var(--dj-radius);
	color: var(--dj-muted); text-align: center; margin: 0;
}

/* Categorías */
.dj-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.dj-cat {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 130px;
	padding: 18px; overflow: hidden; border: 1px solid var(--dj-border); border-radius: var(--dj-radius);
	background: linear-gradient(135deg, var(--dj-surface-2), var(--dj-surface)); color: #fff;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.dj-cat::before {
	content: ""; position: absolute; top: -30px; right: -30px; width: 90px; height: 90px; border-radius: 50%;
	border: 2px solid var(--dj-primary); opacity: .25; transition: opacity .2s, transform .3s;
}
.dj-cat:hover { color: #fff; border-color: var(--dj-primary); box-shadow: var(--dj-primary-glow); transform: translateY(-3px); }
.dj-cat:hover::before { opacity: .7; transform: scale(1.2); }
.dj-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.dj-cat__name { position: relative; font-family: var(--dj-font-display); font-weight: 700; font-size: 1.15rem; }
.dj-cat__count { position: relative; font-size: .8rem; color: var(--dj-muted); }

/* Grilla de productos (WooCommerce) ------------------------------------- */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 2em; padding: 0;
}
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative; display: flex; flex-direction: column; float: none; width: auto !important; margin: 0 !important;
	padding: 12px 12px 18px; background: var(--dj-surface); border: 1px solid var(--dj-border); border-radius: var(--dj-radius);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.woocommerce ul.products li.product:hover { border-color: rgba(184, 247, 90, .6); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 18px rgba(184, 247, 90, .15); transform: translateY(-3px); }

.dj-card__media { position: relative; margin-bottom: 14px; border-radius: var(--dj-radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--dj-surface-2); }
.dj-card__image img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform .4s; }
.woocommerce ul.products li.product:hover .dj-card__image img { transform: scale(1.05); }
.dj-card__media .dj-play { position: absolute; right: 12px; bottom: 12px; }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0; margin: 0 0 2px; font-size: 1.02rem; font-weight: 700;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a { color: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--dj-primary); }
.dj-card__artist { margin: 0 0 8px; color: var(--dj-muted); font-size: .85rem; }
.woocommerce ul.products li.product .price { margin: 0 0 14px; color: var(--dj-primary); font-weight: 700; font-size: 1.05rem; }
.woocommerce ul.products li.product .price del { color: var(--dj-muted); opacity: 1; font-weight: 400; font-size: .85em; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: auto; width: 100%; }
.woocommerce ul.products li.product .star-rating { margin-bottom: 8px; }

.dj-badge {
	position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px;
	background: rgba(11, 11, 11, .8); border: 1px solid var(--dj-primary); color: var(--dj-primary);
	font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.dj-badge--pack { background: var(--dj-primary); color: #000; }

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	top: 22px; right: 22px; left: auto; z-index: 3; min-width: 0; min-height: 0; margin: 0; padding: 4px 10px;
	border-radius: 999px; background: #fff; color: #000; font-size: .7rem; font-weight: 700; line-height: 1.4;
}

/* Botón de vista previa */
.dj-play {
	display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
	border: 0; border-radius: 50%; background: var(--dj-primary); color: #000; cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .5); transition: transform .2s, box-shadow .2s;
}
.dj-play:hover { transform: scale(1.08); box-shadow: var(--dj-primary-glow); }
.dj-play .dj-icon--pause,
.dj-play.is-playing .dj-icon--play { display: none; }
.dj-play.is-playing .dj-icon--pause { display: block; }
.dj-play.is-playing { box-shadow: var(--dj-primary-glow); animation: dj-pulse 1.6s ease-in-out infinite; }
@keyframes dj-pulse { 50% { box-shadow: 0 0 0 8px rgba(184, 247, 90, .15), var(--dj-primary-glow); } }
.dj-play--large { display: inline-flex; gap: 10px; width: auto; height: auto; padding: 12px 22px 12px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; }

/* Planes de suscripción ------------------------------------------------- */
.dj-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.dj-plan {
	position: relative; display: flex; flex-direction: column; padding: 32px 28px;
	background: var(--dj-surface); border: 1px solid var(--dj-border); border-radius: var(--dj-radius);
}
.dj-plan--featured { border-color: var(--dj-primary); box-shadow: var(--dj-primary-glow); }
.dj-plan__tag {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 14px;
	border-radius: 999px; background: var(--dj-primary); color: #000; font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.dj-plan__name { font-size: 1.3rem; margin-bottom: .25em; }
.dj-plan__price { font-family: var(--dj-font-display); font-size: 2.4rem; font-weight: 700; color: var(--dj-primary); margin-bottom: 1rem; }
.dj-plan__price small { font-size: .9rem; color: var(--dj-muted); font-weight: 500; }
.dj-plan__features { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; }
.dj-plan__features li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--dj-border); color: var(--dj-text); }
.dj-plan__features .dj-icon { width: 18px; height: 18px; color: var(--dj-primary); }

/* Páginas ---------------------------------------------------------------- */
.dj-page { padding-top: 48px; padding-bottom: 72px; }
.dj-page--narrow { max-width: 820px; }
.dj-page__header { margin-bottom: 32px; }
.dj-page__title { font-size: clamp(1.9rem, 5vw, 3rem); }
.dj-entry__content > * { max-width: 100%; }
.dj-entry__image { margin: 0 0 32px; border-radius: var(--dj-radius); overflow: hidden; }

.dj-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.dj-post-card { background: var(--dj-surface); border: 1px solid var(--dj-border); border-radius: var(--dj-radius); overflow: hidden; }
.dj-post-card__img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.dj-post-card__body { padding: 20px; }
.dj-post-card h2 { font-size: 1.25rem; }
.dj-post-card h2 a { color: #fff; }
.dj-post-card h2 a:hover { color: var(--dj-primary); }

.dj-404 { text-align: center; max-width: 640px; }
.dj-404__code { font-family: var(--dj-font-display); font-size: clamp(5rem, 18vw, 10rem); font-weight: 700; line-height: 1; color: var(--dj-primary); text-shadow: var(--dj-primary-glow); margin: 0; }
.dj-404 .dj-search { margin: 24px 0; }

.nav-links,
.woocommerce nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0; }
.nav-links .page-numbers,
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.nav-links .page-numbers,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
	border: 1px solid var(--dj-border); border-radius: 999px; background: var(--dj-surface); color: var(--dj-text);
}
.nav-links .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--dj-primary); border-color: var(--dj-primary); color: #000; }

/* Formularios generales -------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="tel"], input[type="number"], textarea, select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	padding: .75em 1em; border: 1px solid var(--dj-border); border-radius: var(--dj-radius-sm);
	background: var(--dj-surface); color: var(--dj-text); font: inherit;
}
.dj-search input[type="search"],
.dj-search select { border: 0; border-radius: 0; background-color: transparent; }
.dj-search select { border-left: 1px solid var(--dj-border); }
input:focus, textarea:focus, select:focus { border-color: var(--dj-primary); outline: none; box-shadow: 0 0 0 3px var(--dj-primary-soft); }
.select2-container--default .select2-selection--single { height: auto; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--dj-text); line-height: 1.4; padding: 0; }
.select2-dropdown { background: var(--dj-surface); border-color: var(--dj-border); color: var(--dj-text); }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--dj-primary); color: #000; }
label { color: var(--dj-text); }

/* WooCommerce: tienda y producto ---------------------------------------- */
.woocommerce .woocommerce-breadcrumb { color: var(--dj-muted); font-size: .85rem; margin-bottom: 24px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--dj-text); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--dj-primary); }
.woocommerce-products-header__title.page-title { font-size: clamp(1.9rem, 5vw, 3rem); }
.term-description { color: var(--dj-muted); }
.woocommerce .woocommerce-result-count { color: var(--dj-muted); margin: 0 0 24px; line-height: 44px; }
.woocommerce .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce .woocommerce-ordering select { padding-right: 2em; }

.woocommerce div.product { display: block; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { margin-bottom: 48px; }
.woocommerce div.product div.images img { border-radius: var(--dj-radius); }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: var(--dj-radius-sm); opacity: .6; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { opacity: 1; outline: 2px solid var(--dj-primary); }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--dj-primary); font-size: 1.6rem; font-weight: 700; }
.woocommerce div.product p.price del { color: var(--dj-muted); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--dj-text-2); }
.woocommerce div.product form.cart { margin: 24px 0; }
.woocommerce .quantity .qty { width: 4.5em; padding: .7em .4em; text-align: center; }
.woocommerce div.product .product_meta { padding-top: 16px; border-top: 1px solid var(--dj-border); color: var(--dj-muted); font-size: .9rem; }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }

.dj-single-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 0 0 24px; padding: 18px; background: var(--dj-surface); border: 1px solid var(--dj-border); border-radius: var(--dj-radius); }
.dj-track-meta { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; }
.dj-track-meta div { display: flex; flex-direction: column; }
.dj-track-meta dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dj-muted); }
.dj-track-meta dd { margin: 0; font-weight: 600; color: #fff; }
.dj-download-note { display: flex; gap: 10px; align-items: center; color: var(--dj-muted); font-size: .9rem; }
.dj-download-note .dj-icon { color: var(--dj-primary); }

.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--dj-border); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 18px; color: var(--dj-muted); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: transparent; border-bottom: 2px solid var(--dj-primary); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--dj-primary); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 1.3rem; }
.woocommerce .related > h2,
.woocommerce .upsells > h2 { font-size: 1.6rem; margin-bottom: 24px; }

.woocommerce .star-rating span::before,
.woocommerce p.stars a { color: var(--dj-primary); }
.woocommerce .star-rating::before { color: var(--dj-border); }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--dj-border); border-radius: var(--dj-radius-sm); }

/* Avisos */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments,
.wc-block-components-notice-banner {
	border: 1px solid var(--dj-border) !important; border-left: 4px solid var(--dj-primary) !important;
	border-radius: var(--dj-radius-sm); background: var(--dj-surface) !important; color: var(--dj-text) !important;
}
.woocommerce-error,
.wc-block-components-notice-banner.is-error { border-left-color: var(--dj-danger) !important; }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--dj-primary); }
.woocommerce-message .button,
.woocommerce-info .button { float: right; }

/* Carrito, checkout y Mi cuenta (clásico) */
.woocommerce table.shop_table { border: 1px solid var(--dj-border); border-radius: var(--dj-radius); border-collapse: separate; background: var(--dj-surface); }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: var(--dj-border); color: var(--dj-text); }
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th { border-color: var(--dj-border); }
.woocommerce a.remove { color: var(--dj-danger) !important; }
.woocommerce a.remove:hover { background: var(--dj-danger); color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 { font-size: 1.4rem; }
.woocommerce-checkout #payment,
.woocommerce #payment { background: var(--dj-surface); border: 1px solid var(--dj-border); border-radius: var(--dj-radius); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--dj-border); }
.woocommerce-checkout #payment div.payment_box { background: var(--dj-surface-2); color: var(--dj-text); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--dj-surface-2); }
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register { border: 1px solid var(--dj-border); border-radius: var(--dj-radius); background: var(--dj-surface); }

.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--dj-border); border-radius: var(--dj-radius); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; border-bottom: 1px solid var(--dj-border); color: var(--dj-text); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--dj-primary-soft); color: var(--dj-primary); }

/* Carrito y checkout por bloques */
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-sidebar,
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary,
.wc-block-components-panel { color: var(--dj-text); }
.wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-totals-wrapper { border-color: var(--dj-border) !important; }
.wc-block-components-text-input input,
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-form .wc-block-components-text-input input {
	background: var(--dj-surface) !important; border-color: var(--dj-border) !important; color: var(--dj-text) !important;
}
.wc-block-components-text-input label,
.wc-blocks-components-select .wc-blocks-components-select__label { color: var(--dj-muted) !important; }
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option { color: var(--dj-text); }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { border-color: var(--dj-primary); background: var(--dj-primary); }
.wc-block-components-radio-control .wc-block-components-radio-control__input,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background: var(--dj-surface); border-color: var(--dj-border); }
.wc-block-components-product-name,
.wc-block-components-totals-item__label,
.wc-block-components-formatted-money-amount { color: var(--dj-text); }
.wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount { color: var(--dj-primary); }
.wc-block-cart-items,
.wc-block-cart-items td,
.wc-block-cart-items th { border-color: var(--dj-border) !important; }
.wc-block-components-quantity-selector { border-color: var(--dj-border) !important; }
.wc-block-components-quantity-selector input,
.wc-block-components-quantity-selector button { color: var(--dj-text) !important; background: transparent; }

/* Footer ----------------------------------------------------------------- */
.dj-footer { border-top: 1px solid var(--dj-border); background: var(--dj-bg-2); }
.dj-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.dj-footer__brand p { max-width: 380px; margin-top: 12px; color: var(--dj-muted); }
.dj-footer-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.dj-footer-menu a { color: var(--dj-text); }
.dj-footer-menu a:hover { color: var(--dj-primary); }
.dj-footer__bottom { padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--dj-border); }
.dj-footer__bottom p { margin: 0; color: var(--dj-muted); font-size: .85rem; }

/* Reproductor global ----------------------------------------------------- */
.dj-player {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
	background: rgba(17, 17, 17, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-top: 1px solid var(--dj-primary); box-shadow: 0 -8px 30px rgba(184, 247, 90, .12);
	animation: dj-slide-up .25s ease-out;
}
.dj-player[hidden] { display: none; }
@keyframes dj-slide-up { from { transform: translateY(100%); } to { transform: none; } }
.dj-player__inner {
	display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 2fr) auto auto; align-items: center; gap: 20px;
	max-width: var(--dj-container); min-height: var(--dj-player-h); margin: 0 auto; padding: 10px 20px;
}
.dj-player__track { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--dj-text); }
.dj-player__track:hover { color: var(--dj-text); }
.dj-player__cover { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--dj-surface-2); }
.dj-player.is-playing .dj-player__cover { box-shadow: var(--dj-primary-glow); }
.dj-player__info { display: flex; flex-direction: column; min-width: 0; }
.dj-player__info strong,
.dj-player__info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dj-player__info small { color: var(--dj-muted); }
.dj-player.has-error .dj-player__info small { color: var(--dj-danger); }
.dj-player__controls { display: flex; align-items: center; gap: 4px; }
.dj-player__toggle {
	display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
	background: var(--dj-primary); color: #000; cursor: pointer; transition: box-shadow .2s, transform .2s;
}
.dj-player__toggle:hover { box-shadow: var(--dj-primary-glow); transform: scale(1.05); }
.dj-player__toggle .dj-icon--pause,
.dj-player.is-playing .dj-player__toggle .dj-icon--play { display: none; }
.dj-player.is-playing .dj-player__toggle .dj-icon--pause { display: block; }
.dj-player__timeline { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--dj-muted); font-variant-numeric: tabular-nums; }
.dj-player__timeline input { flex: 1; }
.dj-player__volume { display: flex; align-items: center; gap: 8px; color: var(--dj-muted); }
.dj-player__volume input { width: 90px; }

.dj-player input[type="range"] {
	--dj-progress: 0%;
	height: 4px; padding: 0; border: 0; border-radius: 4px; appearance: none; -webkit-appearance: none; cursor: pointer;
	background: linear-gradient(to right, var(--dj-primary) var(--dj-progress), var(--dj-border) var(--dj-progress));
}
.dj-player__volume input[type="range"] { background: var(--dj-border); }
.dj-player input[type="range"]:focus { box-shadow: none; }
.dj-player input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--dj-primary); box-shadow: 0 0 8px rgba(184, 247, 90, .7); }
.dj-player input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--dj-primary); }
.dj-player input[type="range"]::-moz-range-progress { height: 4px; background: var(--dj-primary); border-radius: 4px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products,
	.woocommerce ul.products.columns-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.dj-nav-toggle { display: inline-grid; }
	.dj-nav {
		position: fixed; inset: var(--dj-header-h) 0 0; z-index: 99; margin: 0; padding: 24px 20px;
		background: var(--dj-bg); border-top: 1px solid var(--dj-border); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s;
	}
	.admin-bar .dj-nav { top: calc(var(--dj-header-h) + 46px); }
	.dj-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.dj-menu { flex-direction: column; gap: 4px; }
	.dj-menu a { padding: 14px 16px; font-size: 1.1rem; border-radius: var(--dj-radius-sm); }
	.dj-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding-left: 16px; }
	.dj-header__actions { margin-left: auto; }
	body.dj-nav-open { overflow: hidden; }

	.dj-plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
	.woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.dj-player__inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
	.dj-player__timeline { grid-column: 1 / -1; order: 3; }
	.dj-player__volume { display: none; }
	:root { --dj-player-h: 110px; }
}

@media (max-width: 782px) {
	.admin-bar .dj-nav { top: calc(var(--dj-header-h) + 46px); }
}

@media (max-width: 768px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products,
	.woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.woocommerce ul.products li.product { padding: 8px 8px 14px; }
	.dj-play { width: 42px; height: 42px; }
	.dj-play--large { width: auto; height: auto; }
	.dj-section { padding: 56px 0; }
	.dj-hero { padding: 64px 0 48px; }
	.dj-section__header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 600px) {
	.dj-container { padding: 0 16px; }
	.dj-header__inner { gap: 12px; }
	.dj-brand__text { font-size: 1.15rem; }
	.dj-brand__text small { display: none; }
	.dj-icon-btn { width: 38px; height: 38px; }
	.admin-bar .dj-nav { top: var(--dj-header-h); }

	.dj-search { flex-wrap: wrap; border-radius: var(--dj-radius); padding: 8px; }
	.dj-search__input { flex-basis: calc(100% - 48px); }
	.dj-search__select { flex: 1; max-width: none; border-left: 0; border-top: 1px solid var(--dj-border); }
	.dj-search .dj-btn { flex: 1; }

	.dj-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.dj-cat { min-height: 100px; padding: 14px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .92rem; }
	.woocommerce ul.products li.product .button { padding: .7em .8em; font-size: .85rem; }
	.dj-badge { font-size: .6rem; padding: 3px 8px; }
	.dj-player__controls [data-dj-player-prev],
	.dj-player__controls [data-dj-player-next] { display: none; }
}

@media (max-width: 380px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products,
	.woocommerce ul.products[class*="columns-"] { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.1 — Estilo catálogo DJ (lanzamientos, carruseles, chart, packs)
   ========================================================================== */

.dj-section__actions { display: flex; align-items: center; gap: 8px; }
.dj-rail-btn { border-color: var(--dj-border); background: var(--dj-surface); }
.dj-rail-btn:hover { border-color: var(--dj-primary); }

/* Hero: píldoras de género */
.dj-hero { padding: 80px 0 56px; }
.dj-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dj-pills a {
	display: block; padding: 7px 16px; border: 1px solid var(--dj-border); border-radius: 999px;
	background: rgba(20, 20, 20, .7); color: var(--dj-text); font-size: .85rem; font-weight: 600;
}
.dj-pills a:hover { border-color: var(--dj-primary); color: var(--dj-primary); box-shadow: 0 0 12px rgba(184, 247, 90, .25); }
.dj-eq { margin-top: 40px; height: 40px; }

/* Lanzamientos destacados */
.dj-section--releases { padding-top: 56px; }
.dj-releases {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.dj-releases::-webkit-scrollbar { display: none; }
.dj-release {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); overflow: hidden;
	scroll-snap-align: start; border: 1px solid var(--dj-border); border-radius: calc(var(--dj-radius) + 4px);
	background: linear-gradient(135deg, #1c1c1c, var(--dj-surface));
	transition: border-color .2s, box-shadow .2s;
}
.dj-release:hover { border-color: rgba(184, 247, 90, .6); box-shadow: 0 0 28px rgba(184, 247, 90, .14); }
.dj-release__cover { position: relative; aspect-ratio: 1; background: var(--dj-surface-2); }
.dj-release__cover img { width: 100%; height: 100%; object-fit: cover; }
.dj-release__cover .dj-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%) scale(.9); opacity: 0; transition: opacity .2s, transform .2s; }
.dj-release:hover .dj-release__cover .dj-play,
.dj-release__cover .dj-play:focus-visible,
.dj-release__cover .dj-play.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.dj-release__body { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 28px; min-width: 0; }
.dj-release__title { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.dj-release__title a { color: #fff; }
.dj-release__title a:hover { color: var(--dj-primary); }
.dj-release__mix { margin: 0; color: var(--dj-primary); font-weight: 600; }
.dj-release__artist { margin: 0 0 6px; color: var(--dj-muted); font-size: 1.05rem; }
.dj-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; padding: 0; list-style: none; }
.dj-chips li { padding: 3px 10px; border: 1px solid var(--dj-border); border-radius: 6px; background: var(--dj-bg); font-size: .78rem; font-weight: 600; color: var(--dj-text-2); }
.dj-release__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; }
.dj-release__buy .price { color: var(--dj-primary); font-family: var(--dj-font-display); font-size: 1.5rem; font-weight: 700; }

/* Franja de beneficios */
.dj-features { border-top: 1px solid var(--dj-border); border-bottom: 1px solid var(--dj-border); background: var(--dj-bg-2); }
.dj-features__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.dj-feature { display: flex; align-items: center; gap: 12px; }
.dj-feature .dj-icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--dj-primary-soft); color: var(--dj-primary); }
.dj-feature strong { display: block; font-size: .92rem; color: #fff; }
.dj-feature span { display: block; font-size: .8rem; color: var(--dj-muted); }

/* Tarjetas de producto */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { padding: 0 0 14px; overflow: hidden; background: var(--dj-surface); }
.dj-card__media { margin: 0 0 12px; border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.dj-card__artist,
.dj-card__meta,
.dj-card__footer { padding-left: 14px; padding-right: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dj-card__artist { margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dj-card__meta { margin: 0 0 12px; color: var(--dj-text-3); font-size: .75rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dj-card__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.woocommerce ul.products li.product .dj-card__footer .price { margin: 0; font-size: 1rem; }
.woocommerce ul.products li.product .dj-card__footer .button { width: auto; margin: 0; padding: .5em 1.05em; font-size: .82rem; }
.woocommerce ul.products li.product .dj-card__footer .added_to_cart { flex-basis: 100%; margin: 0; }
.dj-card__media .dj-play {
	left: 50%; top: 50%; right: auto; bottom: auto; width: 56px; height: 56px;
	transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: opacity .2s, transform .2s, box-shadow .2s;
}
.dj-card__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
	background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 60%);
}
.woocommerce ul.products li.product:hover .dj-card__media::after { opacity: 1; }
.woocommerce ul.products li.product:hover .dj-card__media .dj-play,
.dj-card__media .dj-play:focus-visible,
.dj-card__media .dj-play.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); z-index: 2; }
.dj-card__media .dj-play:hover { transform: translate(-50%, -50%) scale(1.08); }
@media (hover: none) {
	.dj-card__media .dj-play { left: auto; top: auto; right: 10px; bottom: 10px; width: 44px; height: 44px; opacity: 1; transform: none; }
	.dj-card__media .dj-play:hover,
	.dj-card__media .dj-play.is-active { transform: none; }
}

/* Packs: portadas apiladas */
.woocommerce ul.products li.product.dj-card--pack { overflow: visible; }
.dj-card--pack .dj-card__media { overflow: visible; margin: 10px 10px 14px; border-radius: 8px; }
.dj-card--pack .dj-card__image { position: relative; z-index: 1; display: block; height: 100%; overflow: hidden; border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .6); }
.dj-card--pack .dj-card__media::before {
	content: ""; position: absolute; inset: -6px 6px 6px -6px; z-index: 0; border-radius: 8px;
	background: var(--dj-surface-2); border: 1px solid rgba(184, 247, 90, .35); transform: rotate(-3deg);
}
.dj-card--pack .dj-card__media::after { border-radius: 8px; z-index: 1; }
.dj-card--pack .dj-badge,
.dj-card--pack .dj-play { z-index: 3; }

/* Carrusel horizontal */
.dj-rail ul.products,
.woocommerce .dj-rail ul.products {
	grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5);
	gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; margin-bottom: 0;
}
.dj-rail ul.products::-webkit-scrollbar { display: none; }
.dj-rail ul.products li.product { scroll-snap-align: start; }

/* Chart / Top 10 */
.dj-tracklist { border: 1px solid var(--dj-border); border-radius: var(--dj-radius); overflow: hidden; background: var(--dj-surface); }
.dj-track {
	display: grid; align-items: center; gap: 16px; padding: 10px 18px;
	grid-template-columns: 36px 56px minmax(0, 3fr) minmax(0, 1.2fr) 56px 56px minmax(170px, auto);
	border-bottom: 1px solid var(--dj-border); transition: background .15s;
}
.dj-track:last-child { border-bottom: 0; }
.dj-track:not(.dj-track--head):hover { background: var(--dj-surface-2); }
.dj-track--head { padding-top: 12px; padding-bottom: 12px; background: var(--dj-surface); color: var(--dj-muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dj-track__rank { font-family: var(--dj-font-display); font-weight: 700; font-size: 1.1rem; color: var(--dj-muted); }
.dj-track:nth-child(2) .dj-track__rank,
.dj-track:nth-child(3) .dj-track__rank,
.dj-track:nth-child(4) .dj-track__rank { color: var(--dj-primary); text-shadow: 0 0 10px rgba(184, 247, 90, .5); }
.dj-track__cover { position: relative; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: var(--dj-surface-2); }
.dj-track__cover img { width: 100%; height: 100%; object-fit: cover; }
.dj-track__cover .dj-play { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; background: rgba(0, 0, 0, .55); color: var(--dj-primary); box-shadow: none; opacity: 0; }
.dj-track:hover .dj-track__cover .dj-play,
.dj-track__cover .dj-play:focus-visible,
.dj-track__cover .dj-play.is-active { opacity: 1; animation: none; }
.dj-track__cover .dj-play:hover { transform: none; }
.dj-track__main { display: flex; flex-direction: column; min-width: 0; }
.dj-track__title { color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dj-track__title span { color: var(--dj-muted); font-weight: 500; }
.dj-track__title:hover { color: var(--dj-primary); }
.dj-track__artist { color: var(--dj-muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dj-track__genre a { color: var(--dj-primary); font-size: .88rem; }
.dj-track__bpm,
.dj-track__key { color: var(--dj-text-2); font-size: .88rem; font-variant-numeric: tabular-nums; }
.dj-track__buy { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.dj-track__buy .price { color: #fff; font-weight: 700; white-space: nowrap; }
.dj-track__buy .button { padding: .45em 1em !important; font-size: .8rem !important; }
.dj-track__buy .added_to_cart { display: none; }
.dj-track__buy-h { text-align: right; }
.dj-track:has(.dj-play.is-playing) { background: rgba(184, 247, 90, .06); }
.dj-track:has(.dj-play.is-playing) .dj-track__title { color: var(--dj-primary); }

/* Géneros con portada */
.dj-cats { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.dj-cat { min-height: 150px; }
.dj-cat.has-image { background: #000; }
.dj-cat.has-image .dj-cat__img { opacity: .45; filter: saturate(1.2); transition: opacity .3s, transform .4s; }
.dj-cat.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent 70%); }
.dj-cat.has-image:hover .dj-cat__img { opacity: .7; transform: scale(1.06); }
.dj-cat__name,
.dj-cat__count { z-index: 1; }
.dj-cat__name { font-size: 1.3rem; }
.dj-cat__count { color: var(--dj-primary); font-weight: 600; }

/* Ficha de producto */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 56px; align-items: start; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images,
.woocommerce #content div.product div.images { grid-column: 1; width: 100% !important; float: none; }
.woocommerce div.product div.summary,
.woocommerce #content div.product div.summary { grid-column: 2; width: 100% !important; float: none; }
.woocommerce div.product > .onsale { grid-column: 1; }
.woocommerce div.product div.images img { box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(184, 247, 90, .08); }
.woocommerce div.product div.summary,
.woocommerce div.product div.images { min-width: 0; }
.dj-single-preview { flex-direction: column; align-items: stretch; min-width: 0; }
.dj-single-preview__player { display: flex; align-items: center; gap: 18px; min-width: 0; }
.dj-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 56px; min-width: 0; overflow: hidden; }
.dj-wave span { flex: 1 1 0; height: var(--h); min-width: 0; border-radius: 2px; background: #3a3a3a; transition: background .3s; }
.dj-single-preview:has(.dj-play.is-playing) .dj-wave span { background: var(--dj-primary); animation: dj-wave 1s ease-in-out infinite alternate; }
.dj-single-preview:has(.dj-play.is-playing) .dj-wave span:nth-child(odd) { animation-delay: -.5s; }
@keyframes dj-wave { to { transform: scaleY(.55); } }
.dj-track-meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px 20px; }
.dj-demo-note { padding: 10px 14px; border: 1px dashed rgba(184, 247, 90, .5); border-radius: var(--dj-radius-sm); color: var(--dj-primary); font-size: .9rem; }
.dj-pack-tracks { margin: 0; padding: 0; list-style: none; counter-reset: dj-t; border: 1px solid var(--dj-border); border-radius: var(--dj-radius); overflow: hidden; }
.dj-pack-tracks li { counter-increment: dj-t; display: flex; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--dj-border); }
.dj-pack-tracks li:last-child { border-bottom: 0; }
.dj-pack-tracks li::before { content: counter(dj-t, decimal-leading-zero); color: var(--dj-primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.dj-pack-tracks li:nth-child(odd) { background: var(--dj-bg-2); }

/* Banner final */
.dj-cta { padding: 64px 0; }
.dj-cta__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px;
	border: 1px solid rgba(184, 247, 90, .5); border-radius: calc(var(--dj-radius) + 6px);
	background: radial-gradient(ellipse at 10% 0%, rgba(184, 247, 90, .18), transparent 60%), var(--dj-surface);
	box-shadow: 0 0 40px rgba(184, 247, 90, .1);
}
.dj-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.dj-cta p:last-child { margin: 0; color: var(--dj-muted); }

/* Responsive v1.1 */
@media (max-width: 1100px) {
	.dj-releases { grid-auto-columns: 78%; }
	.dj-rail ul.products,
	.woocommerce .dj-rail ul.products { grid-auto-columns: calc((100% - 3 * 20px) / 3.6); }
	.dj-track { grid-template-columns: 32px 52px minmax(0, 3fr) minmax(0, 1fr) 48px minmax(150px, auto); }
	.dj-track__key { display: none; }
}
@media (max-width: 900px) {
	.dj-features__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
	.woocommerce div.product div.images,
	.woocommerce div.product div.summary,
	.woocommerce #content div.product div.images,
	.woocommerce #content div.product div.summary { grid-column: 1; }
}
@media (max-width: 768px) {
	.dj-hero { padding: 64px 0 48px; }
	.dj-releases { grid-auto-columns: 88%; }
	.dj-release { grid-template-columns: 1fr; }
	.dj-release__body { padding: 20px; }
	.dj-release__cover .dj-play { opacity: 1; left: auto; top: auto; right: 14px; bottom: 14px; width: 56px; height: 56px; transform: none; }
	.dj-release:hover .dj-release__cover .dj-play,
	.dj-release__cover .dj-play.is-active { transform: none; }
	.dj-rail ul.products,
	.woocommerce .dj-rail ul.products { grid-auto-columns: 46%; gap: 14px; }
	.dj-track { grid-template-columns: 26px 48px minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px; }
	.dj-track__cover { width: 48px; height: 48px; }
	.dj-track__genre,
	.dj-track__bpm,
	.dj-track__key,
	.dj-track--head { display: none; }
	.dj-track__cover .dj-play { opacity: 1; background: rgba(0, 0, 0, .35); }
	.dj-track__buy .button { display: none !important; }
	.dj-cta__inner { padding: 28px; }
}
@media (max-width: 600px) {
	.dj-hero { padding: 56px 0 40px; }
	.dj-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
	.dj-pills a { white-space: nowrap; }
	.dj-features__inner { grid-template-columns: 1fr 1fr; gap: 14px; }
	.dj-feature { flex-direction: column; align-items: flex-start; gap: 6px; }
	.dj-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dj-cat { min-height: 120px; }
	.woocommerce ul.products li.product .dj-card__footer .button { padding: .45em .8em; font-size: .78rem; }
	.dj-card__meta { font-size: .7rem; }
	.dj-section__actions .dj-rail-btn { display: none; }
}
@media (max-width: 380px) {
	.dj-rail ul.products,
	.woocommerce .dj-rail ul.products { grid-auto-columns: 72%; }
}

/* ==========================================================================
   v1.2 — Tipografía estilo Beatport
   Familia única Figtree (400/500/600/700/800). Escala compacta: 12 / 14 / 16 / 20 / 24 px,
   pesos medios (500) para nombres y botones, interletrado levemente negativo en títulos.
   ========================================================================== */

body { font-size: var(--dj-fs-md); line-height: 1.5; font-weight: 400; font-feature-settings: "kern"; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: var(--dj-tracking-tight); }
.price, .dj-track__bpm, .dj-track__key, .dj-track__rank, .dj-player__timeline, .dj-plan__price { font-variant-numeric: tabular-nums; }

/* Etiquetas superiores e insignias */
.dj-eyebrow { font-size: var(--dj-fs-xs); font-weight: 700; letter-spacing: var(--dj-tracking-caps); line-height: 16px; }
.dj-badge { font-size: .6875rem; font-weight: 700; letter-spacing: .02em; }
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale { font-size: .6875rem; font-weight: 700; letter-spacing: .02em; }
.dj-plan__tag { font-size: var(--dj-fs-xs); font-weight: 700; }
.dj-cart-count { font-size: .6875rem; font-weight: 700; }

/* Botones */
.dj-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wp-element-button,
.wc-block-components-button:not(.is-link) { font-size: var(--dj-fs-sm); font-weight: 600; line-height: 20px; letter-spacing: 0; }
.dj-play--large { font-size: var(--dj-fs-sm); font-weight: 600; }
.dj-link-more { font-size: var(--dj-fs-sm); font-weight: 500; }

/* Header y menú */
.dj-brand__text { font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; }
.dj-brand__text small { font-size: .625rem; font-weight: 600; letter-spacing: .2em; }
.dj-menu a { font-size: var(--dj-fs-sm); font-weight: 500; line-height: 20px; }
.dj-menu .current-menu-item > a,
.dj-menu .current_page_item > a { font-weight: 600; }

/* Buscador y géneros */
.dj-search__input { font-size: var(--dj-fs-md); }
.dj-search__select { font-size: var(--dj-fs-sm); }
.dj-pills a { font-size: var(--dj-fs-sm); font-weight: 500; }

/* Portada */
.dj-hero__title { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.dj-hero__lead { font-size: var(--dj-fs-md); line-height: 24px; }
.dj-section__title { font-size: var(--dj-fs-xl); font-weight: 600; line-height: 32px; letter-spacing: -.01em; }
.dj-feature strong { font-size: var(--dj-fs-sm); font-weight: 600; }
.dj-feature span { font-size: var(--dj-fs-xs); }
.dj-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.02em; }
.dj-cta p { font-size: var(--dj-fs-sm); }

/* Lanzamientos destacados */
.dj-release__title { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.25; letter-spacing: var(--dj-tracking-tight); }
.dj-release__mix { font-size: var(--dj-fs-sm); font-weight: 400; }
.dj-release__artist { font-size: var(--dj-fs-sm); font-weight: 400; letter-spacing: -.006em; }
.dj-chips li { font-size: var(--dj-fs-xs); font-weight: 500; }
.dj-release__buy .price { font-size: var(--dj-fs-lg); font-weight: 700; }

/* Tarjetas de producto */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: var(--dj-fs-sm); font-weight: 600; line-height: 20px; letter-spacing: -.0025em; }
.dj-card__artist { font-size: var(--dj-fs-sm); font-weight: 400; line-height: 20px; }
.dj-card__meta { font-size: var(--dj-fs-xs); font-weight: 400; letter-spacing: 0; line-height: 16px; }
.woocommerce ul.products li.product .dj-card__footer .price { font-size: var(--dj-fs-sm); font-weight: 600; }
.woocommerce ul.products li.product .dj-card__footer .button { font-size: var(--dj-fs-xs); font-weight: 600; line-height: 16px; }

/* Ranking */
.dj-track--head { font-size: .6875rem; font-weight: 600; letter-spacing: var(--dj-tracking-caps); }
.dj-track__rank { font-size: var(--dj-fs-md); font-weight: 500; }
.dj-track__title { font-size: var(--dj-fs-sm); font-weight: 600; line-height: 20px; }
.dj-track__title span { font-weight: 400; }
.dj-track__artist { font-size: var(--dj-fs-sm); line-height: 20px; }
.dj-track__genre a,
.dj-track__bpm,
.dj-track__key { font-size: var(--dj-fs-xs); font-weight: 400; }
.dj-track__buy .price { font-size: var(--dj-fs-sm); font-weight: 600; }
.dj-track__buy .button { font-size: var(--dj-fs-xs) !important; font-weight: 600; }

/* Géneros */
.dj-cat__name { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.dj-cat__count { font-size: var(--dj-fs-xs); font-weight: 500; }

/* Suscripciones */
.dj-plan__name { font-size: var(--dj-fs-lg); font-weight: 600; }
.dj-plan__price { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.dj-plan__price small { font-size: var(--dj-fs-sm); font-weight: 400; letter-spacing: 0; }
.dj-plan__features li { font-size: var(--dj-fs-sm); }

/* Páginas, tienda y producto */
.dj-page__title,
.woocommerce-products-header__title.page-title { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; }
.woocommerce .woocommerce-breadcrumb { font-size: var(--dj-fs-xs); }
.woocommerce .woocommerce-result-count { font-size: var(--dj-fs-sm); }
.woocommerce div.product .product_title { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { font-size: var(--dj-fs-xl); font-weight: 700; letter-spacing: -.01em; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: var(--dj-fs-md); line-height: 24px; }
.dj-track-meta dt { font-size: .6875rem; font-weight: 500; letter-spacing: var(--dj-tracking-caps); }
.dj-track-meta dd { font-size: var(--dj-fs-sm); font-weight: 600; }
.dj-download-note,
.dj-demo-note { font-size: var(--dj-fs-sm); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: var(--dj-fs-sm); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce .related > h2,
.woocommerce .upsells > h2 { font-size: var(--dj-fs-lg); font-weight: 600; letter-spacing: -.01em; }
.woocommerce div.product .product_meta { font-size: var(--dj-fs-xs); }
.dj-pack-tracks li { font-size: var(--dj-fs-sm); }
.dj-404__code { font-weight: 800; letter-spacing: -.05em; }

/* Footer y reproductor */
.dj-footer__brand p,
.dj-footer-menu a { font-size: var(--dj-fs-sm); }
.dj-footer__bottom p { font-size: var(--dj-fs-xs); }
.dj-player__info strong { font-size: var(--dj-fs-sm); font-weight: 600; line-height: 20px; }
.dj-player__info small { font-size: var(--dj-fs-xs); line-height: 16px; }
.dj-player__timeline { font-size: var(--dj-fs-xs); }

@media (max-width: 600px) {
	.dj-section__title { font-size: var(--dj-fs-lg); line-height: 28px; }
	.dj-release__title { font-size: var(--dj-fs-lg); }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: var(--dj-fs-sm); }
	.woocommerce ul.products li.product .dj-card__footer .button { font-size: var(--dj-fs-xs); }
	.dj-card__meta { font-size: .6875rem; }
	.dj-brand__text { font-size: 1.2rem; }
}

/* ==========================================================================
   v1.3 — Paleta premium: verde lima #B8F75A + fucsia #F02D9B
   Lima: botones principales, precios, enlaces activos, reproducción.
   Fucsia: etiquetas especiales, promociones, contador del carrito y hovers.
   Sin resplandores fluorescentes: sombras suaves y bordes finos.
   ========================================================================== */

::selection { background: var(--dj-accent); color: #fff; }
a:hover { color: var(--dj-primary-hover); }

/* Botones principales: lima plano, hover más claro, sin brillo */
.dj-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.wp-element-button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--dj-primary-hover); border-color: var(--dj-primary-hover); box-shadow: var(--dj-primary-glow);
}
.dj-btn--ghost { border-color: rgba(255, 255, 255, .22); color: #fff; }
.dj-btn--ghost:hover { background: var(--dj-accent-soft); border-color: var(--dj-accent); color: #fff; box-shadow: none; }

/* Marca y portada: color sólido, sin resplandor */
.dj-brand__text span,
.dj-hero__title span { text-shadow: none; }
.dj-hero__inner > .dj-eyebrow { color: var(--dj-accent); }
.dj-hero__glow {
	background:
		radial-gradient(ellipse 50% 40% at 45% 25%, rgba(184, 247, 90, .10), transparent 70%),
		radial-gradient(ellipse 35% 30% at 80% 65%, rgba(240, 45, 155, .08), transparent 70%);
}
.dj-eq span { opacity: .7; box-shadow: none; }
.dj-eq span:nth-child(6n) { background: var(--dj-accent); }

/* Header */
.dj-cart-count { background: var(--dj-accent); color: #fff; }
.dj-menu a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.dj-menu .current-menu-item > a,
.dj-menu .current_page_item > a { color: var(--dj-primary); background: var(--dj-primary-soft); }

/* Botones de navegación y píldoras de género: hover fucsia */
.dj-rail-btn:hover { border-color: var(--dj-accent); color: var(--dj-accent); }
.dj-pills a:hover { border-color: var(--dj-accent); color: #fff; background: var(--dj-accent-soft); box-shadow: none; }

/* Tarjetas */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { border-color: var(--dj-border); }
.woocommerce ul.products li.product:hover { border-color: var(--dj-accent-line); box-shadow: 0 14px 32px rgba(0, 0, 0, .55); }
.dj-release:hover { border-color: var(--dj-accent-line); box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.dj-cat:hover { border-color: var(--dj-accent-line); box-shadow: 0 12px 28px rgba(0, 0, 0, .5); }
.dj-cat::before { border-color: var(--dj-accent); opacity: .18; }
.dj-cat:hover::before { opacity: .45; }
.dj-card--pack .dj-card__media::before { border-color: var(--dj-accent-line); }

/* Etiquetas: canción en lima, pack y suscripción en fucsia, ofertas en fucsia */
.dj-badge { background: rgba(11, 11, 11, .82); border-color: rgba(184, 247, 90, .7); color: var(--dj-primary); }
.dj-badge--pack { background: var(--dj-accent); border-color: var(--dj-accent); color: #fff; }
.dj-badge--suscripcion { border-color: var(--dj-accent); color: #fff; background: rgba(240, 45, 155, .85); }
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale { background: var(--dj-accent); color: #fff; }
.price del,
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del { color: var(--dj-text-3); }
.price ins { color: var(--dj-primary); text-decoration: none; }
.woocommerce ul.products li.product.dj-card--pack .onsale { top: 54px; }

/* Botón de vista previa */
.dj-play { box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.dj-play:hover { background: var(--dj-primary-hover); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.dj-play.is-playing { box-shadow: 0 0 0 4px rgba(184, 247, 90, .22); }
@keyframes dj-pulse { 50% { box-shadow: 0 0 0 8px rgba(184, 247, 90, .12); } }

/* Ranking */
.dj-track:nth-child(2) .dj-track__rank,
.dj-track:nth-child(3) .dj-track__rank,
.dj-track:nth-child(4) .dj-track__rank { text-shadow: none; }
.dj-track__genre a { color: var(--dj-text-2); }
.dj-track__genre a:hover { color: var(--dj-accent); }
.dj-track:has(.dj-play.is-playing) { background: rgba(184, 247, 90, .05); box-shadow: inset 3px 0 0 var(--dj-primary); }

/* Lanzamientos y géneros */
.dj-release__mix { color: var(--dj-muted); }
.dj-cat__count { color: var(--dj-primary); }
.dj-feature .dj-icon { background: var(--dj-primary-soft); }
.dj-feature:nth-child(even) .dj-icon { background: var(--dj-accent-soft); color: var(--dj-accent); }

/* Suscripciones */
.dj-plan--featured { border-color: rgba(184, 247, 90, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.dj-plan__tag { background: var(--dj-accent); color: #fff; }

/* Ficha de producto */
.woocommerce div.product div.images img { box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.dj-wave span { background: #333; }
.dj-demo-note { border-color: var(--dj-accent-line); color: #fff; background: var(--dj-accent-soft); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: #fff; }

/* Avisos de WooCommerce */
.woocommerce-error,
.wc-block-components-notice-banner.is-error { border-left-color: var(--dj-accent) !important; }

/* Banner final */
.dj-cta__inner {
	border-color: var(--dj-border);
	background:
		radial-gradient(ellipse at 0% 0%, rgba(184, 247, 90, .10), transparent 55%),
		radial-gradient(ellipse at 100% 100%, rgba(240, 45, 155, .10), transparent 55%),
		var(--dj-surface);
	box-shadow: none;
}

/* Reproductor */
.dj-player { border-top-color: var(--dj-border); box-shadow: 0 -10px 30px rgba(0, 0, 0, .6); }
.dj-player.is-playing .dj-player__cover { box-shadow: 0 0 0 2px var(--dj-primary); }
.dj-player__toggle:hover { background: var(--dj-primary-hover); box-shadow: none; }
.dj-player input[type="range"]::-webkit-slider-thumb { box-shadow: none; }

/* 404 */
.dj-404__code { text-shadow: none; }

/* ==========================================================================
   v1.4 — Foto de DJ TORA como capa de fondo de la portada
   Solo capas absolutas detrás del contenido: no cambian medidas ni posiciones.
   ========================================================================== */

.dj-hero__bg,
.dj-hero__shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Degradado negro detrás de la figura recortada, con toques muy sutiles de lima y fucsia. */
.dj-hero__bg {
	background:
		radial-gradient(ellipse 30% 55% at 78% 38%, rgba(184, 247, 90, .07), transparent 70%),
		radial-gradient(ellipse 28% 45% at 90% 88%, rgba(240, 45, 155, .08), transparent 70%),
		linear-gradient(180deg, #0e0e0e 0%, var(--dj-bg) 100%);
}
.dj-hero__bg img {
	/* Figura completa a la altura de la portada: sin recortar ni deformar el rostro. */
	position: absolute; top: 0; right: max(2%, calc((100% - var(--dj-container)) / 2 + 2%));
	width: auto; max-width: none; height: 100%; aspect-ratio: 1057 / 1488;
	/* Sin drop-shadow: seguía el contorno y dibujaba un halo claro alrededor de los brazos. */
	filter: brightness(.88) contrast(1.04);
	-webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 98%);
	mask-image: linear-gradient(180deg, #000 68%, transparent 98%);
}
.dj-hero__shade {
	background: linear-gradient(180deg, rgba(11, 11, 11, .15) 0%, transparent 30%, transparent 70%, var(--dj-bg) 100%);
}
.dj-hero--has-bg .dj-hero__glow { z-index: 0; }

@media (max-width: 767px) {
	.dj-hero__bg {
		background:
			radial-gradient(ellipse 60% 40% at 50% 28%, rgba(184, 247, 90, .07), transparent 70%),
			radial-gradient(ellipse 50% 35% at 85% 75%, rgba(240, 45, 155, .08), transparent 70%),
			linear-gradient(180deg, #0e0e0e 0%, var(--dj-bg) 100%);
	}
	.dj-hero__bg img { right: auto; left: 50%; transform: translateX(-50%); }
	.dj-hero__shade {
		background: linear-gradient(180deg, rgba(11, 11, 11, .3) 0%, rgba(11, 11, 11, .35) 45%, rgba(11, 11, 11, .75) 75%, var(--dj-bg) 100%);
	}
}

/* ==========================================================================
   v1.5 — Planes reales y descargas con suscripción (mismo estilo de tarjetas)
   ========================================================================== */

.dj-plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
.dj-plans--1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; }
.dj-plan__current { margin: -8px 0 16px; color: var(--dj-primary); font-size: var(--dj-fs-xs); font-weight: 600; }
.dj-plan .dj-btn { width: 100%; }
.dj-plan-download { margin: 0 0 20px; }
.dj-plan-download__info { margin: 8px 0 0; color: var(--dj-muted); font-size: var(--dj-fs-xs); }
.dj-plan-status th { width: 40%; color: var(--dj-muted); font-weight: 500; }
@media (max-width: 900px) {
	.dj-plans--2 { grid-template-columns: 1fr; max-width: 460px; }
}

/* ==========================================================================
   v1.6 — Packs exclusivos por género
   ========================================================================== */

.dj-section--exclusive {
	background:
		radial-gradient(ellipse 55% 70% at 100% 0%, rgba(240, 45, 155, .07), transparent 65%),
		var(--dj-bg);
}
.dj-badge--exclusivo { background: var(--dj-accent); border-color: var(--dj-accent); color: #fff; }

/* Lista de canciones del pack (misma base que el ranking). */
.dj-pack-list { margin: 8px 0 48px; }
.dj-tracklist--pack .dj-track { grid-template-columns: 36px 56px minmax(0, 1fr) 64px 64px; }
.dj-tracklist--pack .dj-track .dj-track__rank { color: var(--dj-muted); text-shadow: none; } /* Sin el resaltado del Top 3. */
.dj-tracklist--pack .dj-track:not(.dj-track--head):hover .dj-track__title { color: #fff; }
@media (max-width: 768px) {
	.dj-tracklist--pack .dj-track { grid-template-columns: 26px 48px minmax(0, 1fr) auto; }
	.dj-tracklist--pack .dj-track__bpm { display: block; color: var(--dj-muted); }
}

/* ==========================================================================
   v1.7 — Secciones del catálogo (18 categorías) y filtro por categoría
   ========================================================================== */

/* Una sola fila deslizable: la portada mantiene su altura con 18 categorías. */
.dj-hero .dj-pills,
.dj-pills--filter {
	flex-wrap: nowrap; justify-content: safe center; overflow-x: auto; scrollbar-width: none;
}
.dj-hero .dj-pills::-webkit-scrollbar,
.dj-pills--filter::-webkit-scrollbar { display: none; }
.dj-pills--filter { justify-content: flex-start; margin: 0 0 24px; }
.dj-hero .dj-pills a,
.dj-pills--filter a { white-space: nowrap; }
.dj-pills a.is-active { background: var(--dj-primary); border-color: var(--dj-primary); color: #000; }
/* Desvanecido en los bordes cuando hay más categorías para deslizar (main.js). */
.dj-pills.can-scroll-right { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.dj-pills.can-scroll-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.dj-pills.can-scroll-left.can-scroll-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }

/* Legibilidad del texto sobre la foto (solo sombra, sin cambiar tamaños ni posiciones). */
.dj-hero--has-bg .dj-hero__title,
.dj-hero--has-bg .dj-hero__lead,
.dj-hero--has-bg .dj-eyebrow { text-shadow: 0 2px 14px rgba(0, 0, 0, .75); }

