/**
 * P12 — Botón compartir producto (todos los dispositivos)
 * Cargado solo en página de producto vía product-cover.tpl
 * No afecta a otros botones, no toca Swiper/EasyZoom/modal/galería
 */

.product-share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    background-color: #e49d2b;
    color: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.product-share-btn i {
    color: #fff;
    pointer-events: none;
}

.product-share-btn:hover {
    background-color: rgba(65, 166, 162, 0.9);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}

.product-share-btn:active {
    transform: scale(0.95);
}

.product-share-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(65, 166, 162, 0.5);
}

/* Estado copiado — feedback visual tras fallback a clipboard */
.product-share-btn--copied {
    background-color: #41a6a2;
}

.product-share-btn--copied::after {
    content: " \2713";
    font-size: 14px;
    color: #fff;
}
