.icono-compartir {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 22px;
    color: #09f684;
}
.icono-compartir:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.icono-compartir .tooltip-text {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    right: 0;
    transform: translateX(0%);
    background-color: #333;
    color: #fff;
    padding: 4px 12px;
    font-size: 13px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 99;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.15);
}
.icono-compartir .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
body.popup-abierto {
    overflow: hidden;
}
#popup-overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 43, 80, 0.8);
    z-index: 10000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#popup-overlay.activo {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
#popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    min-width: 300px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#popup-overlay.activo #popup-content {
    opacity: 1;
}
.popup-boton-red {
    width: 36px;
    height: 36px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin: 2px;
    font-size: 18px;
    padding: 0;
    line-height: 1;
}
.popup-boton-red i {
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}
.popup-btn-whatsapp {
    background-color: #25D366;
}
.popup-btn-whatsapp:hover {
    background-color: #1da851;
}
.popup-btn-facebook {
    background-color: #3b5998;
}
.popup-btn-facebook:hover {
    background-color: #334d84;
}
.popup-btn-x {
    background-color: #1da1f2;
}
.popup-btn-x:hover {
    background-color: #198fd8;
}
.popup-btn-telegram {
    background-color: #0088cc;
}
.popup-btn-telegram:hover {
    background-color: #0074b3;
}
.popup-btn-copy {
    background-color: #666;
}
.popup-btn-copy:hover {
    background-color: #444;
}
.toast-copiado {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #09f684;
    color: #000;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 99999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.toast-copiado.mostrar {
    opacity: 1;
}
.cerrar-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    padding: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    display: block;
}
.cerrar-popup:hover {
    color: #000;
    background: none;
}
#popup-content h3,
#popup-content p {
    margin: 0;
}
#popup-content h3 {
    font-size: 22px;
    font-weight: 500;
}