/* Conector Social WP — Estilos publicos */
.cswp-social-list {
  --cswp-custom-color: #2271b1;
  --cswp-gap: 12px;
  --cswp-btn-size: 44px;
  --cswp-svg-size: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cswp-gap);
  margin: 0;
  padding: 0;
}

.cswp-align-left { justify-content: flex-start; }
.cswp-align-center { justify-content: center; }
.cswp-align-right { justify-content: flex-end; }

/* Tamaños */
.cswp-size-sm { --cswp-btn-size: 36px; --cswp-svg-size: 16px; }
.cswp-size-md { --cswp-btn-size: 44px; --cswp-svg-size: 20px; }
.cswp-size-lg { --cswp-btn-size: 52px; --cswp-svg-size: 24px; }

.cswp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: var(--cswp-btn-size);
  height: var(--cswp-btn-size);
  padding: 0;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 180ms ease,
              box-shadow 180ms ease;
}

.cswp-with-labels .cswp-btn {
  padding: 0 16px;
}

.cswp-btn:focus-visible {
  outline: 2px solid #2271b1;
  outline-offset: 2px;
}

.cswp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cswp-svg {
  width: var(--cswp-svg-size);
  height: var(--cswp-svg-size);
  display: block;
}

/* Formas */
.cswp-shape-circle .cswp-btn { border-radius: 9999px; }
.cswp-shape-rounded .cswp-btn { border-radius: 10px; }
.cswp-shape-square .cswp-btn { border-radius: 2px; }
.cswp-shape-minimal .cswp-btn {
  border-radius: 6px;
  background: transparent !important;
  border-color: transparent !important;
}

/* Colores oficiales de marca */
.cswp-style-brand .cswp-btn { color: #ffffff; }
.cswp-style-brand .cswp-net-facebook { background: #1877f2; }
.cswp-style-brand .cswp-net-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.cswp-style-brand .cswp-net-tiktok { background: #010101; }
.cswp-style-brand .cswp-net-x { background: #000000; }

/* Solo icono con color de marca */
.cswp-style-brand.cswp-shape-minimal .cswp-net-facebook { color: #1877f2; }
.cswp-style-brand.cswp-shape-minimal .cswp-net-instagram { color: #e1306c; }
.cswp-style-brand.cswp-shape-minimal .cswp-net-tiktok { color: #010101; }
.cswp-style-brand.cswp-shape-minimal .cswp-net-x { color: #000000; }

/* Monocromo oscuro */
.cswp-style-dark .cswp-btn {
  background: #0f172a;
  color: #ffffff;
}
.cswp-style-dark.cswp-shape-minimal .cswp-btn { color: #0f172a; }

/* Monocromo claro */
.cswp-style-light .cswp-btn {
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
}
.cswp-style-light.cswp-shape-minimal .cswp-btn { color: #ffffff; }

/* Contorno */
.cswp-style-outline .cswp-btn {
  background: transparent;
  border-color: currentColor;
}
.cswp-style-outline .cswp-net-facebook { color: #1877f2; }
.cswp-style-outline .cswp-net-instagram { color: #e1306c; }
.cswp-style-outline .cswp-net-tiktok { color: #010101; }
.cswp-style-outline .cswp-net-x { color: #000000; }

/* Personalizado */
.cswp-style-custom .cswp-btn {
  background: var(--cswp-custom-color);
  color: #ffffff;
}
.cswp-style-custom.cswp-shape-minimal .cswp-btn { color: var(--cswp-custom-color); }

/* Efectos hover */
.cswp-hover-lift .cswp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}
.cswp-hover-scale .cswp-btn:hover {
  transform: scale(1.08);
}

/* Barra flotante */
.cswp-floating {
  position: fixed;
  z-index: 9990;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

.cswp-floating-right {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  border-radius: 14px;
}

.cswp-floating-left {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  border-radius: 14px;
}

.cswp-floating-bottom {
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
  border-radius: 9999px;
}

@media (max-width: 768px) {
  .cswp-floating-right,
  .cswp-floating-left {
    top: auto;
    bottom: 12px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
    border-radius: 9999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cswp-btn {
    transition: none;
  }
  .cswp-hover-lift .cswp-btn:hover,
  .cswp-hover-scale .cswp-btn:hover {
    transform: none;
  }
}
