/* ════════════════════════════════════════════════════════════════
   Sigma Code — Share button styles (2026-04-30)
   ════════════════════════════════════════════════════════════════
   Visually consistent across blog, product, and lookbook surfaces.
   Each button is a square icon-only chip in navy outline; on hover
   it fills with the platform's brand colour. The "Copy link" button
   gets a special success state (green check) when clicked.
═══════════════════════════════════════════════════════════════════ */

.sc-share-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
  font-family: 'Lato', sans-serif;
}

/* "Share" eyebrow label above the icon row. */
.sc-share-bar .sc-share-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(13, 32, 71, 0.55);
}

/* On dark surfaces (e.g. lookbook info column), invert the label. */
.sc-share-bar.sc-share-on-dark .sc-share-label {
  color: rgba(255, 255, 255, 0.55);
}

/* The horizontal row of channel buttons */
.sc-share-bar .sc-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sc-share-btn {
  --sc-share-brand: var(--golden, #C9A84C);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(13, 32, 71, 0.18);
  background: transparent;
  color: var(--navy, #0D2047);
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  padding: 0;
  flex-shrink: 0;
}

.sc-share-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.sc-share-btn:hover,
.sc-share-btn:focus-visible {
  background: var(--sc-share-brand);
  color: #fff;
  border-color: var(--sc-share-brand);
  transform: translateY(-1px);
  outline: none;
}

.sc-share-btn:active {
  transform: translateY(0);
}

/* Copy-link "copied" success state — green check that holds for 1.8s. */
.sc-share-btn[data-copied="1"] {
  background: #2e7d4f;
  border-color: #2e7d4f;
  color: #fff;
}

/* Native share button — slightly emphasized since it's the easiest
   path on mobile. Filled by default with the brand golden. */
.sc-share-btn.sc-share-native {
  background: var(--golden, #C9A84C);
  color: #fff;
  border-color: var(--golden, #C9A84C);
}
.sc-share-btn.sc-share-native:hover {
  background: var(--navy, #0D2047);
  border-color: var(--navy, #0D2047);
}

/* On dark backgrounds (lookbook info col, dark blog hero), flip the
   default outline to white. Brand colours on hover stay the same. */
.sc-share-bar.sc-share-on-dark .sc-share-btn {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.85);
}
.sc-share-bar.sc-share-on-dark .sc-share-btn:hover,
.sc-share-bar.sc-share-on-dark .sc-share-btn:focus-visible {
  color: #fff;
}

/* Compact variant for tight spaces (e.g. lookbook info column where
   vertical real-estate competes with the product list + price block). */
.sc-share-bar.sc-share-compact {
  margin: 14px 0;
  gap: 6px;
}
.sc-share-bar.sc-share-compact .sc-share-btn {
  width: 30px;
  height: 30px;
}
.sc-share-bar.sc-share-compact .sc-share-btn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 600px) {
  .sc-share-btn {
    width: 38px;
    height: 38px;
  }
  .sc-share-btn svg {
    width: 17px;
    height: 17px;
  }
}
