@keyframes audioSpin { to { transform: rotate(360deg); } }

/* ---------- شريط التصنيفات ---------- */
.audio-cats-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px 0;
    position: relative;
}

.audio-cats-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 2px;
    flex: 1;
    direction: rtl;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.audio-cats-track::-webkit-scrollbar { display: none; }

/* Chips */
.audio-chip {
    flex-shrink: 0;
    padding: 9px 22px;
    border: 2px solid #d4c5cb;
    border-radius: 50px;
    background: #fff;
    color: #5a3344;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
}
.audio-chip:hover {
    border-color: #7b2d4e;
    background: #fdf8fa;
    color: #7b2d4e;
}
.audio-chip.chip-on {
    background: linear-gradient(135deg, #7b2d4e, #9b3d5e);
    border-color: #7b2d4e;
    color: #fff;
    box-shadow: 0 4px 14px rgba(123,45,78,0.35);
}

/* أسهم */
.audio-cats-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #7b2d4e;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s;
    display: none;
}
.audio-cats-arrow:hover {
    background: #7b2d4e;
    color: #fff;
    border-color: #7b2d4e;
}

/* ---------- Loader ---------- */
.audio-loader-overlay {
    display: none;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.85);
    z-index: 10;
    text-align: center;
    padding-top: 80px;
    border-radius: 10px;
}
.audio-loader-spin {
    display: inline-block;
    width: 36px; height: 36px;
    border: 3px solid #eee;
    border-top-color: #7b2d4e;
    border-radius: 50%;
    animation: audioSpin 0.7s linear infinite;
}
.audio-loader-text {
    margin-top: 8px;
    color: #7b2d4e;
    font-weight: bold;
    font-size: 14px;
}

/* ---------- عرض كامل ---------- */
.audio-main-full { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .audio-cats-arrow { display: none !important; }
    .audio-chip { padding: 7px 15px; font-size: 13px; }
    .audio-cats-bar { gap: 4px; }
}
</style>