.mobile_stickers{display: none; }
.desktop_only{display: block; }
.share-btn{
    position: relative;
    border: none;
    background: #fff;
    color: #ff7d7d;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 30px;
    padding-top: 2.5px;
    padding-right: 3px;
    cursor: pointer;
    z-index: 2;
}

.share-options{
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: auto;
    height: auto;
    transform-origin: bottom left;
    transform: scale(0);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: rgba(15, 15, 15, 0.5);
    color: #fff;
    padding: 20px;
    font-family: 'roboto';
    transition: .5s;
    transition-delay: .5s;;
}

.share-options.active{
    transform: scale(1);
    transition-delay: 0s;
}

.title{
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    font-size: 20px;
    text-transform: capitalize;
    border-bottom: 1px solid #fff;
    width: fit-content;
    padding: 0 20px 3px 0;
}

.social-media{
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0;
}

.social-media-btn{
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    line-height: 50px;
    font-size: 25px;
    cursor: pointer;
    margin: 0 5px;
    text-align: center;
}

.social-media-btn:nth-child(1){
    background: #FFA654;
}

.social-media-btn:nth-child(2){
    background: #25D366;
}

.social-media-btn:nth-child(3){
    background: #E4405F;
}

.social-media-btn:nth-child(4){
    background: #1DA1F2;
}

.social-media-btn:nth-child(5){
    background: #1877F2;
}

.social-media-btn:nth-child(6){
    background: #0A66C2;
}

.link-container{
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    width: 100%;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 40px;
    background-color: #fff;
    overflow: hidden;
    padding: 0 10px;
}

.link{
    width: 80%;
    height: 100%;
    line-height: 40px;
    color: #000;
}

.copy-btn{
    position: absolute;
    right: 0;
    cursor: pointer;
    background: #000;
    color: #fff;
    border: none;
    height: 100%;
    width: 30%;
    text-transform: capitalize;
    font-size: 16px;
}

.share-options.active .title,
.share-options.active .social-media,
.share-options.active .link-container{
    opacity: 1;
    transition: .5s;
    transition-delay: .5s;
}.share-btn{
    position: relative;
    border: none;
    background: #fff;
    color: #ff7d7d;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 30px;
    padding-top: 2.5px;
    padding-right: 3px;
    cursor: pointer;
    z-index: 2;
}

.share-options{
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: auto;
    height: auto;
    transform-origin: bottom left;
    transform: scale(0);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: rgba(15, 15, 15, 0.5);
    color: #fff;
    padding: 20px;
    font-family: 'roboto';
    transition: .5s;
    transition-delay: .5s;;
}

.share-options.active{
    transform: scale(1);
    transition-delay: 0s;
}

.title{
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    font-size: 20px;
    text-transform: capitalize;
    border-bottom: 1px solid #fff;
    width: fit-content;
    padding: 0 20px 3px 0;
}

.social-media{
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0;
}

.social-media-btn{
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    line-height: 50px;
    font-size: 25px;
    cursor: pointer;
    margin: 0 5px;
    text-align: center;
}

.social-media-btn:nth-child(1){
    background: #FFA654;
}

.social-media-btn:nth-child(2){
    background: #25D366;
}

.social-media-btn:nth-child(3){
    background: #E4405F;
}

.social-media-btn:nth-child(4){
    background: #1DA1F2;
}

.social-media-btn:nth-child(5){
    background: #1877F2;
}

.social-media-btn:nth-child(6){
    background: #0A66C2;
}

.link-container{
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    width: 100%;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 40px;
    background-color: #fff;
    overflow: hidden;
    padding: 0 10px;
}

.link{
    width: 80%;
    height: 100%;
    line-height: 40px;
    color: #000;
}

.copy-btn{
    position: absolute;
    right: 0;
    cursor: pointer;
    background: #000;
    color: #fff;
    border: none;
    height: 100%;
    width: 30%;
    text-transform: capitalize;
    font-size: 16px;
}

.share-options.active .title,
.share-options.active .social-media,
.share-options.active .link-container{
    opacity: 1;
    transition: .5s;
    transition-delay: .5s;
}
/* ====== Fila contenedora: en una sola línea y con wrap si no cabe ====== */
/* ====== Fila contenedora: en una sola línea y con wrap si no cabe ====== */
@media (max-width: 768px) {
  /* Línea única con iconos y bullets */
  .pgm-social-dots {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    padding: 0 12px;
    gap: 10px;
  }

  .group-left,
  .group-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
  }

  /* Bullets centrados */
  .pgm-dots {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .pgm-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: background .2s, transform .2s;
  }
  .pgm-dots span.active {
    background: #111;
    transform: scale(1.2);
  }

  /* Icono + número en línea (normalizados) */
  .stickerSize {
    display: inline-flex;      /* baseline uniforme */
    align-items: center;       /* centrado vertical icono + número */
    min-height: 44px;          /* misma altura que el botón */
    gap: 8px;                  /* aire para el número */
  }

  /* === Botón circular por defecto (círculo gris) === */
  .stickerSize a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;              /* tap target recomendado */
    height: 44px;
    border-radius: 50%;
    background: #f2f2f2;      /* círculo gris por defecto */
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 1px rgba(0,0,0,.06) inset;
    text-decoration: none;
    transition: background .12s ease, transform .12s ease, box-shadow .12s ease;
  }
  .stickerSize a:hover { background: #ededed; }
  .stickerSize a:active {
    background: #e5e5e5; 
    transform: scale(0.98);
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }
  .stickerSize a:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
  }

  .stickerSize i {
    font-size: 20px;
    line-height: 1;
    color: #111;   /* iconos en negro */
    display: block;           /* evita saltitos por inline baseline */
  }
  
  .pgm-social-dots .stickerSize a.liked i.fa-heart { color:#e02424 !important; }

  /* Números: misma “caja” que el botón, centrados */
  .stickerSize span {
    display: flex;
    align-items: center;      /* centra verticalmente */
    height: 44px;             /* igual que el botón */
    line-height: 1;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111 !important;   /* números en negro */
  }

  /* Anula colores heredados por nth-child */
  .group-left .stickerSize:nth-child(n) i,
  .group-right .stickerSize:nth-child(n) i { color: #111 !important; }

  /* Ajuste específico por si el AJAX del share inyecta estilos raros */
  #share_count {
    display: flex !important;
    align-items: center !important;
    height: 44px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* (Opcional) micro-ajuste si algún dispositivo baja 0.5px el contador de compartir */
  /* #share_count { transform: translateY(-0.5px); } */

  /* (Opcional) icono “liked” en rojo cuando proceda */
  .stickerSize.liked i { color: #e02424 !important; }
}

/* Accesibilidad: menos animación si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .stickerSize a { transition: none; }
  .pgm-dots span { transition: none; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
