.beat-listing {
	padding: 40px 0 50px;
	background: #0b0b0b;
	border-bottom: 1px solid #2a2a2a;
	color: #f5f5f5;
	font-family: 'Inter', sans-serif;
}

.beat-listing .container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

.listing-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.listing-header h2 {
	margin: 0;
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
}

body.single-genre .listing-controls,
.producer-page .listing-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	max-width: 100%;
	flex-wrap: wrap;
}

body.single-genre .listing-controls input,
body.single-genre .listing-controls select,
.producer-page .listing-controls input,
.producer-page .listing-controls select {
	box-sizing: border-box;
	min-width: 0;
	padding: 10px 16px;
	background: #232323;
	border: 1px solid #2a2a2a;
	border-radius: 6px;
	color: #f5f5f5;
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
}

body.single-genre .listing-controls input,
.producer-page .listing-controls input { width: 200px; }

body.single-genre .listing-controls input:focus,
body.single-genre .listing-controls select:focus,
.producer-page .listing-controls input:focus,
.producer-page .listing-controls select:focus {
	outline: none;
	border-color: #a855f7;
}

body.single-genre .listing-controls select,
.producer-page .listing-controls select { cursor: pointer; }

@media (max-width: 768px) {
	body.single-genre .listing-controls,
	.producer-page .listing-controls {
		justify-content: flex-start;
		width: 100%;
	}
	body.single-genre .listing-controls input,
	body.single-genre .listing-controls select,
	.producer-page .listing-controls input,
	.producer-page .listing-controls select {
		flex: 1 1 200px;
		width: auto;
	}
}

@media (max-width: 480px) {
	body.single-genre .listing-controls,
	.producer-page .listing-controls {
		align-items: stretch;
		flex-direction: column;
	}
	body.single-genre .listing-controls input,
	body.single-genre .listing-controls select,
	.producer-page .listing-controls input,
	.producer-page .listing-controls select {
		width: 100%;
		flex-basis: auto;
	}
}

.beat-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 8px;
	padding: 8px 16px 8px 8px;
	background: #181818;
	border: 1px solid #2a2a2a;
	border-radius: 10px;
	transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.beat-row:hover {
	background: #1e1e1e;
	border-color: #a855f7;
	transform: translateX(4px);
}

.beat-row.active {
	background: rgba(168, 85, 247, 0.08);
	border-color: #a855f7;
}

.row-art {
	position: relative;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	overflow: hidden;
	background: #1c1c1c;
	border-radius: 6px;
}

.row-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	background: rgba(0, 0, 0, 0.4);
	border: 0;
	color: #fff;
	font-size: 1rem;
	opacity: 0;
	cursor: pointer;
	transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.play-overlay:hover,
.play-overlay:focus-visible,
.beat-row:hover .play-overlay,
.play-overlay.playing {
	opacity: 1;
}

.play-overlay.playing { background: rgba(168, 85, 247, 0.2); }
.play-overlay i { text-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }

.row-info {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
	gap: 6px 14px;
	flex-wrap: wrap;
}

.row-info .title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #f5f5f5;
	white-space: nowrap;
	text-decoration: none;
}

.row-info .producer {
	color: #b0b0b0;
	font-size: 0.85rem;
	white-space: nowrap;
}

.row-info .meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	color: #777;
	font-size: 0.78rem;
}

.row-info .meta span { white-space: nowrap; }
.row-info .meta .sep { color: #2a2a2a; }

.row-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	margin-left: auto;
}

.row-actions .price {
	color: #a855f7;
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
}

.row-actions .fav {
	padding: 0;
	background: transparent;
	border: 0;
	color: #777;
	font-size: 1rem;
	cursor: pointer;
	transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.row-actions .fav:hover,
.row-actions .fav:focus-visible,
.row-actions .fav.liked { color: #a855f7; }

.btn-license {
	padding: 0.2rem 1rem;
	background: #a855f7;
	border: 0;
	border-radius: 20px;
	color: #0b0b0b;
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.btn-license:hover,
.btn-license:focus-visible {
	background: #c084fc;
	transform: scale(1.05);
}

.load-more-container {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.load-more-container .btn-outline {
	padding: 0.6rem 2.5rem;
	background: transparent;
	border: 1px solid #2a2a2a;
	border-radius: 6px;
	color: #f5f5f5;
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.load-more-container .btn-outline:hover,
.load-more-container .btn-outline:focus-visible {
	background: rgba(168, 85, 247, 0.08);
	border-color: #a855f7;
	color: #a855f7;
}

@media (max-width: 860px) {
	.row-info .meta .hide-mobile,
	.row-info .meta .sep.hide-mobile { display: none; }
}

@media (max-width: 640px) {
	.beat-row { gap: 10px; padding: 6px 10px 6px 6px; flex-wrap: wrap; }
	.row-art { width: 44px; height: 44px; }
	.row-info .title { font-size: 0.85rem; }
	.row-info .producer { font-size: 0.75rem; }
	.row-info .meta { gap: 6px; font-size: 0.7rem; }
	.row-actions { gap: 8px; }
	.row-actions .price { font-size: 0.8rem; }
	.btn-license { padding: 0.15rem 0.7rem; font-size: 0.6rem; }
}

@media (max-width: 480px) {
	.row-info .meta .hide-mobile-sm,
	.row-info .meta .sep.hide-mobile-sm { display: none; }
	.row-art { width: 38px; height: 38px; }
}
