   /* Estilos para hacer el botón flotante en móviles */
   .float-btn-mobile {
    position: fixed;       
    bottom: 0px;           
    left: 50%;               
    transform: translateX(-50%);
    z-index: 1000;          
    width: 500px;           
    max-width: 300px;        
    background-color: #ec5252; 
    color: #fff;             
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding-right: 30px; /* Aumenta el padding en el lado derecho */
    padding-left: 15px;  /* Añadir un poco de padding en el lado izquierdo */
    display: flex;
    justify-content: space-between; /* Distribuye el contenido */
    align-items: center; /* Alinea verticalmente */
}

.price-container {
    display: flex;
    align-items: start;
    background-color: #f7f7fa; 

}
/* Estilos solo para pantallas pequeñas (móviles) */
@media (min-width: 768px) {
    .float-btn-mobile {
        display: none; /* Ocultar en pantallas más grandes (no móviles) */
    }
}

.original-price {
    text-decoration: line-through;
    color: #1d1c1c; /* Un gris suave para el precio original */
    margin-left: 10px; /* Separar los precios */
    font-size: 0.8em; /* Tamaño más pequeño, puedes ajustar este valor */
    margin-left: 3px; /* Espacio entre el precio actual y el precio tachado */
    
}

.discount-price{
    color: #1b127b; /* Un gris suave para el precio descuento */

}
.text-black{
    color: #000;
}
.porcentaje{
    color: #000;
}


.podcast-widget {
    width: 100%;
    max-width: 400px;
    margin: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.audio-player-top {
    padding: 15px;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

#audioPlayerContainer {
    position: sticky;
    font-family: Arial, sans-serif;
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    z-index: 10;
    width: 400px;
    margin: auto;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 10px; /* Espaciado entre elementos */
    width: 100%; /* Asegura que ocupe todo el ancho */
    box-sizing: border-box; /* Incluye padding y bordes en el ancho total */
}

#currentTrackTitle {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
}

#seekBarContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
    width: 100%;
}

#seekBar {
    flex: 1;
    /* -webkit-appearance: none; */
    height: 6px;
    background: #ccc;
    border-radius: 3px;
    outline: none;
}

#seekBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
}


#playerControls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.audio-player {
    text-align: center;
    margin-bottom: 20px;
}

.audio-player #mainAudioPlayer {
    width: 100%;
    margin-bottom: 10px;
}

.audio-player #currentTrackTitle {
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
}

.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px; /* Altura máxima con scroll */
    overflow-y: auto;
    /* flex: 1; */
    transition: max-height 0.3s ease;
}

.playlist.collapsed {
    max-height: 500px; /* Mantener altura inicial */
}


.playlist.expanded {
    max-height: none; /* Mostrar todos los elementos */
}
#showMoreButton:hover {
    background-color: #c6c7c6;
}
#showMoreButton {
    background-color: #dde1dd;
    color: #131313;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#showMoreButton i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

#showMoreButton i.rotated {
    transform: rotate(180deg); /* Rotar hacia arriba */
}


#controls {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.podcast-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.podcast-item:hover {
    background: #f5f5f5;
}

.podcast-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-right: 15px;
    object-fit: cover;
}

.podcast-info {
    flex-grow: 1;
}

.podcast-info h4 {
    margin: 0;
    font-size: 1em;
    color: #333;
    /* text-align: left; */
}

.podcast-info p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.podcast-duration {
    font-size: 0.8em;
    color: #999;
}

.custom-audio-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

input[type="range"] {
    width: 100px;
}

button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

button:focus {
    outline: none;
}


button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

button:focus {
    outline: none;
}

#currentTime, #duration {
    font-size: 14px;
    width: 40px;
    text-align: center;
}

#muteButton {
    font-size: 16px;
    cursor: pointer;
}
#volumeControl {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

#volumeSlider {
    width: 100px; /* Ancho ajustable */
    /* -webkit-appearance: none; */
    height: 6px;
    background: #ccc;
    border-radius: 3px;
    outline: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
}
