/* VC.ru-style article footer: reactions + stats */
.article-vc-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}

.vc-footer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.vc-footer-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.vc-footer-total {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

/* Distribution bar (like VC popular reactions strip) */
.vc-react-bar {
  margin-bottom: 0.85rem;
}

.vc-react-bar-track {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
}

.vc-react-bar--empty .vc-react-bar-track {
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 100%);
}

.vc-react-bar-seg {
  display: block;
  height: 100%;
  min-width: 2px;
  transition: width 0.35s ease;
}

/* Reaction pills */
.vc-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.vc-react-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
  font: inherit;
  line-height: 1;
}

.vc-react-btn:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.vc-react-btn.is-active {
  border-color: #0e7490;
  background: linear-gradient(180deg, #ecfeff 0%, #f0fdfa 100%);
  box-shadow: 0 0 0 2px rgba(14, 116, 144, 0.12);
}

.vc-react-btn.has-count:not(.is-active) {
  background: #f8fafc;
}

.vc-react-emoji {
  font-size: 1.25rem;
  line-height: 1;
}

.vc-react-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
  min-width: 1ch;
}

.vc-react-btn.is-active .vc-react-num {
  color: #0e7490;
}

/* Stats row */
.vc-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: #64748b;
}

.vc-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.vc-stat svg {
  flex-shrink: 0;
  opacity: 0.65;
}

.vc-stat-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

.vc-stat-muted {
  color: #94a3b8;
  font-weight: 500;
}

.vc-stat-dot {
  color: #cbd5e1;
  user-select: none;
}

.vc-stat-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s;
}

.vc-stat-link:hover {
  color: #0e7490;
}

/* Bottom actions */
.vc-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.25rem;
}

.vc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s;
}

.vc-action-btn:hover {
  border-color: #0e7490;
  color: #0e7490;
}

.vc-action-btn.is-active,
.vc-action-btn.active {
  background: #ecfeff;
  border-color: #0e7490;
  color: #0e7490;
}

.vc-action-ico {
  font-size: 1rem;
  line-height: 1;
}

.vc-action-count {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.vc-action-btn.is-active .vc-action-count,
.vc-action-btn.active .vc-action-count {
  background: #cffafe;
  color: #0e7490;
}

@media (max-width: 640px) {
  .article-vc-footer {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }
  .vc-reactions {
    gap: 0.4rem;
  }
  .vc-react-btn {
    min-height: 36px;
    padding: 0.35rem 0.7rem;
  }
  .vc-react-emoji {
    font-size: 1.1rem;
  }
  .vc-stats {
    font-size: 0.78rem;
  }
  .vc-footer-actions {
    flex-direction: column;
  }
  .vc-action-btn {
    justify-content: center;
    width: 100%;
  }
  .ozon-product-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1rem;
  }
  .ozon-product-card img {
    width: 64px;
    height: 64px;
  }
}

/* Legacy class aliases */
.article-engagement { display: none; }
.emoji-react-btn { display: none; }

.ozon-product-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.ozon-product-card:hover {
  border-color: #005bff;
  box-shadow: 0 8px 24px rgba(0, 91, 255, 0.08);
}

.ozon-product-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #fff;
}

.ozon-product-card-body {
  flex: 1;
  min-width: 0;
}

.ozon-product-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.ozon-product-card-meta {
  font-size: 0.8rem;
  color: #64748b;
}

.ozon-product-card-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #005bff;
  white-space: nowrap;
}
