/* ─────────────────────────────────────────────
   BFB Product Playlist — Player Styles
   ───────────────────────────────────────────── */

.bfb-playlist-wrapper {
    font-family: inherit;
    max-width: 600px;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
}

/* ── Player principal ── */
.bfb-player {
    background: #b39a98;
    color: #fff;
    padding: 20px 24px 16px;
    font-family: "new-kansas", sans-serif;
}

.bfb-player-info {
    text-align: center;
    margin-bottom: 14px;
    font-family: "new-kansas", sans-serif;
}

.bfb-player-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "new-kansas", sans-serif;
}

.bfb-player-artist {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    margin-top: 2px;
    font-family: "new-kansas", sans-serif;
}

/* ── Controles ── */
.bfb-player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.bfb-btn {
    background: none;
    border: none;
    color: #F2ECEB;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: opacity 0.15s;
    line-height: 1;
    opacity: 0.75;
}

.bfb-btn:hover {
    opacity: 1;
}

.bfb-playpause {
    font-size: 1.1rem;
    color: #F2ECEB;
    background: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    opacity: 1;
}

.bfb-playpause:hover {
    opacity: 0.8;
}

/* ── Barra de progreso ── */
.bfb-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bfb-time-current,
.bfb-time-duration {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    min-width: 32px;
    text-align: center;
}

.bfb-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bfb-progress-fill {
    height: 100%;
    width: 0%;
    background: #F2ECEB;
    border-radius: 3px;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ── Volumen ── */
.bfb-volume-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.bfb-vol-icon {
    font-size: 0.8rem;
    opacity: 0.7;
}

.bfb-volume {
    width: 80px;
    accent-color: #F2ECEB;
    cursor: pointer;
}

/* ── Lista de canciones ── */
.bfb-song-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bfb-song-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.bfb-song-item:last-child {
    border-bottom: none;
}

.bfb-song-item:hover:not(.bfb-locked) {
    background: #f9f4f3;
}

.bfb-song-item.bfb-active {
    background: #f3eded;
}

.bfb-song-item.bfb-locked {
    cursor: default;
    opacity: 0.6;
}

.bfb-song-num {
    font-size: 0.75rem;
    color: #aaa;
    min-width: 18px;
    text-align: center;
}

.bfb-song-icon {
    font-size: 0.8rem;
    color: #b39a98;
    min-width: 16px;
    text-align: center;
}

.bfb-song-info {
    flex: 1;
    overflow: hidden;
}

.bfb-song-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bfb-song-artist {
    display: block;
    font-size: 0.75rem;
    color: #999;
}

.bfb-badge-preview {
    font-size: 0.68rem;
    background: #e8f4ff;
    color: #2980b9;
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
}

.bfb-badge-locked {
    font-size: 0.68rem;
    background: #f5f0f0;
    color: #888;
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .bfb-player {
        padding: 16px;
    }
    .bfb-volume {
        width: 70px;
    }
}
